drm/i915: Cannot set clock gating under UMS
authorKeith Packard <keithp@keithp.com>
Sat, 13 Aug 2011 00:07:18 +0000 (17:07 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 15 Aug 2011 19:10:27 +0000 (12:10 -0700)
commit92b79f4322b8a2506bdd862f554a2a81ff0a2dad
treeeec727f584f444e01e78ec86ed69833b3401888a
parentc3613de92ebea302137d21d8938421c3f88d8741
drm/i915: Cannot set clock gating under UMS

The clock gating functions are only assigned under KMS, so don't try
to call them under UMS.

Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Justin P. Mattock <justinmattock@gmail.com>
drivers/gpu/drm/i915/i915_suspend.c