OSDN Git Service

drm/amd/display: guard DPPHY_Internal_ctrl
authorCharlene Liu <Charlene.Liu@amd.com>
Tue, 21 Jan 2020 02:32:03 +0000 (21:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commit18952c8e5fa420d077f731a9cacaa351061d8015
treeb1fd5f6110b76941e27dece8048eb29a4fe36aa1
parentc38cc6770fd5f78a0918ed0b01af14de31aba5cb
drm/amd/display: guard DPPHY_Internal_ctrl

[why]
this register not exist in some asic, based on request remove this from
dc.

[how]
add guard for sanization.

Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h