drm/arcpgu: Opt in debugfs
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Fri, 3 Mar 2017 12:30:35 +0000 (15:30 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 2 Aug 2017 21:11:00 +0000 (00:11 +0300)
commit13eee7706549333d7d73638e99a264b085df852f
tree8edfed855fe25393147a7885df7babe14db6f8ca
parentdd24df657075fdf1e850612ea50634816f3c3581
drm/arcpgu: Opt in debugfs

This change adopts debugfs usage for outputting useful data.
As of today we print:
 * Mode and real HW clock values
 * Standard FB info

Code is heavily borrowed from ARM's HDLCD thus adding Liviu in Cc.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Jose Abreu <joabreu@synopsys.com>
drivers/gpu/drm/arc/arcpgu_drv.c