[PATCH] drm/amd/display: Attach VRR properties for eDP connectors

Deucher, Alexander Alexander.Deucher at amd.com
Thu Jan 31 19:55:14 UTC 2019


> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of
> Nicholas Kazlauskas
> Sent: Thursday, January 31, 2019 1:58 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Li, Sun peng (Leo) <Sunpeng.Li at amd.com>; Wentland, Harry
> <Harry.Wentland at amd.com>; Kazlauskas, Nicholas
> <Nicholas.Kazlauskas at amd.com>
> Subject: [PATCH] drm/amd/display: Attach VRR properties for eDP
> connectors
> 
> [Why]
> eDP was missing in the checks for supported VRR connectors.
> 
> [How]
> Attach the properties for eDP connectors too.
> 
> Cc: Leo Li <sunpeng.li at amd.com>
> Cc: Harry Wentland <harry.wentland at amd.com>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202449
> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index cdda68aba70e..4c7c34cae882 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -4249,7 +4249,8 @@ void amdgpu_dm_connector_init_helper(struct
> amdgpu_display_manager *dm,
>  	}
> 
>  	if (connector_type == DRM_MODE_CONNECTOR_HDMIA ||
> -	    connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
> +	    connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
> +	    connector_type == DRM_MODE_CONNECTOR_eDP) {
>  		drm_connector_attach_vrr_capable_property(
>  			&aconnector->base);
>  		drm_object_attach_property(&aconnector->base.base,
> --
> 2.17.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list