[Freedreno] [PATCH 2/5] drm/msm: replace MSM_BO_UNCACHED with MSM_BO_WC for internal objects

2021-04-23 Thread Jonathan Marek
msm_gem_get_vaddr() currently always maps as writecombine, so use the right flag instead of relying on broken behavior (things don't actually work if they are mapped as uncached). Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 ++-- drivers/gpu/drm/msm/adreno/a

Re: [Freedreno] [PATCH 2/5] drm/msm: replace MSM_BO_UNCACHED with MSM_BO_WC for internal objects

2021-05-02 Thread Jordan Crouse
On Fri, Apr 23, 2021 at 03:08:18PM -0400, Jonathan Marek wrote: > msm_gem_get_vaddr() currently always maps as writecombine, so use the right > flag instead of relying on broken behavior (things don't actually work if > they are mapped as uncached). Ugh - I can't believe this was stil in there. A