drm/i915: extract FBC_MULTIPLE_PIPES check
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 7 Jul 2015 18:26:07 +0000 (15:26 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jul 2015 09:40:25 +0000 (11:40 +0200)
commit232fd934a4b458e5a0dacdd17efc1faffb9df615
treee77e556417d33338bc5fdfb54b98501ba0ca0100
parent8935108528194918966757fa00ac986176fe9497
drm/i915: extract FBC_MULTIPLE_PIPES check

I have two separate refactor ideas that require extracting this to a
separate function. I'm not sure which idea I'll end choosing, but
since both will require extracting this function, let's do this now.

Notice that this is just code moving. Any possible problems with the
current multiple pipes check should be fixed in later commits.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbc.c