]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c1b4daf3948d2326d2f42bd523a3c57f87b978e
treed1a834196124f4d01afea95e9cec24f61491dcab
parent87322a1c62e85a2ce7d1556fd3563f3da029448c
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