linux_kernel/drivers/gpu/drm/ast
Thomas Zimmermann 10e26e749f drm/ast: Reload gamma LUT after changing primary plane's color format
The gamma LUT has to be reloaded after changing the primary plane's
color format. This used to be done implicitly by the CRTC atomic_enable()
helper after updating the primary plane. With the recent reordering of
the steps, the primary plane's setup was moved last and invalidated
the gamma LUT. Fix this by setting the LUT from within atomic_flush().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 2f0ddd89fe ("drm/ast: Enable CRTC before planes")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200922144655.23624-1-tzimmermann@suse.de
(cherry-picked from 8e3784dfef8a03143b13e7e4011f276a954f1bc6)
2020-11-25 09:13:20 +01:00
..
ast_cursor.c drm: ast: fix double __iomem sparse warning 2020-08-19 09:14:40 +02:00
ast_dp501.c drm/ast: Managed release of ast firmware 2020-08-03 09:04:37 +02:00
ast_dram_tables.h
ast_drv.c drm/ast: Managed device release 2020-08-03 09:05:00 +02:00
ast_drv.h drm/ast: Disable planes while switching display modes 2020-09-16 13:08:01 +02:00
ast_main.c Linux 5.9-rc4 2020-09-08 14:41:40 +10:00
ast_mm.c drm/ast: Embed struct drm_device in struct ast_private 2020-08-03 09:04:28 +02:00
ast_mode.c drm/ast: Reload gamma LUT after changing primary plane's color format 2020-11-25 09:13:20 +01:00
ast_post.c drm/ast: Embed struct drm_device in struct ast_private 2020-08-03 09:04:28 +02:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Rename ast_ttm.c to ast_mm.c 2020-07-20 09:16:05 +02:00