diff options
| author | Thomas Zimmermann <[email protected]> | 2020-09-22 14:46:55 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2020-09-24 10:30:56 +0000 |
| commit | 8e3784dfef8a03143b13e7e4011f276a954f1bc6 (patch) | |
| tree | 44335d8b99bc5d143b3e143d65db94138baaf6ef /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/ttm: remove persistent_swap_storage (diff) | |
| download | kernel-8e3784dfef8a03143b13e7e4011f276a954f1bc6.tar.gz kernel-8e3784dfef8a03143b13e7e4011f276a954f1bc6.zip | |
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 <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Fixes: 2f0ddd89fe32 ("drm/ast: Enable CRTC before planes")
Cc: Thomas Zimmermann <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
