diff options
author | Dave Airlie <airlied@redhat.com> | 2020-03-05 22:40:12 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-03-06 02:17:47 +0300 |
commit | 26398db1f49a63f93b789d43b3bc292242ff73d4 (patch) | |
tree | beaf44875f0cc171bba5764f6b6fe202d270fd4b /include | |
parent | 70b8ea1ab1d3ff3ad5c7491bf8995c912506da6c (diff) | |
parent | 1b79cfd99ff5127e6a143767b51694a527b3ea38 (diff) | |
download | linux-26398db1f49a63f93b789d43b3bc292242ff73d4.tar.xz |
Merge tag 'drm-misc-fixes-2020-03-05' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Fixes for v5.6.rc5:
- dma-buf fix memory leak
- Fix resource id creation race in virtio.
- Various mmap fixes.
- Fix fence leak in ttm_buffer_object_transfer().
- Fixes for sun4i VI layer format support.
- kirin: Revert "Fix for hikey620 display offset problem"
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/56de63c7-0cdf-5805-e268-44944af7fef2@linux.intel.com
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_gem_shmem_helper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_gem_shmem_helper.h b/include/drm/drm_gem_shmem_helper.h index e34a7b7f848a..294b2931c4cc 100644 --- a/include/drm/drm_gem_shmem_helper.h +++ b/include/drm/drm_gem_shmem_helper.h @@ -96,6 +96,11 @@ struct drm_gem_shmem_object { * The address are un-mapped when the count reaches zero. */ unsigned int vmap_use_count; + + /** + * @map_cached: map object cached (instead of using writecombine). + */ + bool map_cached; }; #define to_drm_gem_shmem_obj(obj) \ |