aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/gpio_interface.h
diff options
context:
space:
mode:
authorKrunoslav Kovac <Krunoslav.Kovac@amd.com>2019-01-17 17:56:51 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-02-05 21:16:23 -0500
commit8f0159122714d38f89140993eb0a070f8eeb2e9d (patch)
treeb1e2637f4754d95680f5c2c87592d6c115378b34 /drivers/gpu/drm/amd/display/include/gpio_interface.h
parenta057ec460ab1f43a85e0fbb9938c2c3460cb7445 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/gpio_interface.h')
0 files changed, 0 insertions, 0 deletions