]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add vrr_capable property to the drm connector
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 18 Sep 2018 13:55:20 +0000 (09:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:33 +0000 (15:55 -0500)
commit5cfd85354e69808cb89ea0b8bbd2396ba61dc569
tree83722b8e95355b9031a628df0ab0d19a8bd0fd0d
parent119b800ae4378b761c203a55a70ffdd4f60a241a
drm: Add vrr_capable property to the drm connector

Modern display hardware is capable of supporting variable refresh rates.
This patch introduces the "vrr_capable" property on the connector to
allow userspace to query support for variable refresh rates.

Atomic drivers should attach this property to connectors that are
capable of driving variable refresh rates using
drm_connector_attach_vrr_capable_property().

The value should be updated based on driver and hardware capability
by using drm_connector_set_vrr_capable_property().

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_connector.c
include/drm/drm_connector.h