diff options
author | James Xiong <[email protected]> | 2019-10-14 10:05:46 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2019-10-14 10:05:46 +0200 |
commit | 4f963b03a1015c87813a7215bae20e8ba2e088a2 (patch) | |
tree | 516173aad38e6958ad817f6ff6c2f8396729ef4f /src/gallium/drivers/iris/iris_screen.c | |
parent | a65e29ccb261f3c127c49e73d0da92124234668f (diff) |
gallium: rename PIPE_CAP_MAX_FRAMES_IN_FLIGHT to PIPE_CAP_THROTTLE
v2: [ Michel Dänzer ]
* Update src/gallium/docs/source/screen.rst accordingly
Signed-off-by: James Xiong <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]> # v1
Reviewed-by: Marek Olšák <[email protected]> # v1
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 83e88410b8f..63159405a16 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -311,7 +311,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) * illegal snoop <-> snoop transfers. */ return devinfo->has_llc; - case PIPE_CAP_MAX_FRAMES_IN_FLIGHT: + case PIPE_CAP_THROTTLE: return screen->driconf.disable_throttling ? 0 : 1; case PIPE_CAP_CONTEXT_PRIORITY_MASK: |