drm/amd/display: correct asic type check V2
authorEvan Quan <evan.quan@amd.com>
Wed, 30 Sep 2020 06:20:38 +0000 (14:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2020 16:01:16 +0000 (12:01 -0400)
commita2475e624e2e80e65f371d44b712c93a144bfad9
tree1e360080afbb6136ae09cd741e4f2c4984090034
parentb1878847ac9001b2025718fe57f994213800b327
drm/amd/display: correct asic type check V2

Check chip family also to avoid wrong identification.

V2: use the correct macro without AMDGPU prefix

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c