drm/i915: Inline gen6_sanitize_rps_pm_mask()
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Mar 2017 13:54:26 +0000 (13:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Mar 2017 14:24:58 +0000 (14:24 +0000)
commit1300b4f804d38b14d257a239669128ec84782668
tree61cd7da86e37536678961d5b6883d9f6bd8d41f7
parentef47a0e0f49d5302819ea7a30920af05399ee4d5
drm/i915: Inline gen6_sanitize_rps_pm_mask()

gen6_sanitize_rps_pm_mask() is small enough that inlining it shrinks the
object code.

v2: Use const markup

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170312135426.2216-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_drv.h