summaryrefslogtreecommitdiff
path: root/src/amdgpu_present.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2019-02-12 12:26:25 +0100
committerMichel Dänzer <michel@daenzer.net>2019-02-22 17:44:30 +0100
commitd9be5d712d469595e1e610f7294bc670ca3b1985 (patch)
tree766b979374be71b82a45b7e5d58af27f5f26a253 /src/amdgpu_present.c
parentef8fbe33b7d97f7fb5518db9c0e4d2dcbf2fab6f (diff)
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: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Diffstat (limited to 'src/amdgpu_present.c')
0 files changed, 0 insertions, 0 deletions