On Fri, Nov 22, 2019 at 09:30:44AM +0100, Thomas Zimmermann wrote: > 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@xxxxxxx> Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx> Wrt merging: I'd wait 2-3 weeks for testing from maintainers, then merge either way. Either it works, or we've found someone who cares enough to test patches if something broke in here :-) -Daniel > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > index 113d27b8a8f1..11d1b0761c9a 100644 > --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > @@ -55,6 +55,7 @@ static struct drm_driver hibmc_driver = { > .desc = "hibmc drm driver", > .major = 1, > .minor = 0, > + .debugfs_init = drm_vram_mm_debugfs_init, > .dumb_create = hibmc_dumb_create, > .dumb_map_offset = drm_gem_vram_driver_dumb_mmap_offset, > .gem_prime_mmap = drm_gem_prime_mmap, > -- > 2.23.0 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel