diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-28 14:55:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-01 09:45:43 +0000 |
commit | f4c3a88e5f044e0200cd4b03a4d86cd6b6306ec4 (patch) | |
tree | bdf0a1c44644978f69d2300f324749e96b8df337 /drivers/gpu/drm/i915/intel_dsi.c | |
parent | 0c33518db7d394d4eef1ce13f9dce32713f14beb (diff) | |
download | linux-f4c3a88e5f044e0200cd4b03a4d86cd6b6306ec4.tar.gz linux-f4c3a88e5f044e0200cd4b03a4d86cd6b6306ec4.tar.bz2 linux-f4c3a88e5f044e0200cd4b03a4d86cd6b6306ec4.zip |
drm/i915: Tighten mmio arrays for MIPI_PORT
drivers/gpu/drm/i915/intel_dsi.c: In function ‘intel_dsi_prepare’:
drivers/gpu/drm/i915/intel_dsi.c:1308:1: error: the frame size of 2488 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
which is caused by the compiling expanding every _MIPI_PORT into an
on-stack array of u32[3] at every callsite. Not sure why only one
machine/compiler appears susceptible, but with a minor tweak to _MIPI_PORT
we can defer the error until later.
This is a partial revert of commit ce64645d86ac ("drm/i915: use variadic
macros and arrays to choose port/pipe based registers") for a particular
bad offender.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170228145519.18012-1-chris@chris-wilson.co.uk
Acked-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.c')
0 files changed, 0 insertions, 0 deletions