• Rodrigo Vivi's avatar
    drm/i915: Don't pretend ips is always enabled on BDW. · 0eaa53f0
    Rodrigo Vivi authored
    As pointed out before we don't have a reliable way to read back ips
    status on BDW without the risk to disable it when reading.
    However now we are pretending that IPS on BDW is always on and getting
    people confused about it.
    
    So this patch allows people to know if ips was ever attempted to be enabled.
    Even if the current status is impossible to be ascertain.
    
    v2: (spotted by Paulo):
         * A version that at least compiles
         * with more clear messages
         * let Cheryview on the safe side until we aren't sure that checking ips
           state on ips won't disable it.
    
    Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
    Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    0eaa53f0
i915_debugfs.c 102 KB