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: 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 <christian.koenig@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211206084551.92502-1-christian.koenig@amd.com

-3
-3
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
··· 61 61 if (pci_p2pdma_distance_many(adev->pdev, &attach->dev, 1, true) < 0) 62 62 attach->peer2peer = false; 63 63 64 - if (attach->dev->driver == adev->dev->driver) 65 - return 0; 66 - 67 64 r = pm_runtime_get_sync(adev_to_drm(adev)->dev); 68 65 if (r < 0) 69 66 goto out;