drm: hdlcd: Add debugfs entry for displaying current pixelclock value
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 24 Jul 2014 12:57:19 +0000 (13:57 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 24 Jul 2014 13:00:48 +0000 (14:00 +0100)
commitb65ebb7573e74ec98ca5cfc0bf0850f927d43d1f
treec9018da7a2a23b45261ea1cefa5ee664093d60dc
parentff15669ca1804f2d9655ff28b66fef5d1b2ad83c
drm: hdlcd: Add debugfs entry for displaying current pixelclock value

When asking the hardware to set a new pixelclock value we might
timeout on values that are calculated during request and not
wait for the actual outcome of the clock setting. SCP could still
finish the brute force search for the best PLL settings and might
or might not set the requested resolution. To help track the
current value of the pixelclock, add a new entry in debugfs that
displays the HW programmed value vs the one that was requested
for the current running mode.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_drv.c