drm/i915: extract display_pipe_crc_update
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 20:55:46 +0000 (22:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Oct 2013 13:05:31 +0000 (15:05 +0200)
commiteba94eb90138caf0b22797dc5fd802e28d253dcf
tree65831b67687159874240f56e6feff4728c93f4fe
parent131a56dc41b8c026f97466341167d86deb25357b
drm/i915: extract display_pipe_crc_update

The ringbuffer update logic should always be the same, but different
platforms have different amounts of CRC registers. Hence extract it.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c