drm/i915/fbc: replace frequent dev_priv->fbc.x with fbc->x
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 11 Jan 2016 19:44:36 +0000 (17:44 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:09:37 +0000 (18:09 -0200)
commitab34a7e8b55a1cbe3f0ad1bb2d7d24568ce4d018
tree2b0a45255aecba9d57745faab646276b319ebe18
parentb183b3f143959b8eea5d0970fd4ffe78df3a0210
drm/i915/fbc: replace frequent dev_priv->fbc.x with fbc->x

We say "dev_priv->fbc.something" way too many times in our code while
we could be saying just "fbc->something" with a previous declaration
of fbc. This has been bothering me for a while but I didn't want to
patch it since I wanted to fix the real problems first. But as I add
more code I keep thinking about it, especially since it makes the code
easier to read and it can make us fit 80 columns easier, so let's just
do the change now.

While at it, also rename from i915_fbc to intel_fbc because the whole
FBC code uses intel_fbc.

v2: Rebase after the work_fn changes.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453406763-10400-1-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_fbc.c