1. 24 6月, 2015 1 次提交
    • D
      drm/i915: Clear fb_tracking.busy_bits also for synchronous flips · fdbff928
      Daniel Vetter 提交于
      The current/old frontbuffer might still have gpu frontbuffer rendering
      pending. But once flipped it won't have the corresponding frontbuffer
      bits any more and hence the request retire function won't ever clear
      the corresponding busy bits. The async flip tracking (with the
      flip_prepare and flip_complete functions) already does this, but
      somehow I've forgotten to do this for synchronous flips.
      
      Note that we don't track outstanding rendering of the new framebuffer
      with busy_bits since all our plane update code waits for previous
      rendering to complete before displaying a new buffer. Hence a new
      buffer will never be busy.
      
      v2: Drop the spurious inline Ville spotted.
      
      v3: Don't touch flip_bits in the synchronsou frontbuffer_flip
      function, noticed by Paulo.
      
      v4: Remove one more inline that slipped through (Paulo).
      Reported-by: NPaulo Zanoni <przanoni@gmail.com>
      Cc: Paulo Zanoni <przanoni@gmail.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Testcase: igt/kms_frontbuffer_tracking/fbc-modesetfrombusy
      Tested-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      fdbff928
  2. 23 6月, 2015 39 次提交