linux-stable/drivers/gpu
SivapiriyanKumarasamy 30049754ab 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 <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-09-26 21:09:08 -05:00
..
drm drm/amd/display: fix gamma not being applied 2018-09-26 21:09:08 -05:00
host1x
ipu-v3 drm pull for 4.19-rc1 2018-08-15 17:39:07 -07:00
vga ALSA: hda - Enable runtime PM only for discrete GPU 2018-09-13 17:58:30 +02:00
Makefile