]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vkms: add crc sources list
authorOleg Vasilev <oleg.vasilev@intel.com>
Thu, 13 Jun 2019 12:18:02 +0000 (15:18 +0300)
committerRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Wed, 19 Jun 2019 01:56:31 +0000 (22:56 -0300)
commitb556b9bec0ebed5224c05ec30e04fd35ff918862
treea44eca30df59a0b4252a4f15bf140c1f85bcc47a
parent17cfe5b3a403b4e69ce8cf0ba5da64083034fcb2
drm/vkms: add crc sources list

Other drivers are able to list crc sources when accessing
/sys/kernel/debug/dri/.../crtc-0/crc/control

Even though VKMS now supports only 'auto' mode, it is more consistent to
have the list available to the userspace.

Signed-off-by: Oleg Vasilev <oleg.vasilev@intel.com>
Reviewed-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613121802.2193-3-oleg.vasilev@intel.com
drivers/gpu/drm/vkms/vkms_crc.c
drivers/gpu/drm/vkms/vkms_crtc.c
drivers/gpu/drm/vkms/vkms_drv.h