Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: change GPU match with IP version for Vangogh

Use ip versions (10,3,1) to match the GPU after Vangogh switched to use IP
discovery path.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Perry Yuan and committed by
Alex Deucher
20875141 5e0f4c04

+2 -2
+2 -2
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 10263 10263 */ 10264 10264 bool check_seamless_boot_capability(struct amdgpu_device *adev) 10265 10265 { 10266 - switch (adev->asic_type) { 10267 - case CHIP_VANGOGH: 10266 + switch (adev->ip_versions[DCE_HWIP][0]) { 10267 + case IP_VERSION(3, 0, 1): 10268 10268 if (!adev->mman.keep_stolen_vga_memory) 10269 10269 return true; 10270 10270 break;