]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: don't check color_mgmt_changed in atomic_enable
authorPiotr Zalewski <pZ010001011111@proton.me>
Fri, 6 Dec 2024 19:26:10 +0000 (19:26 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 11 Dec 2024 22:38:03 +0000 (23:38 +0100)
commit9c22b6ece2e5c2308f41ba4bec27cfa158397fa7
treeba44fd809eac30b74615bc5e8eede8cde1fae00b
parent8ddc8dfb8329349d5efb0418c9f20025333e2d98
drm/rockchip: vop2: don't check color_mgmt_changed in atomic_enable

Remove color_mgmt_changed check from vop2_crtc_atomic_try_set_gamma to
allow gamma LUT rewrite during modeset when coming out of suspend. Add
a check for color_mgmt_changed directly in vop2_crtc_atomic_flush.

This patch fixes the patch adding gamma LUT support for vop2 [1].

[1] https://lore.kernel.org/linux-rockchip/20241101185545.559090-3-pZ010001011111@proton.me/

Suggested-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Piotr Zalewski <pZ010001011111@proton.me>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241206192013.342692-3-pZ010001011111@proton.me
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c