drm/msm: pass dump state as a function argument
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 27 Apr 2021 00:18:25 +0000 (03:18 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:32:14 +0000 (07:32 -0700)
commiteb9d6c7ebe44df4bf077e71de809bb7b216da38c
tree6c3365ef243f0365cebaa894653254072132a2f3
parent2ec5b3dc18bab1108f49262e59fc22bb5939fe0b
drm/msm: pass dump state as a function argument

Instead of always getting the disp_state from drm device, pass it as an
argument.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Link: https://lore.kernel.org/r/20210427001828.2375555-2-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/msm_disp_snapshot.h
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c
drivers/gpu/drm/msm/dp/dp_display.c
drivers/gpu/drm/msm/dsi/dsi.c
drivers/gpu/drm/msm/dsi/dsi.h
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_kms.h