summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vega10_ih.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-03-11 14:16:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:36:57 -0500
commit46846ba265583199ad84bcf6ec06443b098510ac (patch)
tree603074c7ec09556b80a850962dde2ccaa0573ba2 /drivers/gpu/drm/amd/amdgpu/vega10_ih.c
parent95b1346872f80c0645e0a60b30a4e9dd37e66d0f (diff)
downloadlinux-46846ba265583199ad84bcf6ec06443b098510ac.tar.gz
linux-46846ba265583199ad84bcf6ec06443b098510ac.tar.bz2
linux-46846ba265583199ad84bcf6ec06443b098510ac.zip
drm/amdgpu: Only clear dumb buffers if ring is enabled
The buffers should be cleared when possible but we also don't want buffer creation to fail in the rare case where the ring isn't ready during the call. This could happen during some suspend/resume sequences. Cc: Christian König <ckoenig.leichtzumerken@gmail.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vega10_ih.c')
0 files changed, 0 insertions, 0 deletions