[PATCH v4 09/11] drm/tilcdc: Use drm_gem_cma_print_info()
Jyri Sarha
jsarha at ti.com
Tue Oct 31 15:09:51 UTC 2017
On 10/30/2017 06:29 PM, Noralf Trønnes wrote:
> There is a new core debugfs file that prints fb/gem info:
> <debugfs>/dri/<n>/framebuffer
>
> Use drm_gem_cma_print_info() to provide info to that output instead
> of using drm_fb_cma_debugfs_show().
>
> Cc: Jyri Sarha <jsarha at ti.com>
> Cc: Tomi Valkeinen <tomi.valkeinen at ti.com>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
Acked-by: Jyri Sarha <jsarha at ti.com>
Thanks,
Just let me know if I should pick this to my next tilcdc pull request.
Best regards,
Jyri
> ---
> drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> index 72ce063aa0d8..bc4feb3a84b9 100644
> --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> @@ -507,7 +507,6 @@ static int tilcdc_mm_show(struct seq_file *m, void *arg)
> static struct drm_info_list tilcdc_debugfs_list[] = {
> { "regs", tilcdc_regs_show, 0 },
> { "mm", tilcdc_mm_show, 0 },
> - { "fb", drm_fb_cma_debugfs_show, 0 },
> };
>
> static int tilcdc_debugfs_init(struct drm_minor *minor)
> @@ -541,6 +540,7 @@ static struct drm_driver tilcdc_driver = {
> .lastclose = tilcdc_lastclose,
> .irq_handler = tilcdc_irq,
> .gem_free_object_unlocked = drm_gem_cma_free_object,
> + .gem_print_info = drm_gem_cma_print_info,
> .gem_vm_ops = &drm_gem_cma_vm_ops,
> .dumb_create = drm_gem_cma_dumb_create,
>
>
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the dri-devel
mailing list