Re:Re: [PATCH v7] rockchip/drm: vop2: add support for gamma LUT

From: Piotr Zalewski
Date: Thu Dec 05 2024 - 13:58:55 EST


On Thursday, December 5th, 2024 at 1:53 PM, Andy Yan <andyshrk@xxxxxxx> wrote:


> I guess it returned because crtc_state->color_mgmt_changed is false when called from
>
> vop2_crtc_atomic_enable from s2r.
>

Hi Heiko and Andy,

Yes that was it. Moving the check out of *try_set_gamma
and checking it only in the atomic_flush fixed the issue.

Thanks Andy for pointing that out.

Regards, Piotr Zalewski