drm/i915: re-layout intel_panel.c to obey 80 char limit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Sep 2013 21:43:45 +0000 (23:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Sep 2013 07:25:07 +0000 (09:25 +0200)
commit9084e7d27671bc463c09ae6f0d6dfeea5f74f041
tree12608ec4a716ba15e6d12b962997860fed747614
parent37327abdfbb4e2d7c9033f450de5e36e401d6efc
drm/i915: re-layout intel_panel.c to obey 80 char limit

Especially intel_gmch_panel_fitting was shifting way too much over the
right edge and also was way too long. So extract two helpers, one for
gen4+ and one for gen2/3. Now the entire thing is again almost
readable ...

Spurred by checkpatch freaking out about a Ville's pipeconfig rework
in intel_panel.c

Otherwise just two lines that needed appropriate breaking.

Not functional change in this patch.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c