]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
drm/i915: simplify setting DSPCNTR inside ironlake_crtc_mode_set
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 12 Sep 2012 13:06:32 +0000 (10:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:22:58 +0000 (14:22 +0200)
commita1f9e77e1f2f1bf3769798c1596433deff08cd04
treea412320a26a19a1afd5b22027bff21d1208727db
parentc8203565b098ebb771991a11fce75fed9fe344a0
drm/i915: simplify setting DSPCNTR inside ironlake_crtc_mode_set

Because declaring a variable in the beginning of the function, then
initializing it 100 lines later, then using it 100 lines later does
not make our code look good IMHO.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c