1. 14 4月, 2015 2 次提交
    • J
      drm: fix trivial typo mistake · 2b1193d5
      John Hunter 提交于
      Signed-off-by: NJohn Hunter <zhjwpku@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      2b1193d5
    • M
      drm: Make integer overflow checking cover universal cursor updates (v2) · 3968be94
      Matt Roper 提交于
      Our legacy SetPlane updates perform integer overflow checking on a
      plane's destination rectangle in drm_mode_setplane(), and atomic updates
      handled as part of a drm_atomic_state transaction do the same checking
      in drm_atomic_plane_check().  However legacy cursor updates that get
      routed through universal plane interfaces may bypass this overflow
      checking if the driver's .update_plane is serviced by the transitional
      plane helpers rather than the full atomic plane helpers.
      
      Move the check for destination rectangle integer overflow from the
      drm_mode_setplane() to __setplane_internal() so that it also covers
      cursor operations.
      
      This fixes an issue first noticed with i915 commit:
      
              commit ff42e093
              Author: Daniel Vetter <daniel.vetter@ffwll.ch>
              Date:   Mon Mar 2 16:35:20 2015 +0100
      
                  Revert "drm/i915: Switch planes from transitional helpers to full
                  atomic helpers"
      
      The above revert switched us from full atomic helpers back to the
      transitional helpers, and in doing so we lost the overflow checking here
      for universal cursor updates.  Even though such extreme cursor positions
      are unlikely to actually happen in the wild, we still don't want there
      to be a change of behavior when drivers switch from transitional helpers
      to full helpers.
      
      v2: Move check from setplane ioctl to setplane_internal rather than
          adding an additional copy of the checks to the transitional plane
          helpers.  (Daniel)
      
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Testcase: igt/kms_cursor_crc
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84269Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      3968be94
  2. 13 4月, 2015 4 次提交
  3. 12 4月, 2015 1 次提交
  4. 08 4月, 2015 4 次提交
  5. 07 4月, 2015 5 次提交
  6. 02 4月, 2015 1 次提交
  7. 01 4月, 2015 3 次提交
    • C
    • D
      Merge tag 'topic/drm-misc-2015-03-31' of git://anongit.freedesktop.org/drm-intel into drm-next · 53d8858b
      Dave Airlie 提交于
      Final drm-misc pull for 4.0, just various things all over, including a few
      more important atomic fixes. btw I didn't pick up the vmwgfx patch from
      Ville's series, but one patch has one hunk touching vmwgfx and
      Thomas/Jakob didn't get around to ack it. I figured it's simple enough to
      be ok though.
      
      * tag 'topic/drm-misc-2015-03-31' of git://anongit.freedesktop.org/drm-intel:
        drm: line wrap DRM_IOCTL_DEF* macros
        drm/atomic: Don't try to free a NULL state
        drm/atomic: Clear crtcs, connectors and planes when clearing state
        drm: Rewrite drm_ioctl_flags() to resemble the new drm_ioctl() code
        drm: Use max() to make the ioctl alloc size code cleaner
        drm: Simplify core vs. drv ioctl handling
        drm: Drop ioctl->cmd_drv
        drm: Fix DRM_IOCTL_DEF_DRV()
        drm/atomic-helpers: Properly avoid full modeset dance
        drm: atomic: Allow setting CRTC active property
        drm: atomic: Expose CRTC active property
        drm: crtc_helper: Update hwmode before mode_set call
        drm: mode: Allow NULL modes for equality check
        drm: fb_helper: Simplify exit condition
        drm: mode: Fix typo in kerneldoc
        drm/dp: Print the number of bytes processed for aux nacks
      53d8858b
    • D
      Merge tag 'drm-intel-next-2015-03-27-merge' of... · 9e87e48f
      Dave Airlie 提交于
      Merge tag 'drm-intel-next-2015-03-27-merge' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      This backmerges 4.0-rc6 due to the recent fixes in rc5/6
      
      - DP link rate refactoring from Ville
      - byt/bsw rps tuning from Chris
      - kerneldoc for the shrinker code
      - more dynamic ppgtt pte work (Michel, Ben, ...)
      - vlv dpll code refactoring to prep fro bxt (Imre)
      - refactoring the sprite colorkey code (Ville)
      - rotated ggtt view support from Tvrtko
      - roll out struct drm_atomic_state to prep for atomic update (Ander)
      
      * tag 'drm-intel-next-2015-03-27-merge' of git://anongit.freedesktop.org/drm-intel: (473 commits)
        Linux 4.0-rc6
        arm64: juno: Fix misleading name of UART reference clock
        drm/i915: Update DRIVER_DATE to 20150327
        drm/i915: Skip allocating shadow batch for 0-length batches
        drm/i915: Handle error to get connector state when staging config
        drm/i915: Compare GGTT view structs instead of types
        drm/i915: fix simple_return.cocci warnings
        drm/i915: Add module param to test the load detect code
        drm/i915: Remove usage of encoder->new_crtc from clock computations
        drm/i915: Don't look at staged config crtc when changing DRRS state
        drm/i915: Convert intel_pipe_will_have_type() to using atomic state
        drm/i915: Pass an atomic state to modeset_global_resources() functions
        drm/i915: Add dynamic page trace events
        drm/i915: Finish gen6/7 dynamic page table allocation
        drm/i915: Remove unnecessary gen6_ppgtt_unmap_pages
        drm/i915: Fix i915_dma_map_single positive error code
        drm/i915: Prevent out of range pt in gen6_for_each_pde
        drm/i915: fix definition of the DRM_IOCTL_I915_GET_SPRITE_COLORKEY ioctl
        drm/i915: Rip out GET_SPRITE_COLORKEY ioctl
        watchdog: imgpdc: Fix default heartbeat
        ...
      9e87e48f
  8. 31 3月, 2015 3 次提交
  9. 30 3月, 2015 10 次提交
  10. 29 3月, 2015 7 次提交