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

Piotr Zalewski
2024-12-05T18:59:59Z

On Thursday, December 5th, 2024 at 1:53 PM, Andy Yan <andyshrk@163.com> 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