summaryrefslogtreecommitdiff
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-10-09 20:48:38 +0300
committerRob Clark <robdclark@chromium.org>2023-10-09 21:32:38 +0300
commitc53a1aeee40564ccfe11b662390367a0d86a2354 (patch)
tree12ef87414a233ad4c0303b113487ab5a824f88b3 /scripts/genksyms
parenta2ab5d5bb6b1dedef7b6c2711a7a53cbf9f508f4 (diff)
downloadlinux-c53a1aeee40564ccfe11b662390367a0d86a2354.tar.xz
drm/msm/dpu: move resource allocation to the _probe function
To let the probe function bail early if any of the resources is unavailable, move resource allocattion from kms_init directly to the probe callback. While we are at it, replace irq_of_parse_and_map() with platform_get_irq(). This also drops devm_iounmap() calls. It is too early to have them _dpu_kms_hw_destroy() (or it will break if for some reason DPU device is rebound into the composite device) and it doesn't make sense to have them in dpu_dev_remove (as everything will be torn down by the devres anyway after the device is unbound from the driver). Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/561629/ Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions