[Mesa-dev] [PATCH 2/4] Enable adapative sync by default for radeon

Michel Dänzer michel at daenzer.net
Wed Sep 12 08:50:40 UTC 2018


On 2018-09-11 6:24 p.m., Nicholas Kazlauskas wrote:
> It's better to let most applications make use of adaptive sync
> by default. Problematic applications can be placed on the blacklist
> or the user can manually disable the feature.
> 
> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
> ---
>  src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
> index dbaa7c8f17..868736522e 100644
> --- a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
> +++ b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
> @@ -1,6 +1,6 @@
>  // DriConf options specific to radeonsi
>  DRI_CONF_SECTION_QUALITY
> -   DRI_CONF_ADAPTIVE_SYNC_ENABLE("false")
> +   DRI_CONF_ADAPTIVE_SYNC_ENABLE("true")
>  DRI_CONF_SECTION_END
>  
>  DRI_CONF_SECTION_PERFORMANCE
> 

The order of this patch and patch 3 should be swapped, otherwise
somebody using only this patch (e.g. while bisecting) might get adaptive
sync with all apps.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list