On 05/08/2017 04:14 PM, Marek Olšák wrote: > For the series: > > Reviewed-by: Marek Olšák <marek.ol...@amd.com> > > Marek
Thanks for reviewing, Marek. /Thomas > > On Fri, May 5, 2017 at 4:02 PM, Thomas Hellstrom <thellst...@vmware.com> > wrote: >> Increases performance on vmwgfx since we're avoiding full buffer damage and >> since we can't sync to vertical retrace anyway. >> >> Signed-off-by: Thomas Hellstrom <thellst...@vmware.com> >> --- >> src/mesa/drivers/dri/common/drirc | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/src/mesa/drivers/dri/common/drirc >> b/src/mesa/drivers/dri/common/drirc >> index 14d7713..a8f2ccf 100644 >> --- a/src/mesa/drivers/dri/common/drirc >> +++ b/src/mesa/drivers/dri/common/drirc >> @@ -137,4 +137,11 @@ TODO: document the other workarounds. >> <option name="glsl_zero_init" value="true"/> >> </application> >> </device> >> + <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical >> retraces.--> >> + <device driver="vmwgfx"> >> + <application name="gnome-shell" executable="gnome-shell"> >> + <option name="glx_disable_ext_buffer_age" value="true" /> >> + <option name="glx_disable_oml_sync_control" value="true" /> >> + </application> >> + </device> >> </driconf> >> -- >> 2.7.4 >> >> _______________________________________________ >> mesa-dev mailing list >> mesa-dev@lists.freedesktop.org >> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=DwIFaQ&c=uilaK90D4TOVoH58JNXRgQ&r=wnSlgOCqfpNS4d02vP68_E9q2BNMCwfD2OZ_6dCFVQQ&m=pxGIe1ueFxi_wBuRim4qLwv1-ZYpYFcbG9zOYK2olAY&s=G6aIIWRA8Nb4zXizPQL2E25vIwoMv6wjA4XvQJTRt1c&e= >> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev