1. 18 Jun, 2015 1 commit
  2. 16 Jun, 2015 3 commits
    • Dan Carpenter's avatar
      drm/amdkfd: fix some range checks in address watch ioctl · 7861c7a4
      Dan Carpenter authored
      buf_size_in_bytes must be large enough to hold ->num_watch_points and
      watch_mode so I have added a sizeof(int) * 2 to the minimum size.
      
      Also we have to subtract sizeof(*args) from the max args_idx limit so
      that it matches the allocation.  Also I changed a > to >= for the last
      compare.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      7861c7a4
    • Oded Gabbay's avatar
      6876f98b
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.2-atomic' of... · 284b2884
      Dave Airlie authored
      Merge tag 'omapdrm-4.2-atomic' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next
      
      omapdrm atomic modesetting support
      
      Atomic modesetting support for omapdrm.
      
      " we've had issues with omapdrm for years,
      which we've not been able to fix properly (like warnings/crashes when unloading
      modules, page-flips tearing, race issues with fbs). All those problems seem to
      be gone after this rewrite of omapdrm for atomic modesetting, and the resulting
      code is much cleaner and more maintainable."
      
      * tag 'omapdrm-4.2-atomic' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (43 commits)
        drm: omapdrm: new vblank and event handling
        drm: omapdrm: merge omap_crtc_flush and omap_crtc_atomic_flush
        drm: omapdrm: add lock for fb pinning
        drm: omapdrm: if omap_plane_atomic_update fails, disable plane
        drm: omapdrm: inline omap_plane_setup into update/disable
        drm: omapdrm: omap_plane_setup() cannot fail, use WARN
        drm: omapdrm: Don't setup planes manually from CRTC .enable()/.disable()
        drm: omapdrm: Don't flush CRTC when enabling or disabling it
        drm: omapdrm: Move encoder setup to encoder operations
        drm: omapdrm: Simplify DSS power management
        drm: omapdrm: Remove nested PM get/sync when configuring encoders
        drm: omapdrm: Support unlinking page flip events prematurely
        drm: omapdrm: omap_crtc_flush() isn't called with modeset locked
        drm: omapdrm: Don't get/put dispc in omap_crtc_flush()
        drm: omapdrm: Make the omap_crtc_flush function static
        drm: omapdrm: Remove omap_plane enabled field
        drm: omapdrm: Remove omap_crtc enabled field
        drm: omapdrm: Move crtc info out of the crtc structure
        drm: omapdrm: Move plane info and win out of the plane structure
        drm: omapdrm: Switch crtc and plane set_property to atomic helpers
        ...
      284b2884
  3. 12 Jun, 2015 36 commits