diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-04-27 02:18:25 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-06-23 16:32:14 +0200 |
commit | eb9d6c7ebe44df4bf077e71de809bb7b216da38c (patch) | |
tree | 6c3365ef243f0365cebaa894653254072132a2f3 /drivers/gpu/drm/msm/msm_kms.h | |
parent | drm/msm: add disp snapshot points across dpu driver (diff) | |
download | linux-eb9d6c7ebe44df4bf077e71de809bb7b216da38c.tar.xz linux-eb9d6c7ebe44df4bf077e71de809bb7b216da38c.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_kms.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_kms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index b31fdad3f055..146dcab123f4 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -124,7 +124,7 @@ struct msm_kms_funcs { void (*destroy)(struct msm_kms *kms); /* snapshot: */ - void (*snapshot)(struct msm_kms *kms); + void (*snapshot)(struct msm_disp_state *disp_state, struct msm_kms *kms); #ifdef CONFIG_DEBUG_FS /* debugfs: */ |