summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/msm_drm.h
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2021-04-23 21:08:21 +0200
committerRob Clark <robdclark@chromium.org>2021-06-23 16:32:14 +0200
commit9ef364432db4a11ff2dbee398d7ed06e93bdfe5e (patch)
treef60efa08b56feb018541d1f4850c05a5678fc9fb /include/uapi/drm/msm_drm.h
parentdrm/msm: add MSM_BO_CACHED_COHERENT (diff)
downloadlinux-9ef364432db4a11ff2dbee398d7ed06e93bdfe5e.tar.xz
linux-9ef364432db4a11ff2dbee398d7ed06e93bdfe5e.zip
drm/msm: deprecate MSM_BO_UNCACHED (map as writecombine instead)
There shouldn't be any reason to ever use uncached over writecombine, so just use writecombine for MSM_BO_UNCACHED. Note: userspace never used MSM_BO_UNCACHED anyway Signed-off-by: Jonathan Marek <jonathan@marek.ca> Acked-by: Jordan Crouse <jordan@cosmicpenguin.net> Link: https://lore.kernel.org/r/20210423190833.25319-6-jonathan@marek.ca Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to '')
-rw-r--r--include/uapi/drm/msm_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index a92d90a6d96f..f075851021c3 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -94,7 +94,7 @@ struct drm_msm_param {
/* cache modes */
#define MSM_BO_CACHED 0x00010000
#define MSM_BO_WC 0x00020000
-#define MSM_BO_UNCACHED 0x00040000
+#define MSM_BO_UNCACHED 0x00040000 /* deprecated, use MSM_BO_WC */
#define MSM_BO_CACHED_COHERENT 0x080000
#define MSM_BO_FLAGS (MSM_BO_SCANOUT | \