drm/mali-dp: Add core_id file to the sysfs interface
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 5 Apr 2017 10:55:26 +0000 (11:55 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 24 Apr 2017 09:45:34 +0000 (10:45 +0100)
commit50c7512fd7496129d774ccabf32537e9a45be186
treed1a834196124f4d01afea95e9cec24f61491dcab
parent6954f24588ebddc2e3c840103f02d1fe7e65a2d6
drm/mali-dp: Add core_id file to the sysfs interface

Add a core_id file in the driver's sysfs directory,
exposing the hardware CORE ID. This is useful to allow
userspace to discover the hardware version used.

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_drv.h