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
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -94,7 +94,7 @@ struct drm_msm_param { · 93 unmodified lines | |||
| 94 | /* cache modes */ | 94 | /* cache modes */ |
| 95 | #define MSM_BO_CACHED 0x00010000 | 95 | #define MSM_BO_CACHED 0x00010000 |
| 96 | #define MSM_BO_WC 0x00020000 | 96 | #define MSM_BO_WC 0x00020000 |
| 97 | #define MSM_BO_UNCACHED 0x00040000 | 97 | #define MSM_BO_UNCACHED 0x00040000 /* deprecated, use MSM_BO_WC */ |
| 98 | #define MSM_BO_CACHED_COHERENT 0x080000 | 98 | #define MSM_BO_CACHED_COHERENT 0x080000 |
| 99 | 99 | ||
| 100 | #define MSM_BO_FLAGS (MSM_BO_SCANOUT | \ | 100 | #define MSM_BO_FLAGS (MSM_BO_SCANOUT | \ |