OSDN Git Service

drm/amd/display: Call hwss.set_cursor_sdr_white_level, if available
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Mon, 25 Mar 2019 18:04:30 +0000 (14:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:53:28 +0000 (13:53 -0500)
commit86eb426a0f30ef538109a7b44f86051586390125
tree27bfde984be10ad65cc849ee27d8174ed0595783
parent004fefa385b42740a1773381bbf4795ec6b168f5
drm/amd/display: Call hwss.set_cursor_sdr_white_level, if available

[Why]
In HDR configurations, the cursor - in SDR - needs to have it's white
level boosted.

[How]
Program the cursor boost in update_dchubp_dpp like the other cursor
attributes.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Reza Amini <Reza.Amini@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c