Skip to content
Commit 0ba557d3 authored by Manasi Navare's avatar Manasi Navare Committed by Greg Kroah-Hartman
Browse files

drm/vrr: Set VRR capable prop only if it is attached to connector



[ Upstream commit 62929726 ]

VRR capable property is not attached by default to the connector
It is attached only if VRR is supported.
So if the driver tries to call drm core set prop function without
it being attached that causes NULL dereference.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarManasi Navare <manasi.d.navare@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220225013055.9282-1-manasi.d.navare@intel.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9a8e4a5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment