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)
commitc936843f06ee4acfe91c2ef2909a2b46eb63c14a
treea44eca30df59a0b4252a4f15bf140c1f85bcc47a
parentb6b3821fac22aa941ebc94e8892e39c565dac6eb
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