linux/drivers/gpu/drm/msm
Fabio Estevam 607eda339b drm/msm/a2xx: Call adreno_gpu_init() earlier
[ Upstream commit db07ce5da8 ]

The adreno_is_a20x() and adreno_is_a225() functions rely on the
GPU revision, but such information is retrieved inside adreno_gpu_init(),
which is called afterwards.

Fix this problem by caling adreno_gpu_init() earlier, so that
the GPU information revision is available when adreno_is_a20x()
and adreno_is_a225() run.

Tested on a imx53-qsb board.

Fixes: 21af872cd8 ("drm/msm/adreno: add a2xx")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/543456/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:42 +02:00
..
adreno drm/msm/a2xx: Call adreno_gpu_init() earlier 2023-09-13 09:42:42 +02:00
disp drm/msm/dpu: fix the irq index in dpu_encoder_phys_wb_wait_for_commit_done 2023-09-13 09:42:42 +02:00
dp drm/msm/dp: Free resources after unregistering them 2023-07-19 16:21:31 +02:00
dsi drm/msm/dsi: Remove incorrect references to slice_count 2023-07-19 16:21:31 +02:00
hdmi
Kconfig
Makefile
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c
msm_debugfs.c
msm_debugfs.h
msm_drv.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
msm_drv.h drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_fb.c
msm_fbdev.c drm/aperture: Remove primary argument 2023-08-30 16:10:57 +02:00
msm_fence.c
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c drm/msm: Disallow submit with fence id 0 2023-08-03 10:24:06 +02:00
msm_gem_vma.c
msm_gem.c
msm_gem.h
msm_gpu_devfreq.c
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_gpu.h drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
msm_gpummu.c
msm_io_utils.c
msm_iommu.c drm/msm: Be more shouty if per-process pgtables aren't working 2023-06-09 10:34:16 +02:00
msm_kms.h
msm_mdss.c
msm_mmu.h
msm_perf.c
msm_rd.c
msm_ringbuffer.c
msm_ringbuffer.h drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_submitqueue.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
NOTES