drm/i915/gen9: move assert_csr_loaded into intel_rpm.c
authorDaniel Vetter <daniel.vetter@intel.com>
Wed, 28 Oct 2015 21:58:57 +0000 (23:58 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 12 Nov 2015 14:45:32 +0000 (16:45 +0200)
commitaf5fead2d994262b38806fa8012f38c1deff6eb6
tree2be16b2703221707a54f16ad7bbbb08ca80b73b5
parent01a6908c0c7a0f7dfae50026945340b9efcd2e3e
drm/i915/gen9: move assert_csr_loaded into intel_rpm.c

Avoids non-static functions since all the callers are in intel_rpm.c.

Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Sunil Kamath <sunil.kamath@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
[imre: removed note about reg definitions from commit message, since
 it's not relevant any more]
Signed-off-by: Imre Deak <imre.deak@intel.com>
Tested-by: Daniel Stone <daniels@collabora.com> # SKL
[Jani: make assert_csr_loaded static]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446069547-24760-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_csr.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c