]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move the common RPS warnings to intel_set_rps()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Feb 2017 09:47:07 +0000 (09:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Feb 2017 12:40:03 +0000 (12:40 +0000)
commit4ef6239fd0514ed71019f2e5d1e20e4eb9b9c9de
tree86f6ce1ef8a9b6328c1ad85a19b19a5e723949a6
parent55abca0198c5db719a1b6356d69f861da8f1934e
drm/i915: Move the common RPS warnings to intel_set_rps()

Instead of having each back-end provide identical guards, just have a
singular set in intel_set_rps() to verify that the caller is obeying the
rules.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170220094713.22874-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c