drm/i915/crt: fix DPMS standby and suspend mode handling
authorJani Nikula <jani.nikula@intel.com>
Mon, 5 Nov 2012 11:51:51 +0000 (13:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Nov 2012 09:40:53 +0000 (10:40 +0100)
commit4a8dece21eea0ad6aca442272673d48693cd93b4
treed02e638ae8e776dca69a8e7e46ef558cdab0128c
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
drm/i915/crt: fix DPMS standby and suspend mode handling

PCH platforms and VLV should map DPMS standby and suspend modes to off, but
due to a buggy reversed comparison this is done on pre-PCH platforms
instead.

Reported-by: Loïc Yhuel <loic.yhuel@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56754
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c