]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit476a12c65f17eb384a03081f3d15edaaa330b5a0
tree1e360080afbb6136ae09cd741e4f2c4984090034
parentf99d6e7654a5c343254676d947804b435988af1a
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