aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-12-04 15:10:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-01-05 11:35:10 -0500
commitb8c415e3bf989be1b749409951debe6b36f5c78c (patch)
tree42eb717235e0b696573c96d905883d89392520ca /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amd/display: Create and Destroy PSR resources for DCN302 (diff)
downloadlinux-rng-b8c415e3bf989be1b749409951debe6b36f5c78c.tar.xz
linux-rng-b8c415e3bf989be1b749409951debe6b36f5c78c.zip
drm/amdgpu: take runtime pm reference when we attach a buffer
And drop it when we detach. If the shared buffer is in vram, we need to make sure we don't put the device into runtime suspend. Acked-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions