aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2020-09-10 07:50:06 +0000
committerAlex Deucher <[email protected]>2020-09-15 21:52:39 +0000
commit2b3bbf23549f186520005cecc6795327eeb29a35 (patch)
treebc14bdfbdd0b0431d19bbda4201c450adbd6c296 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amdgpu: add ta DTM/HDCP print in amdgpu_firmware_info for apu (diff)
downloadkernel-2b3bbf23549f186520005cecc6795327eeb29a35.tar.gz
kernel-2b3bbf23549f186520005cecc6795327eeb29a35.zip
drm/amdkfd: Fix -Wunused-const-variable warning
If KFD_SUPPORT_IOMMU_V2 is not set, gcc warns: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:121:37: warning: ‘raven_device_info’ defined but not used [-Wunused-const-variable=] static const struct kfd_device_info raven_device_info = { ^~~~~~~~~~~~~~~~~ As Huang Rui suggested, Raven already has the fallback path, so it should be out of IOMMU v2 flag. Suggested-by: Huang Rui <[email protected]> Signed-off-by: YueHaibing <[email protected]> Acked-by: Huang Rui <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions