aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_request.h
diff options
context:
space:
mode:
authorMahesh Kumar <mahesh1.kumar@intel.com>2018-08-01 20:41:13 +0530
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-08-07 10:25:30 +0200
commitcf1f697acb04d2e06c117436cc55e52760f1ea7c (patch)
treef758c8999b62cc23e3bc898e79ca1bcb06281a05 /drivers/gpu/drm/i915/i915_request.h
parentdrm/i915: ddb_size is of u16 type (diff)
downloadlinux-dev-cf1f697acb04d2e06c117436cc55e52760f1ea7c.tar.xz
linux-dev-cf1f697acb04d2e06c117436cc55e52760f1ea7c.zip
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: raviraj.p.sitaram@intel.com Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180801151113.5337-1-mahesh1.kumar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
0 files changed, 0 insertions, 0 deletions