diff options
author | Axel Davy <[email protected]> | 2019-04-27 15:25:35 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2019-04-30 19:18:52 +0200 |
commit | b71c300c70fa33705ddd795998e0fe25452cb2af (patch) | |
tree | b8b604af49dedce100e4aedecec34cade40721ec /src/gallium/targets | |
parent | 562f5a35c88f0de62bb6f6c65fa668b6211e4bd0 (diff) |
st/nine: Throttle rendering similarly for thread_submit
thread_submit's throttling depending on the number of internal
back buffers, and wasn't affected by the driver requested
throttling value.
Now it is.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/d3dadapter9/drm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c index d6453bec131..b0b9bb12f2c 100644 --- a/src/gallium/targets/d3dadapter9/drm.c +++ b/src/gallium/targets/d3dadapter9/drm.c @@ -269,13 +269,6 @@ drm_create_adapter( int fd, else ctx->base.thread_submit = different_device; - if (ctx->base.thread_submit && (throttling_value_user == -2 || throttling_value_user == 0)) { - ctx->base.throttling_value = 0; - } else if (ctx->base.thread_submit) { - DBG("You have set a non standard throttling value in combination with thread_submit." - "We advise to use a throttling value of -2/0"); - } - if (driCheckOption(&userInitOptions, "override_vendorid", DRI_INT)) { override_vendorid = driQueryOptioni(&userInitOptions, "override_vendorid"); } |