[PATCH 00/21] drm: subsytem-wide debugfs functions refactor
Wambui Karuga
wambui.karugax at gmail.com
Thu Feb 27 12:02:11 UTC 2020
This series includes work on various debugfs functions both in drm/core
and across various drivers in the subsystem.
Since commit 987d65d01356 (drm: debugfs: make drm_debugfs_create_files()
never fail), drm_debugfs_create_files() does not fail and only returns
zero. This series therefore removes the left over error handling and
checks for its return value across drm drivers.
As a result of these changes, most drm_debugfs functions are converted
to return void in this series. This also enables the
drm_driver,debugfs_init() hook to be changed to return void.
Wambui Karuga (21):
drm/debugfs: remove checks for return value of drm_debugfs functions.
drm: convert the drm_driver.debugfs_init() hook to return void.
drm: convert drm_debugfs functions to return void
drm/vram-helper: make drm_vram_mm_debugfs_init() return void
drm/vc4: remove check of return value of drm_debugfs functions
drm/arc: make arcpgu_debugfs_init return void
drm/arm: make hdlcd_debugfs_init() return void
drm/etnaviv: remove check for return value of drm_debugfs function
drm/nouveau: remove checks for return value of debugfs functions
drm/tegra: remove checks for debugfs functions return value
drm/v3d: make v3d_debugfs_init return void
drm/msm: remove checks for return value of drm_debugfs functions.
drm/omapdrm: remove checks for return value of drm_debugfs functions.
drm/pl111: make pl111_debugfs_init return void
drm/sti: remove use drm_debugfs functions as return value
drm/i915: make *_debugfs_register() functions return void.
drm/tilcdc: remove check for return value of debugfs functions.
drm/virtio: make virtio_gpu_debugfs() return void.
drm/mipi_dbi: make midi_dbi_debugfs_init() return void.
drm/qxl: have debugfs functions return void.
drm/arm: have malidp_debufs_init() return void
drivers/gpu/drm/arc/arcpgu_drv.c | 7 +--
drivers/gpu/drm/arm/hdlcd_drv.c | 7 +--
drivers/gpu/drm/arm/malidp_drv.c | 3 +-
drivers/gpu/drm/drm_atomic.c | 8 +--
drivers/gpu/drm/drm_client.c | 8 +--
drivers/gpu/drm/drm_crtc_internal.h | 2 +-
drivers/gpu/drm/drm_debugfs.c | 49 +++++--------------
drivers/gpu/drm/drm_framebuffer.c | 8 +--
drivers/gpu/drm/drm_gem_vram_helper.c | 14 ++----
drivers/gpu/drm/drm_internal.h | 2 +-
drivers/gpu/drm/drm_mipi_dbi.c | 6 +--
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 18 ++-----
.../drm/i915/display/intel_display_debugfs.c | 8 +--
.../drm/i915/display/intel_display_debugfs.h | 4 +-
drivers/gpu/drm/i915/i915_debugfs.c | 8 +--
drivers/gpu/drm/i915/i915_debugfs.h | 4 +-
drivers/gpu/drm/msm/adreno/a5xx_debugfs.c | 18 ++-----
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 14 ++----
drivers/gpu/drm/msm/msm_debugfs.c | 21 +++-----
drivers/gpu/drm/msm/msm_debugfs.h | 2 +-
drivers/gpu/drm/msm/msm_gpu.h | 2 +-
drivers/gpu/drm/nouveau/nouveau_debugfs.c | 26 ++++------
drivers/gpu/drm/nouveau/nouveau_debugfs.h | 5 +-
drivers/gpu/drm/omapdrm/omap_debugfs.c | 29 +++--------
drivers/gpu/drm/omapdrm/omap_drv.h | 2 +-
drivers/gpu/drm/pl111/pl111_debugfs.c | 8 +--
drivers/gpu/drm/pl111/pl111_drm.h | 2 +-
drivers/gpu/drm/qxl/qxl_debugfs.c | 21 +++-----
drivers/gpu/drm/qxl/qxl_drv.h | 13 ++---
drivers/gpu/drm/qxl/qxl_ttm.c | 6 +--
drivers/gpu/drm/sti/sti_cursor.c | 14 +++---
drivers/gpu/drm/sti/sti_drv.c | 16 ++----
drivers/gpu/drm/sti/sti_dvo.c | 13 ++---
drivers/gpu/drm/sti/sti_gdp.c | 7 +--
drivers/gpu/drm/sti/sti_hda.c | 13 ++---
drivers/gpu/drm/sti/sti_hdmi.c | 13 ++---
drivers/gpu/drm/sti/sti_hqvdp.c | 12 +++--
drivers/gpu/drm/sti/sti_mixer.c | 7 +--
drivers/gpu/drm/sti/sti_tvout.c | 13 ++---
drivers/gpu/drm/sti/sti_vid.c | 8 +--
drivers/gpu/drm/sti/sti_vid.h | 2 +-
drivers/gpu/drm/tegra/dc.c | 11 +----
drivers/gpu/drm/tegra/drm.c | 8 +--
drivers/gpu/drm/tegra/dsi.c | 11 +----
drivers/gpu/drm/tegra/hdmi.c | 11 +----
drivers/gpu/drm/tegra/sor.c | 11 +----
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 17 ++-----
drivers/gpu/drm/v3d/v3d_debugfs.c | 8 +--
drivers/gpu/drm/v3d/v3d_drv.h | 2 +-
drivers/gpu/drm/vc4/vc4_debugfs.c | 11 ++---
drivers/gpu/drm/vc4/vc4_drv.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_debugfs.c | 3 +-
drivers/gpu/drm/virtio/virtgpu_drv.h | 2 +-
include/drm/drm_client.h | 2 +-
include/drm/drm_debugfs.h | 6 +--
include/drm/drm_drv.h | 2 +-
include/drm/drm_gem_vram_helper.h | 2 +-
include/drm/drm_mipi_dbi.h | 2 +-
58 files changed, 192 insertions(+), 362 deletions(-)
--
2.25.0
More information about the dri-devel
mailing list