drm/i915/fbc: refactor some small functions called only once
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Jan 2016 17:56:58 +0000 (15:56 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:21:10 +0000 (18:21 -0200)
commite35be23f31c9bd42c342aca519bcedbc34b35da4
treecc8c60d5e2dfa675ef06fe67ae142a9fddfccbc9
parent9b42281f9ddafe459e0b0d91ddf1939fbf84d832
drm/i915/fbc: refactor some small functions called only once

The FBC fixes we've been doing in the last months required a lot of
refactor, so functions that were once big and called from different
spots are now small and called only once. IMHO now it's better to just
move the contents of these functions to their only callers since this
reduces the number of indirections while reading the code.

While at it, also improve the related comments a little bit.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453210558-7875-26-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_fbc.c