1. 07 11月, 2012 2 次提交
  2. 03 10月, 2012 2 次提交
  3. 02 10月, 2012 3 次提交
    • R
      drm: support for rotated scanout · 7c80e128
      Rob Clark 提交于
      For drivers that can support rotated scanout, the extra parameter
      checking in drm-core, while nice, tends to get confused.  To solve
      this drivers can set the crtc or plane invert_dimensions field so
      that the dimension checking takes into account the rotation that
      the driver is performing.
      
      v1: original
      v2: remove invert_dimensions from plane, at Ville's suggestion.
          Userspace can give rotated src coordinates, so invert_dimensions
          is not required for planes.
      Signed-off-by: NRob Clark <rob@ti.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7c80e128
    • R
      drm: refcnt drm_framebuffer (v4.1) · f7eff60e
      Rob Clark 提交于
      This simplifies drm fb lifetime, and if the crtc/plane needs to hold
      a ref to the fb when disabling a pipe until the next vblank, this
      avoids the need to make disabling an overlay synchronous.  This is a
      problem that shows up when userspace is using a drm plane to
      implement a hw cursor.. making overlay disable synchronous causes
      a performance problem when x11 is rapidly enabling/disabling the
      hw cursor.  But not making it synchronous opens up a race condition
      for crashing if userspace turns around and immediately deletes the
      fb.  Refcnt'ing the fb makes it possible to solve this problem.
      
      v1: original
      v2: add drm_framebuffer_remove() which is called in all paths where
          fb->funcs->destroy() was directly called before.  This cleans
          up the CRTCs/planes that the fb was attached to.  You should
          only directly use drm_framebuffer_unreference() if you are also
          using drm_framebuffer_reference() to keep a ref to the fb.
      v3: add comment explaining the fb refcount
      v4: remove duplicate 'list_del(&fb->filp_head)'
      
      [airlied: v4.1: fix local rejection]
      Signed-off-by: NRob Clark <rob@ti.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f7eff60e
    • C
      drm: Destroy the planes prior to destroying the associated CRTC · 3184009c
      Chris Wilson 提交于
      As during the plane cleanup, we wish to disable the hardware and
      so may modify state on the associated CRTC, that CRTC must continue to
      exist until we are finished.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54101Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: stable@vger.kernel.org
      Reviewed-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Tested-by: Nlu hua <huax.lu@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      3184009c
  4. 18 9月, 2012 1 次提交
  5. 24 8月, 2012 1 次提交
  6. 29 5月, 2012 2 次提交
  7. 22 5月, 2012 5 次提交
  8. 17 5月, 2012 7 次提交
  9. 02 5月, 2012 1 次提交
  10. 24 4月, 2012 1 次提交
  11. 20 4月, 2012 4 次提交
  12. 19 4月, 2012 1 次提交
  13. 20 3月, 2012 1 次提交
  14. 15 3月, 2012 9 次提交