drm/etnaviv: add missing major features field to debugfs
authorLucas Stach <l.stach@pengutronix.de>
Thu, 4 Jan 2018 12:50:14 +0000 (13:50 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 12 Feb 2018 15:30:57 +0000 (16:30 +0100)
This can be useful when dealing with a new GPU core.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c

index dfac655..72c350c 100644 (file)
@@ -811,6 +811,8 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
        verify_dma(gpu, &debug);
 
        seq_puts(m, "\tfeatures\n");
+       seq_printf(m, "\t major_features: 0x%08x\n",
+                  gpu->identity.features);
        seq_printf(m, "\t minor_features0: 0x%08x\n",
                   gpu->identity.minor_features0);
        seq_printf(m, "\t minor_features1: 0x%08x\n",