diff options
| author | Nicholas Kazlauskas <[email protected]> | 2019-03-11 18:16:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-03-19 20:36:57 +0000 |
| commit | 46846ba265583199ad84bcf6ec06443b098510ac (patch) | |
| tree | 603074c7ec09556b80a850962dde2ccaa0573ba2 /drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | |
| parent | drm/amdgpu: Clear VRAM for DRM dumb_create buffers (diff) | |
| download | kernel-46846ba265583199ad84bcf6ec06443b098510ac.tar.gz kernel-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 <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c')
0 files changed, 0 insertions, 0 deletions
