diff options
author | Manasi Navare <manasi.d.navare@intel.com> | 2022-02-25 04:30:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-19 15:47:49 +0300 |
commit | 3534c5c005ef99a1804ed50b8a72cdae254cabb5 (patch) | |
tree | be2fdd9f27da99dabfa7afb3f77cd58b921772a5 /net/wireless | |
parent | 46c02c5051aacdb0c2f18074c17a2d7f279769be (diff) | |
download | linux-3534c5c005ef99a1804ed50b8a72cdae254cabb5.tar.xz |
drm/vrr: Set VRR capable prop only if it is attached to connector
[ Upstream commit 62929726ef0ec72cbbe9440c5d125d4278b99894 ]
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: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville 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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions