aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichel Thierry <[email protected]>2017-05-30 17:05:46 -0700
committerJoonas Lahtinen <[email protected]>2017-05-31 10:34:03 +0300
commit7f1ea2ac30171d9a6aad2916a73e41fa68c8f137 (patch)
tree9cf32486ec656fd14eab9dedfbf120d28fc3c94b /tools/perf/scripts/python
parentbef8c056fba09aa4629fe5a2d3efe64068d049db (diff)
drm/i915/guc: Fix doorbell id selection
We are passing parameters in the wrong order to find next zero bit, and when it doesn't find anything it returns size (offset in the code), which is always zero. For reference the function is defined as: find_next_bit( *addr, size, offset ) The incorrect parameter order was added by commit abddffdf3620e ("drm/i915/guc: Sanitize GuC client initialization"). Luckily, currently we only use a single guc client and a single doorbell, which happens to be zero; therefore it isn't necessary to backport this fix (which would be for v4.12). Cc: Daniele Ceraolo Spurio <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Oscar Mateo <[email protected]> Signed-off-by: Michel Thierry <[email protected]> Reviewed-by: Daniele Ceraolo Spurio <[email protected]> Signed-off-by: Joonas Lahtinen <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions