History

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

Jonathan Marek committed 5 years ago

Commit 9ef36441 parent d12e3392 files · +2 −4Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/msm_drm.h+1−1
@@ -94,7 +94,7 @@ struct drm_msm_param { · 93 unmodified lines
94/* cache modes */94/* cache modes */
95#define MSM_BO_CACHED 0x0001000095#define MSM_BO_CACHED 0x00010000
96#define MSM_BO_WC 0x0002000096#define MSM_BO_WC 0x00020000
97#define MSM_BO_UNCACHED 0x0004000097#define MSM_BO_UNCACHED 0x00040000 /* deprecated, use MSM_BO_WC */
98#define MSM_BO_CACHED_COHERENT 0x08000098#define MSM_BO_CACHED_COHERENT 0x080000
99 99
100#define MSM_BO_FLAGS (MSM_BO_SCANOUT | \100#define MSM_BO_FLAGS (MSM_BO_SCANOUT | \