Star64_linux/drivers/gpu/drm/amd/display/modules
Krunoslav Kovac 8f01591227 drm/amd/display: DGAM enabled for HDR
[Why]
On HW that doesn't have input LUT, we may combine degamma with OS ramp
Problem here is that it assumes DGAM is inverse of PQ or SRGB. It doesn't
handle linear case, it would default to sRGB and always enable DGAM..

[How] Add handling for linear case. Also check for null ramp and instead of
blowing up, assume it's identity.

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@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>
2019-02-05 21:16:23 -05:00
..
color drm/amd/display: DGAM enabled for HDR 2019-02-05 21:16:23 -05:00
freesync drm/amd/display: Add new infopacket definition 2019-01-14 15:42:12 -05:00
inc drm/amd/display: Add new infopacket definition 2019-01-14 15:42:12 -05:00
info_packet drm/amd/display: Info frame cleanup 2018-11-30 12:02:28 -05:00
power drm/amd/display: fix issue with DC brightness low with VB 2019-02-05 21:16:23 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00