drm/lima: add error sysfs to export error task dump
authorQiang Yu <yuq825@gmail.com>
Sat, 22 Feb 2020 02:42:09 +0000 (10:42 +0800)
committerQiang Yu <yuq825@gmail.com>
Sun, 22 Mar 2020 01:35:25 +0000 (09:35 +0800)
commit57b517cecea05f35fd4a1a00708f9255db7382c8
treea7d280d796ad298fa078c88b97004d6aa4bdc111
parentb78edd46f6a9eca23b4070166fe98264c07171cc
drm/lima: add error sysfs to export error task dump

Export /sys/class/drm/cardX/device/error sysfs for user read out
error task dump file.

Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200222024210.18697-5-yuq825@gmail.com
drivers/gpu/drm/lima/lima_drv.c