OSDN Git Service

drm/i915: Use pipe A primary plane .max_stride() as the global stride limit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Sep 2018 15:24:03 +0000 (18:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Sep 2018 14:49:59 +0000 (17:49 +0300)
commit645d91f6060cdd336b495616fe677b120c6e2ebd
treeaa0216aa420bccb6469d91960260c266fe061cfe
parentddd5713d6e56ec283de25a3f3943c3f5bf341f56
drm/i915: Use pipe A primary plane .max_stride() as the global stride limit

Let's assume that the primary plane for pipe A has the highest max
stride of all planes, and we'll use that as the global limit when
creating a new framebuffer.

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180907152413.15761-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c