]> Git Repo - linux.git/commit
drm/vrr: Set VRR capable prop only if it is attached to connector
authorManasi Navare <[email protected]>
Fri, 25 Feb 2022 01:30:54 +0000 (17:30 -0800)
committerManasi Navare <[email protected]>
Tue, 1 Mar 2022 19:37:21 +0000 (11:37 -0800)
commit62929726ef0ec72cbbe9440c5d125d4278b99894
tree0c3be6ff6c76a49c05b5094f5ed74bb83de0e5bb
parentcb1852783f790feae845006d062acb9e0a5d4304
drm/vrr: Set VRR capable prop only if it is attached to connector

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 <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: [email protected]
Signed-off-by: Manasi Navare <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_connector.c
This page took 0.057478 seconds and 4 git commands to generate.