diff options
| author | Bjorn Andersson <[email protected]> | 2021-03-16 19:56:34 -0700 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2021-04-07 11:05:43 -0700 |
| commit | 8424084fbac04e7f45041f0a39b262aad24091d4 (patch) | |
| tree | 60e96ea75ba860f410273cff00064ba584717d0a /scripts/gdb/linux/genpd.py | |
| parent | 0054eeb72ab63fd4007303c57748c79fcd285e7c (diff) | |
drm/msm: Remove need for reiterating the compatibles
After spending a non-negligible time trying to figure out why
dpu_kms_init() would dereference a NULL dpu_kms->pdev, it turns out that
in addition to adding the new compatible to the msm_drv of_match_table
one also need to teach add_display_components() to register the child
nodes - which includes the DPU platform_device.
Replace the open coded test for compatibles with a check against the
match data of the mdss device to save others this trouble in the future.
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions