diff options
| author | SivapiriyanKumarasamy <[email protected]> | 2018-09-12 18:15:42 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-09-27 02:09:08 +0000 |
| commit | 30049754ab7c4b6148dd3cd64af7d54850604582 (patch) | |
| tree | 8ebd1297e55711cbe6893a9383f17a6a234a085b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amd/display: Remove mst_hotplug_work (diff) | |
| download | kernel-30049754ab7c4b6148dd3cd64af7d54850604582.tar.gz kernel-30049754ab7c4b6148dd3cd64af7d54850604582.zip | |
drm/amd/display: fix gamma not being applied
[WHY]
Previously night light forced a full update by
applying a transfer function update regardless of if it was changed.
This logic was removed,
Now gamma surface updates are only applied when there is also a plane
info update, this does not work in cases such as using the night light
slider.
[HOW]
When moving the night light slider we will perform a full update if
the gamma has changed and there is a surface, even when the surface
has not changed. Also get stream updates in setgamma prior to
update planes and stream.
Signed-off-by: SivapiriyanKumarasamy <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
