drm/i915: split out intel_pch.[ch] from i915_drv.[ch]
authorJani Nikula <jani.nikula@intel.com>
Wed, 7 Aug 2019 12:04:15 +0000 (15:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 8 Aug 2019 08:38:22 +0000 (11:38 +0300)
commit707d26dcc1765172031b3779bb03a9db249ad949
tree4d65a2db1c278fbd950434336560fa48f3c7aaf9
parent5e0a809af2a2b577934ec54c0e50897b806f0732
drm/i915: split out intel_pch.[ch] from i915_drv.[ch]

Abstract the rather self-contained piece of code from i915_drv.[ch]. No
functional changes.

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190807120415.17917-1-jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pch.c [new file with mode: 0644]
drivers/gpu/drm/i915/intel_pch.h [new file with mode: 0644]