Re: [PATCH 1/2] drm/msm: pass dump state as a function argument

2021-04-26 Thread abhinavk
On 2021-04-25 09:07, Dmitry Baryshkov wrote: Instead of always getting the disp_state from drm device, pass it as an argument. Signed-off-by: Dmitry Baryshkov This certainly reduces some amount of code, I am onboard with this, hence: Reviewed-by: Abhinav Kumar ---

[PATCH 1/2] drm/msm: pass dump state as a function argument

2021-04-25 Thread Dmitry Baryshkov
Instead of always getting the disp_state from drm device, pass it as an argument. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 + drivers/gpu/drm/msm/disp/msm_disp_snapshot.h| 8 .../gpu/drm/msm/disp/msm_disp_snapshot_util.c | 17