]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: Fix Pollock Variant Detection
authorAly-Tawfik <altawfik@amd.com>
Tue, 25 Feb 2020 20:01:28 +0000 (15:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Mar 2020 17:51:03 +0000 (13:51 -0400)
commit7977ce7e991feadf05d70a739d969c19d678da9a
tree7876f63f4cbb1bba16e2ff65bab7cfba799fc372
parentc5b9fe37f6335c8ecee90bc1707f32fa932f24a2
drm/amdgpu/display: Fix Pollock Variant Detection

Problem Description:
Currently we are checking internal fused rev id with pci rev id. However, fused
internal rev id is the same on all raven2 parts (in which Dali and Pollock were
based on too), thus Pollock detection fails

Fix:
use the pci rev to preform the detection for bandwidth calculations.

Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Aly-Tawfik <altawfik@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/include/dal_asic_id.h