aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-08-10 12:48:43 +0000
committerBjorn Helgaas <[email protected]>2020-08-17 22:08:21 +0000
commit7c2308f79fc81ba0bf24ccd2429fb483a91bcd51 (patch)
treeb420a25186ab87fa1f8873a4db26f871aba55db1 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentLinux 5.9-rc1 (diff)
downloadkernel-7c2308f79fc81ba0bf24ccd2429fb483a91bcd51.tar.gz
kernel-7c2308f79fc81ba0bf24ccd2429fb483a91bcd51.zip
PCI/P2PDMA: Fix build without DMA ops
My commit to make DMA ops support optional missed the reference in the p2pdma code. And while the build bot didn't manage to find a config where this can happen, Matthew did. Fix this by replacing two IS_ENABLED checks with ifdefs. Fixes: 2f9237d4f6df ("dma-mapping: make support for dma ops optional") Link: https://lore.kernel.org/r/[email protected] Reported-by: Matthew Wilcox <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions