diff options
author | Marek Olšák <[email protected]> | 2019-04-22 17:35:27 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-23 21:20:24 -0400 |
commit | e3841368f34afe844bab25010b89f497cacc1dad (patch) | |
tree | 5dcaf1e355321eff38c1c7727ef02a05bbd03cbf /src/gallium/drivers/r600 | |
parent | a20800f49d1d665c4d93dcca87face1320423476 (diff) |
gallium: replace DRM_CONF_THROTTLE with PIPE_CAP_MAX_FRAMES_IN_FLIGHT
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 41a878ab9d2..9cef7c79cbd 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -398,6 +398,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS: return 8; + case PIPE_CAP_MAX_FRAMES_IN_FLIGHT: + return 2; + /* Unsupported features. */ case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: |