]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/hisilicon/hibmc: Export VRAM MM information to debugfs
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Dec 2019 08:38:19 +0000 (09:38 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 6 Jan 2020 12:46:03 +0000 (13:46 +0100)
commitde2318f69366cdbb285253d5f40b129b09b3515b
treea3da035d906c892ed907a4b079898c399f595259
parent9dddcd279ab4ebcf27b81f8f967a58bc3717d1e4
drm/hisilicon/hibmc: Export VRAM MM information to debugfs

This change makes information about VRAM consumption available on
debugfs. See

  /sys/kernel/debug/dri/0/vram-mm

for an overview of how VRAM is being used.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191203083819.6643-6-tzimmermann@suse.de
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c