1. 13 2月, 2014 1 次提交
  2. 07 2月, 2014 1 次提交
    • J
      drm/i915: Restore rps/rc6 on reset · dd0a1aa1
      Jeff McGee 提交于
      A check of rps/rc6 state after i915_reset determined that the ring
      MAX_IDLE registers were returned to their hardware defaults and that
      the GEN6_PMIMR register was set to mask all interrupts. This change
      restores those values to their pre-reset states by re-initializing
      rps/rc6 in i915_reset. A full re-initialization was opted for versus
      a targeted set of restore operations for simplicity and maintain-
      ability. Note that the re-initialization is not done for Ironlake,
      due to a past comment that it causes problems.
      
      Also updated the rps initialization sequence to preserve existing
      min/max values in the case of a re-init. We assume the values were
      validated upon being set and do not do further range checking. The
      debugfs interface for changing min/max was updated with range
      checking to ensure this condition (already present in sysfs
      interface).
      
      v2: fix rps logging to output hw_max and hw_min, not rps.max_delay
          and rps.min_delay which don't strictly represent hardware limits.
          Add igt testcase to signed-off-by section.
      
      Testcase: igt/pm_rps/reset
      Signed-off-by: NJeff McGee <jeff.mcgee@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      dd0a1aa1
  3. 29 1月, 2014 1 次提交
  4. 27 1月, 2014 1 次提交
    • R
      drm/i915: debugfs: Add support for probing DP sink CRC. · d2e216d0
      Rodrigo Vivi 提交于
      This debugfs interface will allow intel-gpu-tools test case
      to verify if screen has been updated properly on cases like PSR.
      
      v2: Accepted all Daniel's suggestions:
          * grab modeset lock
          * loop over connector and check DPMS on
          * return errors
          * use _eDP1 suffix for easy future extension
          * don't cache crc_supported neither latest crc
          * return crc as a full array and read it at once with aux.
          * use 0 to turn TEST_SINK off.
          * split the drm_helpers definitions in another patch.
      
      v3: Accepted 2 Damien's suggestion: remove h from printf hexa
          and return ENODEV when eDP not present instead of EAGAIN.
      
      v4: Accepted 2 Jani' s suggestion: 1 path for unlock and remove
          _retry from aux read.
      
      v5: removing last missing useless _retry (by Damien)
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Damien Lespiau <damien.lespiau@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d2e216d0
  5. 25 1月, 2014 1 次提交
  6. 11 1月, 2014 1 次提交
  7. 10 1月, 2014 1 次提交
  8. 08 1月, 2014 1 次提交
  9. 06 1月, 2014 1 次提交
  10. 18 12月, 2013 3 次提交
  11. 16 12月, 2013 2 次提交
  12. 11 12月, 2013 1 次提交
  13. 28 11月, 2013 2 次提交
  14. 27 11月, 2013 1 次提交
  15. 26 11月, 2013 1 次提交
  16. 22 11月, 2013 1 次提交
    • B
      i915, debugfs: Fix uninitialized warning · 432f3342
      Borislav Petkov 提交于
      gcc complains that:
      
      drivers/gpu/drm/i915/i915_debugfs.c: In function ‘display_crc_ctl_write’:
      drivers/gpu/drm/i915/i915_debugfs.c:2393:2: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized]
      drivers/gpu/drm/i915/i915_debugfs.c:2350:6: note: ‘val’ was declared here
      
      but it can't see that we're going to use val only in the success case.
      So shut it up.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: David Airlie <airlied@linux.ie>
      Cc: intel-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      432f3342
  17. 14 11月, 2013 2 次提交
  18. 09 11月, 2013 4 次提交
  19. 08 11月, 2013 2 次提交
  20. 07 11月, 2013 1 次提交
  21. 06 11月, 2013 1 次提交
  22. 02 11月, 2013 4 次提交
  23. 22 10月, 2013 5 次提交
  24. 18 10月, 2013 1 次提交
    • D
      drm/i915: crc support for hsw · 5a69b89f
      Daniel Vetter 提交于
      hw designers decided to change the CRC registers and coalesce them all
      into one. Otherwise nothing changed. I've opted for a new hsw_ version
      to grab the crc sample since hsw+1 will have the same crc registers,
      but different interrupt source registers. So this little helper
      function will come handy there.
      
      Also refactor the display error handler with a neat pipe loop.
      
      v2: Use for_each_pipe.
      Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5a69b89f