linux-uconsole/drivers/gpu/drm/msm
Jeffrey Hugo c256729f26 drm: msm: Fix add_gpu_components
[ Upstream commit 9ca7ad6c77 ]

add_gpu_components() adds found GPU nodes from the DT to the match list,
regardless of the status of the nodes.  This is a problem, because if the
nodes are disabled, they should not be on the match list because they will
not be matched.  This prevents display from initing if a GPU node is
defined, but it's status is disabled.

Fix this by checking the node's status before adding it to the match list.

Fixes: dc3ea265b8 (drm/msm: Drop the gpu binding)
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626180015.45242-1-jeffrey.l.hugo@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-25 10:47:57 +02:00
..
adreno drm/msm: a5xx: fix possible object reference leak 2019-05-31 06:46:19 -07:00
disp drm/msm: fix fb references in async update 2019-06-11 12:20:54 +02: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
msm_drv.c drm: msm: Fix add_gpu_components 2019-08-25 10:47:57 +02: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
msm_gem_shrinker.c
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
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