linux-uconsole/drivers/gpu/drm/msm
Douglas Anderson 156a43cc89 drm/msm: Fix A6XX support for opp-level
[ Upstream commit a3c5e2cd79 ]

The bindings for Qualcomm opp levels changed after being Acked but
before landing.  Thus the code in the GPU driver that was relying on
the old bindings is now broken.

Let's change the code to match the new bindings by adjusting the old
string 'qcom,level' to the new string 'opp-level'.  See the patch
("dt-bindings: opp: Introduce opp-level bindings").

NOTE: we will do additional cleanup to totally remove the string from
the code and use the new dev_pm_opp_get_level() but we'll do it in a
future patch.  This will facilitate getting the important code fix in
sooner without having to deal with cross-maintainer dependencies.

This patch needs to land before the patch ("arm64: dts: sdm845: Add
gpu and gmu device nodes") since if a tree contains the device tree
patch but not this one you'll get a crash at bootup.

Fixes: 4b565ca5a2 ("drm/msm: Add A6XX device support")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-05 17:58:51 +01:00
..
adreno drm/msm: Fix A6XX support for opp-level 2019-03-05 17:58:51 +01:00
disp drm/msm: dpu: Only check flush register against pending flushes 2019-02-12 19:47:08 +01:00
dsi drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver 2019-02-12 19:47:08 +01:00
edp drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
hdmi drm/msm/hdmi: Enable HPD after HDMI IRQ is set up 2018-12-21 14:15:18 +01:00
Kconfig drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
Makefile drm/msm: Add A6XX device support 2018-08-10 18:49:18 -04:00
msm_atomic.c drm/msm: Grab a vblank reference when waiting for commit_done 2018-12-21 14:15:15 +01:00
msm_debugfs.c drm/msm/gpu: Fix a couple memory leaks in debugfs 2018-12-21 14:15:14 +01:00
msm_debugfs.h drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_drv.c drm/msm: Add a helper function to parse clock names 2018-08-10 18:49:18 -04:00
msm_drv.h drm/msm: dpu: Allow planes to extend past active display 2018-11-21 09:19:09 +01:00
msm_fb.c drm/msm: Add modifier to mdp_get_format arguments 2018-06-03 16:48:59 -04:00
msm_fbdev.c drm/msm: don't deref error pointer in the msm_fbdev_create error path 2018-06-03 16:49:00 -04:00
msm_fence.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem.c gpu: drm: msm: Change return type to vm_fault_t 2018-08-03 09:53:36 -04:00
msm_gem.h drm/msm: add sudo flag to submit ioctl 2018-02-20 10:41:20 -05:00
msm_gem_prime.c drm/msm: Expose our reservation object when exporting a dmabuf. 2017-05-27 13:48:26 -04:00
msm_gem_shrinker.c drm/msm: Separate locking of buffer resources from struct_mutex 2017-06-17 08:03:07 -04:00
msm_gem_submit.c drm/msm: Move fence put to where failure occurs 2018-12-13 09:16:21 +01:00
msm_gem_vma.c drm/msm: Pass the correct aperture end to drm_mm_init 2018-02-20 10:41:22 -05:00
msm_gpu.c drm/msm: Fix task dump in gpu recovery 2018-12-21 14:15:14 +01:00
msm_gpu.h drm/msm/gpu: fix building without debugfs 2019-02-06 17:30:06 +01:00
msm_iommu.c drm/msm: Fix error return checking 2018-12-21 14:15:19 +01:00
msm_kms.h drm/msm: Add SDM845 DPU support 2018-07-26 10:45:04 -04:00
msm_mmu.h
msm_perf.c drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_rd.c drm/msm: Unblock writer if reader closes file 2019-03-05 17:58:45 +01:00
msm_ringbuffer.c drm/msm: Replace gem_object deprecated functions 2018-02-20 10:41:21 -05:00
msm_ringbuffer.h drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
NOTES