drm/i915/debugfs: Move out pipe CRC code
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 12 Dec 2016 12:29:48 +0000 (13:29 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 08:41:24 +0000 (09:41 +0100)
commit731035fe8e32de31d3f390370349e843caf1e6b8
tree66ae5ad294848dbb9c7a9f276637d9b024ae09cc
parentadd033793c9efa7b0a8ecd2fa192fe85aa8b0854
drm/i915/debugfs: Move out pipe CRC code

In preparation to using a generic API in the DRM core for continuous CRC
generation, move the related code out of i915_debugfs.c into a new file.

Eventually, only the Intel-specific code will remain in this new file.

v2: Rebased.

v6: Rebased.

v7: Fix whitespace issue.

v9: Have intel_display_crc_init accept a drm_i915_private instead.

v12: Rebased.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481545788-18194-1-git-send-email-tomeu.vizoso@collabora.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pipe_crc.c [new file with mode: 0644]