Skip to content

Commit 21a6732

Browse files
drm/amdgpu: don't skip runtime pm get on A+A config
The runtime PM get was incorrectly added after the check. Signed-off-by: Christian König <[email protected]> Acked-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ae710a4 commit 21a6732

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf,
6161
if (pci_p2pdma_distance_many(adev->pdev, &attach->dev, 1, true) < 0)
6262
attach->peer2peer = false;
6363

64-
if (attach->dev->driver == adev->dev->driver)
65-
return 0;
66-
6764
r = pm_runtime_get_sync(adev_to_drm(adev)->dev);
6865
if (r < 0)
6966
goto out;

0 commit comments

Comments
 (0)