Skip to content
Commit d9be5d71 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

Make use of property request wrappers for VRR property



Instead of scanning for PropertyNotify events. Reasons:

* Works even if no client listens to PropertyNotify events for the
  window.
* No overhead on delivery of unrelated events, and no overhead at all
  if Option "VariableRefresh" is disabled.

v2:
* Use shorter variable name amdgpu_vrr_atom.
* Call MakeAtom regardless of info->instance_id, for robustness vs VRR
  being enabled in some but not all AMDGPU screens.

Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
parent ef8fbe33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment