]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/adreno: Check for recognized GPU before bind
authorRob Clark <robin.clark@oss.qualcomm.com>
Mon, 9 Jun 2025 18:24:37 +0000 (11:24 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Mon, 9 Jun 2025 23:42:09 +0000 (16:42 -0700)
commit0838fc3e6718743d595bf26e0e69ae55aa51fad1
tree8b7b9f4bd7c053c7c4790ea0eac0bd2196fba8ab
parent1efb73791c828f3d1ac68ebbc5eddc35a562f9d0
drm/msm/adreno: Check for recognized GPU before bind

If we have a newer dtb than kernel, we could end up in a situation where
the GPU device is present in the dtb, but not in the drivers device
table.  We don't want this to prevent the display from probing.  So
check that we recognize the GPU before adding the GPU component.

v2: use %pOF

Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/657701/
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_gpu.h