drm/amd/display: Fix Dali clk mgr construct
authorMichael Strauss <michael.strauss@amd.com>
Mon, 4 Nov 2019 18:39:20 +0000 (13:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:26:54 +0000 (16:26 -0500)
commit10f51857b753af25cc048d8c5791433ee94f9164
treeb0795912d0bd186fcf35b37c1db1868b402f8787
parentf42ea55be1114768e36c4e8dff4400ca811309cf
drm/amd/display: Fix Dali clk mgr construct

[WHY]
Dali is currently being misinterpreted as Renoir,
as a result uses wrong clk mgr constructor

[HOW]
Add check to init Dali as Raven2 before it can be misidentified
Clean up & fix Raven2 & Dali ASIC checks
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
drivers/gpu/drm/amd/display/include/dal_asic_id.h