]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/mm: Convert to drm_printer
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Dec 2016 11:09:24 +0000 (12:09 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 11:08:28 +0000 (12:08 +0100)
commitb5c3714fe8789745521d8351d75049b9c6a0d26b
tree1bc123a6bd27cd37f222c5d0ab90b1f4d20d6b19
parent3d387d923c18afbacef8f14ccaa2ace2a297df74
drm/mm: Convert to drm_printer

Including all drivers. I thought about keeping small compat functions
to avoid having to change all drivers. But I really like the
drm_printer idea, so figured spreading it more widely is a good thing.

v2: Review from Chris:
- Natural argument order and better name for drm_mm_print.
- show_mm() macro in the selftest.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1483009764-8281-1-git-send-email-daniel.vetter@ffwll.ch
15 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
drivers/gpu/drm/armada/armada_debugfs.c
drivers/gpu/drm/drm_mm.c
drivers/gpu/drm/etnaviv/etnaviv_drv.c
drivers/gpu/drm/msm/msm_debugfs.c
drivers/gpu/drm/omapdrm/omap_debugfs.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/selftests/test-drm_mm.c
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/ttm/ttm_bo_manager.c
include/drm/drm_mm.h