Re: Reg. Adaptive Sync feature in xf86-video-amdgpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-20 6:04 p.m., uday kiran pichika wrote:
> 
> Even in amdgpu_present_flip(), there is a check
> for amdgpu_window_has_variable_refresh() which actually checks whether
> window has a variable_refresh property set from the MESA or not ? this
> check is failing in my case and never calls amdgpu_present_set_screen_vrr.

This should be set by

	get_window_priv(window)->variable_refresh = variable_refresh;

in amdgpu_vrr_property_update.


> Is there any way that i can check whether MESA is setting this property ?
> 
> To my understanding, MESA will set this property to true or false based on
> whether application is running in Full screen mode or in normal mode.

Mesa always sets the window property by default, unless the driconf
option "adaptive_sync" is disabled, e.g. via the application blacklist
in /usr/share/drirc.d/00-mesa-defaults.conf (mostly for compositors /
browsers / video players).


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux