drm/msm: replace MSM_BO_UNCACHED with MSM_BO_WC for internal objects
authorJonathan Marek <jonathan@marek.ca>
Fri, 23 Apr 2021 19:08:18 +0000 (15:08 -0400)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:32:14 +0000 (07:32 -0700)
commita5fc7aa901b6818c67cc7e5cef8201fbaab8fa1b
treef8fd051216336dce321d52d41751c0f0b9fac51e
parent8eaf9b02acb5512db33d15ec039a6be285eaa5e2
drm/msm: replace MSM_BO_UNCACHED with MSM_BO_WC for internal objects

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 <jonathan@marek.ca>
Acked-by: Jordan Crouse <jordan@cosmicpenguin.net>
Link: https://lore.kernel.org/r/20210423190833.25319-3-jonathan@marek.ca
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_power.c
drivers/gpu/drm/msm/adreno/a5xx_preempt.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/dsi/dsi_host.c