[PATCH 0/3] drm/msm: support for host-cached BOs

From: Jonathan Marek
Date: Wed Sep 30 2020 - 20:28:50 EST


This is to support cached and cached-coherent memory types in vulkan.

I made a corresponding WIP merge request [1] which shows usage of this.

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6949

Jonathan Marek (3):
drm/msm: add MSM_BO_CACHED_COHERENT
drm/msm: add DRM_MSM_GEM_SYNC_CACHE for non-coherent cache maintenance
drm/msm: bump up the uapi version

drivers/gpu/drm/msm/adreno/adreno_device.c | 1 +
drivers/gpu/drm/msm/msm_drv.c | 24 ++++++++++++++++++++-
drivers/gpu/drm/msm/msm_drv.h | 3 +++
drivers/gpu/drm/msm/msm_gem.c | 23 ++++++++++++++++++++
include/uapi/drm/msm_drm.h | 25 +++++++++++++++++++---
5 files changed, 72 insertions(+), 4 deletions(-)

--
2.26.1