aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMahesh Kumar <[email protected]>2018-08-01 20:41:13 +0530
committerMaarten Lankhorst <[email protected]>2018-08-07 10:25:30 +0200
commitcf1f697acb04d2e06c117436cc55e52760f1ea7c (patch)
treef758c8999b62cc23e3bc898e79ca1bcb06281a05 /tools/perf/scripts/python
parentaaa023782fda76a3eacd9f3c8c14ad7382d86cf2 (diff)
drm/i915/skl: distribute DDB based on panel resolution
We distribute DDB equally among all pipes irrespective of display buffer requirement of each pipe. This leads to a situation where high resolution y-tiled display can not be enabled with 2 low resolution displays. Main contributing factor for DDB requirement is width of the display. This patch make changes to distribute ddb based on display width. So display with higher width will get bigger chunk of DDB. Changes Since V1: - pipe_size/ddb_size will not overflow u16 so use appropriate data-types during computation (Chris) Changes Since V2: - avoid redundancy and possible truncation errors (Chris) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107113 Cc: [email protected] Cc: Chris Wilson <[email protected]> Signed-off-by: Mahesh Kumar <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions