drm/amd/display: Add support for Freesync 2 HDR and Content to Display Mapping
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Tue, 11 Sep 2018 21:48:07 +0000 (17:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:20:43 +0000 (14:20 -0500)
commite1e8a020c6b88931d541ccd44043285ab93324d3
treef18780bc7446ffda27728082da3b746c42cac051
parent4c5e8b54152795581a67bea94dcfe1393a955013
drm/amd/display: Add support for Freesync 2 HDR and Content to Display Mapping

[Why]
Freesync 2 HDR and support for HDR content
outside the range of the HDR display
require implementation on Dal 3 to better match
Dal2.

[How]
Add support for Freesync HDR and mapping
of source content to display ranges for better
representation of HDR content.

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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.h