From e3841368f34afe844bab25010b89f497cacc1dad Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 22 Apr 2019 17:35:27 -0400 Subject: gallium: replace DRM_CONF_THROTTLE with PIPE_CAP_MAX_FRAMES_IN_FLIGHT Reviewed-by: Kenneth Graunke --- src/gallium/drivers/i915/i915_screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/i915') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 78707c66e62..62ff5f89198 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -341,6 +341,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS: return 0; + case PIPE_CAP_MAX_FRAMES_IN_FLIGHT: + return 2; + case PIPE_CAP_MAX_GS_INVOCATIONS: return 32; -- cgit v1.2.3