diff options
| author | Gurchetan Singh <[email protected]> | 2020-02-27 00:25:55 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2020-02-27 10:31:34 +0000 |
| commit | 18b39fb975b79d6526449ca7c8ab504bc92e2825 (patch) | |
| tree | 8c03dd9b429ab6093e4500f8d456dbaf521da3f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/virtio: make mmap callback consistent with callbacks (diff) | |
| download | kernel-18b39fb975b79d6526449ca7c8ab504bc92e2825.tar.gz kernel-18b39fb975b79d6526449ca7c8ab504bc92e2825.zip | |
drm/virtio: add virtio_gpu_is_shmem helper
The plan is use have both shmem and virtual "vram" running
side-by-side in virtio-gpu. It looks like we'll eventually use
struct drm_gem_object as a base class, and we'll need to convert
to shmem and vram objects on the fly. As a first step, add a
virtio_gpu_is_shmem helper. Thanks to kraxel for suggesting this
approach on Gitlab.
Suggested-by: Gerd Hoffman <[email protected]>
Signed-off-by: Gurchetan Singh <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
