summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-12-12 23:43:36 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-12-18 22:09:11 +0100
commit45a80abebce46fa4812eff16e5e7c405099d56ed (patch)
treeb9de5d8cbe29dca1002016c87af3a4fff000e800 /drivers/gpu/drm/lima
parentdrm/amd/powerplay: Add SMU WMTABLE Validity Check for Renoir (diff)
downloadlinux-45a80abebce46fa4812eff16e5e7c405099d56ed.tar.xz
linux-45a80abebce46fa4812eff16e5e7c405099d56ed.zip
drm/amdgpu/pm_runtime: update usage count in fence handling
Increment the usage count in emit fence, and decrement in process fence to make sure the GPU is always considered in use while there are fences outstanding. We always wait for the engines to drain in runtime suspend, but in practice that only covers short lived jobs for gfx. This should cover us for longer lived fences. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/lima')
0 files changed, 0 insertions, 0 deletions