1. 08 11月, 2014 7 次提交
  2. 05 11月, 2014 3 次提交
  3. 04 11月, 2014 1 次提交
  4. 24 10月, 2014 11 次提交
  5. 03 10月, 2014 3 次提交
  6. 01 10月, 2014 2 次提交
  7. 30 9月, 2014 1 次提交
  8. 29 9月, 2014 2 次提交
    • D
      Revert "drm/i915/bdw: BDW Software Turbo" · 7526ed79
      Daniel Vetter 提交于
      This reverts commit c76bb61a.
      
      It's apparently too broken so that Rodrigo submitted a patch to add a
      config option for it. Given that the design is also ... suboptimal and
      that I've only merged this to get lead engineers and managers off my
      back for one second let's just revert this.
      
      /me puts on combat gear again
      
      It was worth a shot ...
      
      References: http://mid.mail-archive.com/1411686380-1953-1-git-send-email-rodrigo.vivi@intel.com
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Daisy Sun <daisy.sun@intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      7526ed79
    • R
      drm/i915: Minimize the huge amount of unecessary fbc sw cache clean. · 1d73c2a8
      Rodrigo Vivi 提交于
      The sw cache clean on BDW is a tempoorary workaround because we cannot
      set cache clean on blt ring with risk of hungs. So we are doing the cache clean on sw.
      However we are doing much more than needed. Not only when using blt ring.
      So, with this extra w/a we minimize the ammount of cache cleans and call it only
      on same cases that it was being called on gen7.
      
      The traditional FBC Cache clean happens over LRI on BLT ring when there is a
      frontbuffer touch happening. frontbuffer tracking set fbc_dirty variable
      to let BLT flush that it must clean FBC cache.
      
      fbc.need_sw_cache_clean works in the opposite information direction
      of ring->fbc_dirty telling software on frontbuffer tracking to perform
      the cache clean on sw side.
      
      v2: Clean it a little bit and fully check for Broadwell instead of gen8.
      
      v3: Rebase after frontbuffer organization.
      
      v4: Wiggle confused me. So fixing v3!
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      1d73c2a8
  9. 24 9月, 2014 5 次提交
  10. 23 9月, 2014 1 次提交
    • P
      drm/i915: add SW tracking to FBC enabling · 9adccc60
      Paulo Zanoni 提交于
      Currently, calling intel_fbc_enabled() will trigger a register read.
      And we call it a lot of times, even when FBC is disabled, so saving a
      few cycles would be a good thing.
      
      Another reason for this patch is because we currently call
      intel_fbc_enabled() while the HW is runtime suspended, so the read
      makes no sense and triggers a WARN. This happens even if FBC is
      disabled by default. Of course one could argue that we just shouldn't
      be calling intel_fbc_enabled() while the driver is runtime suspended,
      and I agree that's a good argument, but I still think that the reason
      explained in the first paragraph already justifies the patch.
      This problem can easily be reproduced with many subtests of
      igt/pm_rpm, and it is a regression introduced by:
      
          commit c5ad011d
          Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
          Date:   Mon Aug 4 03:51:38 2014 -0700
              drm/i915: FBC flush nuke for BDW
      
      Testcase: igt/pm_rpm/cursor (and others)
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      9adccc60
  11. 19 9月, 2014 4 次提交