]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit725994a8724c854b6fca466c17ce7e19054961b1
treecc8c60d5e2dfa675ef06fe67ae142a9fddfccbc9
parent8339ac97b7391d4ff62bfa59c371c355420f46cb
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