1. 29 7月, 2016 1 次提交
  2. 10 6月, 2016 1 次提交
  3. 02 6月, 2016 1 次提交
  4. 02 5月, 2016 1 次提交
  5. 23 2月, 2016 3 次提交
  6. 20 2月, 2016 4 次提交
  7. 24 11月, 2015 1 次提交
  8. 08 9月, 2015 1 次提交
    • D
      drm/atomic-helper: Add option to update planes only on active crtc · aef9dbb8
      Daniel Vetter 提交于
      With drivers supporting runtime pm it's generally not a good idea to
      touch the hardware when it's off. Add an option to the commit_planes
      helper to support this case.
      
      Note that the helpers already add all planes on a crtc when a modeset
      happens, hence plane updates will not be lost if drivers set this to
      true.
      
      v2: Check for NULL state->crtc before chasing the pointer. Also check
      both old and new crtc if there's a switch. Finally just outright
      disallow switching crtcs for a plane if the plane is in active use, on
      most hardware that doesn't make sense.
      
      v3: Since commit_planes(active_only = true) is for enabling things
      only after all the crtc are on we should only look at the new crtc to
      decide whether to call the plane hooks - if the current CRTC isn't on
      then skip. If the old crtc (when moving a plane) went down then the
      plane should have been disabled as part of the pipe shutdown work
      already. For which there's currently no helper really unfortunately.
      Also move the check for wether a plane gets a new CRTC assigned while
      still in active use out of this patch.
      
      v4: Rebase over exynos changes.
      
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Tested-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      aef9dbb8
  9. 16 6月, 2015 4 次提交
  10. 25 5月, 2015 7 次提交
  11. 08 4月, 2015 1 次提交
  12. 03 3月, 2015 9 次提交
  13. 23 2月, 2015 1 次提交
  14. 23 12月, 2014 1 次提交
  15. 27 11月, 2014 3 次提交
  16. 13 11月, 2014 1 次提交
    • T
      drm/rcar: gem: dumb: pitch is an output · 7e295a36
      Thierry Reding 提交于
      When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB
      IOCTL, only the width, height, bpp and flags fields are inputs. The
      caller is not guaranteed to zero out or set handle, pitch and size.
      Drivers must not treat these values as possible inputs, otherwise they
      may use uninitialized memory during the computation of the framebuffer
      size.
      
      The R-Car DU driver treats the pitch passed in from userspace as minimum
      and will only overwrite it when the driver-computed pitch is larger,
      allowing userspace to, intentionally or not, overallocate framebuffers.
      
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      7e295a36