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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/gfx12: fix IP version check

Use the helper function rather than reading it directly.

Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
··· 4126 4126 if (amdgpu_sriov_vf(adev)) 4127 4127 return 0; 4128 4128 4129 - switch (adev->ip_versions[GC_HWIP][0]) { 4129 + switch (amdgpu_ip_version(adev, GC_HWIP, 0)) { 4130 4130 case IP_VERSION(12, 0, 0): 4131 4131 case IP_VERSION(12, 0, 1): 4132 4132 gfx_v12_0_update_gfx_clock_gating(adev,