drm/i915/gen9: move assert_csr_loaded into intel_rpm.c
authorDaniel Vetter <[email protected]>
Wed, 28 Oct 2015 21:58:57 +0000 (23:58 +0200)
committerJani Nikula <[email protected]>
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 <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Sunil Kamath <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Signed-off-by: Animesh Manna <[email protected]>
[imre: removed note about reg definitions from commit message, since
 it's not relevant any more]
Signed-off-by: Imre Deak <[email protected]>
Tested-by: Daniel Stone <[email protected]> # SKL
[Jani: make assert_csr_loaded static]
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_csr.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c