mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
d3dadapter9: Revert to old throttling limit value
Recently PIPE_CAP_MAX_FRAMES_IN_FLIGHT was changed from 2 to 1:20909284f2No driver seems to overwrite the default value. One user reports severe regressions for some games. For now, revert to the value 2 for nine. Cc: "19.1" mesa-stable@lists.freedesktop.org Signed-off-by: Axel Davy <davyaxel0@gmail.com> (cherry picked from commit5820ac6756)
This commit is contained in:
parent
4524f09cc0
commit
8773e20238
1 changed files with 4 additions and 2 deletions
|
|
@ -243,8 +243,10 @@ drm_create_adapter( int fd,
|
|||
return D3DERR_DRIVERINTERNALERROR;
|
||||
}
|
||||
|
||||
ctx->base.throttling_value =
|
||||
ctx->base.hal->get_param(ctx->base.hal, PIPE_CAP_MAX_FRAMES_IN_FLIGHT);
|
||||
/* Previously was set to PIPE_CAP_MAX_FRAMES_IN_FLIGHT,
|
||||
* but the change of value of this cap to 1 seems to cause
|
||||
* regressions. */
|
||||
ctx->base.throttling_value = 2;
|
||||
ctx->base.throttling = ctx->base.throttling_value > 0;
|
||||
|
||||
driParseOptionInfo(&defaultInitOptions, __driConfigOptionsNine);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue