diff options
author | Abhinav Kumar <abhinavk@codeaurora.org> | 2021-04-16 23:57:19 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-06-23 17:32:13 +0300 |
commit | a4324a7a1c3d57ecfba0fee3e8b2d370eb5597c9 (patch) | |
tree | de2d0ad2bc8c395cfa915b18a9afff72f5a4d1e6 /drivers/gpu/drm/msm/disp/msm_disp_snapshot.c | |
parent | f21c8a276c2daddddf58d483b49b01d0603f0316 (diff) | |
download | linux-a4324a7a1c3d57ecfba0fee3e8b2d370eb5597c9.tar.xz |
drm: allow drm_atomic_print_state() to accept any drm_printer
Currently drm_atomic_print_state() internally allocates and uses a
drm_info printer. Allow it to accept any drm_printer type so that
the API can be leveraged even for taking drm snapshot.
Rename the drm_atomic_print_state() to drm_atomic_print_new_state()
so that it reflects its functionality better.
changes in v5:
- none
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/1618606645-19695-2-git-send-email-abhinavk@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/msm_disp_snapshot.c')
0 files changed, 0 insertions, 0 deletions