diff options
author | Chris Wilson <[email protected]> | 2018-03-08 14:26:47 +0000 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2018-03-12 11:24:49 -0700 |
commit | f1430f145eefcab2bddb9e836d427c4aac067faa (patch) | |
tree | b0eec973d2690a658fae627a47b15763a9558d4b /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 82813ba9b4b31cd445a2ec1a1404de6e78f32b35 (diff) |
drm/i915: Kick the rps worker when changing the boost frequency
The boost frequency is only applied from the RPS worker while someone is
waiting on a request and requested a boost. As such, when the user
wishes to change the frequency, we have to kick the worker in order to
re-evaluate whether to apply the boost frequency.
v2: Check num_waiters to decide if we should kick the worker to handle
boosting.
Fixes: 29ecd78d3b79 ("drm/i915: Define a separate variable and control for RPS waitboost frequency")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 59cd31f177b34deb834a5c97478502741be1cf2e)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions