diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-16 19:56:34 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-04-07 11:05:43 -0700 |
commit | 8424084fbac04e7f45041f0a39b262aad24091d4 (patch) | |
tree | 60e96ea75ba860f410273cff00064ba584717d0a /tools/perf/scripts/python/export-to-postgresql.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 <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210317025634.3987908-1-bjorn.andersson@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions