atches are based upon feedback from patches and feedback from two
previous threads on the subject which are linked below for reference:
https://lists.freedesktop.org/archives/amd-gfx/2018-April/021047.html
https://lists.freedesktop.org/archives/dri-devel/2017-October/155207.html
Nicholas Kazlauskas
setup).
v2: set adaptive_sync_enable = 0 by default
Reviewed-By: Nicholas Kazlauskas
---
.../drivers/radeonsi/driinfo_radeonsi.h | 4 ++
src/loader/loader_dri3_helper.c | 61 ++-
src/loader/loader_dri3_helper.h | 1 +
src/util/xmlpool/t_opti
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 2 +-
1 file chang
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors and some web browsers.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
Some programs start with the path and command line arguments in
argv[0] (program_invocation_name). Chromium is an example of
an application using mesa that does this.
This tries to query the real path for the symbolic link /proc/self/exe
to find the program name instead.
Signed-off-by: Nicholas
Some programs start with the path and command line arguments in
argv[0] (program_invocation_name). Chromium is an example of
an application using mesa that does this.
This tries to query the real path for the symbolic link /proc/self/exe
to find the program name instead.
Signed-off-by: Nicholas
reference:
https://lists.freedesktop.org/archives/amd-gfx/2018-April/021047.html
https://lists.freedesktop.org/archives/dri-devel/2017-October/155207.html
https://lists.freedesktop.org/archives/mesa-dev/2018-September/205001.html
Nicholas Kazlauskas
Nicholas Kazlauskas (4):
util: Get program nam
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adaptive sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
quire splitting the function out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 46 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 47 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_
tps://lists.freedesktop.org/archives/mesa-dev/2018-September/205001.html
https://lists.freedesktop.org/archives/mesa-dev/2018-September/205883.html
Nicholas Kazlauskas (5):
util: Add adaptive_sync_enable driconf option
util: Get program name based on path when possible
drirc: Initial blacklist fo
This option lets the user decide whether mesa should notify the
window manager / DDX driver that the current application is adaptive
sync capable.
It's off by default.
Signed-off-by: Nicholas Kazlauskas
---
src/util/xmlpool/t_options.h | 5 +
1 file changed, 5 insertions(+)
diff --
if it
was a prefix of the invocation to avoid breaking wine programs.
Signed-off-by: Nicholas Kazlauskas
---
src/util/u_process.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/util/u_process.c b/src/util/u_process.c
index 5e5927678d..cd16521ab3 100644
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
quire splitting the function out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 46 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 47 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
This option lets the user decide whether mesa should notify the
window manager / DDX driver that the current application is adaptive
sync capable.
It's off by default.
Signed-off-by: Nicholas Kazlauskas
---
src/util/xmlpool/t_options.h | 5 +
1 file changed, 5 insertions(+)
diff --
sktop.org/archives/mesa-dev/2018-September/205001.html
https://lists.freedesktop.org/archives/mesa-dev/2018-September/205883.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206486.html
Nicholas Kazlauskas (5):
util: Add adaptive_sync_enable driconf option
util: Get program name based on pat
if it
was a prefix of the invocation to avoid breaking wine programs.
Signed-off-by: Nicholas Kazlauskas
---
src/util/u_process.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/util/u_process.c b/src/util/u_process.c
index 5e5927678d..cd16521ab3 100644
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
e splitting the function out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 58 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 59 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_dri3
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
This option lets the user decide whether mesa should notify the
window manager / DDX driver that the current application is adaptive
sync capable.
It's off by default.
Signed-off-by: Nicholas Kazlauskas
---
src/util/xmlpool/t_options.h | 5 +
1 file changed, 5 insertions(+)
diff --
if it
was a prefix of the invocation to avoid breaking wine programs.
Signed-off-by: Nicholas Kazlauskas
---
src/util/u_process.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/util/u_process.c b/src/util/u_process.c
index 5e5927678d..a1667e7807
/2018-September/190910.html
https://lists.freedesktop.org/archives/mesa-dev/2018-September/205001.html
https://lists.freedesktop.org/archives/mesa-dev/2018-September/205883.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206486.html
https://lists.freedesktop.org/archives/mesa-dev/2
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
nction out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 47 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_dri3_helper
mesa-dev/2018-October/206486.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206802.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206854.html
Nicholas Kazlauskas (5):
util: Get program name based on path when possible
util: Add adaptive_sync driconf optio
if it
was a prefix of the invocation to avoid breaking wine programs.
Signed-off-by: Nicholas Kazlauskas
---
src/util/u_process.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/util/u_process.c b/src/util/u_process.c
index 5e5927678d..a1667e7807
This option lets the user decide whether mesa should notify the
window manager / DDX driver that the current application is adaptive
sync capable.
It's off by default.
Signed-off-by: Nicholas Kazlauskas
---
src/util/xmlpool/t_options.h | 5 +
1 file changed, 5 insertions(+)
diff --
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
nction out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 47 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_dri3_helper
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
if it
was a prefix of the invocation to avoid breaking wine programs.
Cc: Timothy Arceri
Signed-off-by: Nicholas Kazlauskas
Reviewed-by: Eric Engestrom
---
src/util/u_process.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/util/u_process.c b
sa-dev/2018-September/205883.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206486.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206802.html
https://lists.freedesktop.org/archives/mesa-dev/2018-October/206854.html
Nicholas Kazlauskas (5):
util: Get program name
This option lets the user decide whether mesa should notify the
window manager / DDX driver that the current application is adaptive
sync capable.
It's off by default.
Signed-off-by: Nicholas Kazlauskas
---
src/util/xmlpool/t_options.h | 5 +
1 file changed, 5 insertions(+)
diff --
Applications that don't present at a predictable rate (ie. not games)
shouldn't have adapative sync enabled. This list covers some of the
common desktop compositors, web browsers and video players.
Signed-off-by: Nicholas Kazlauskas
---
src/util/00-mesa-defaults
nction out into a common helper function.
Signed-off-by: Nicholas Kazlauskas
---
src/loader/loader_dri3_helper.c | 48 -
src/loader/loader_dri3_helper.h | 2 ++
2 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/src/loader/loader_dri3_helper
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
---
src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4
1 file chang
40 matches
Mail list logo