aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKumar, Mahesh <[email protected]>2017-05-17 17:28:26 +0530
committerMatt Roper <[email protected]>2017-05-17 14:32:57 -0700
commit5ba6faafbe18451352747ae730392ddb316e4ed5 (patch)
tree1df6c492ba1eff60ab4009fd60f2f821b1ab57a9 /tools/perf/scripts/python/bin/stackcollapse-report
parent336031ea1cdb056eb2f7bd21fce46dda52fc0412 (diff)
drm/i915/skl+: Fail the flip if ddb min requirement exceeds pipe allocation
DDB minimum requirement of crtc configuration (cumulative of all the enabled planes in crtc) may exceed the allocated DDB for crtc/pipe. This patch make changes to fail the flip/ioctl if minimum requirement for pipe exceeds the total ddb allocated to the pipe. Previously it succeeded but making alloc_size a negative value. Which will make subsequent calculations for plane ddb allocation bogus & may lead to screen corruption or system hang. Changes from V1: - Improve commit message as per Ander's comment - Remove extra parentheses (Ander) Signed-off-by: Mahesh Kumar <[email protected]> Reviewed-by: Matt Roper <[email protected]> Reviewed-by: Ander Conselvan de Oliveira <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions