1. 27 Mar, 2015 3 commits
    • Ville Syrjälä's avatar
      drm: Drop ioctl->cmd_drv · 7e7392a6
      Ville Syrjälä authored
      ioctl->cmd_drv is pointless and we can just as well stick the full ioctl
      definition into ioctl->cmd.
      
      Cc: Jakob Bornecrantz <jakob@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      7e7392a6
    • Ville Syrjälä's avatar
      drm: Fix DRM_IOCTL_DEF_DRV() · 9c7d3d3e
      Ville Syrjälä authored
      Currently DRM_IOCTL_DEF_DRV does '[DRM_IOCTL_NR(DRM_##ioctl)]' which
      doesn't make much sense since DRM_##ioctl is already a the raw ioctl
      number. So change it to 'DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE'
      which means the DRM_IOCTL_NR() now makes sense, and also this also means
      if there's a mistake in the DRM_IOCTL_##ioctl macros we might get a
      warning about it (eg. we would have gotten a sparse warning about the
      i915 colorkey get/set ioctl being defined to be the same thing).
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      9c7d3d3e
    • Daniel Vetter's avatar
      drm/atomic-helpers: Properly avoid full modeset dance · 4218a32f
      Daniel Vetter authored
      Legacy setCrtc has a nice fastpath for just updating the frontbuffer
      when the output routing doesn't change. Which I of course tried to
      keep working, except that I fumbled the job: The helpers correctly
      compute ->mode_changed, CRTC updates get correctly skipped but
      connector functions are called unconditionally.
      
      Fix this.
      
      v2: For the disable sided connector->state->crtc might be NULL.
      Instead look at the old_connector_state->crtc, but still use the new
      crtc state for that old crtc. Reported by Thierry.
      Reported-and-Tested-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (v1)
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (v1)
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      4218a32f
  2. 23 Mar, 2015 7 commits
  3. 22 Mar, 2015 3 commits
    • Dave Airlie's avatar
      Merge branch 'drm/next/rcar-du' of git://linuxtv.org/pinchartl/fbdev into drm-next · ae10c224
      Dave Airlie authored
      rcar-du fixes
      
      * 'drm/next/rcar-du' of git://linuxtv.org/pinchartl/fbdev:
        drm: rcar-du: Enable the atomic updates API
        drm: rcar-du: Don't initialize event->pipe field
        drm: rcar-du: Fix framebuffer reference leak through plane state
        MAINTAINERS: Remove rcar-du.h entry
      ae10c224
    • Dave Airlie's avatar
      Merge branch 'drm/next/adv7511' of git://linuxtv.org/pinchartl/fbdev into drm-next · e8b6fe69
      Dave Airlie authored
      adv7511 fixes.
      
      * 'drm/next/adv7511' of git://linuxtv.org/pinchartl/fbdev:
        drm: adv7511: Refactor power management
        drm: adv7511: Fix nested sleep when reading EDID
        drm: adv7511: Fix DDC error interrupt handling
      e8b6fe69
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.1' of git://people.freedesktop.org/~agd5f/linux into drm-next · b3ede177
      Dave Airlie authored
      - DP MST support (disabled by default)
      - non-ATOM aux support (DCE5+)
      - output csc support for clamped RGB
      - Lots of new queries for profiling, Gallium HUD, etc.
      - Misc fixes
      
      * 'drm-next-4.1' of git://people.freedesktop.org/~agd5f/linux: (40 commits)
        drm/radeon: add DisplayPort MST support (v2)
        drm/radeon: improve encoder picking functions (v2)
        drm/radeon: export max link rate calculation
        drm/radeon: add new atombios encoder/transmitter interfaces
        drm/radeon: add some MST registers
        radeon/fb: add wrapper functions around fb connector add/remove
        radeon/cik: add support for short HPD irqs
        radeon/si: add support for short HPD irqs
        radeon/evergreen: add support for short HPD irqs
        radeon: introduce a dp_work handler
        drm/dp_mst: add a function to retrieve vcpi slots
        drm/radeon: program auxch directly (v2)
        drm/radeon: fix doublescan modes (v2)
        drm/radeon: typo in parameter description
        drm/radeon: add support for read reg query from radeon info ioctl
        drm/radeon: add get_allowed_info_register for CIK
        drm/radeon: add get_allowed_info_register for SI
        drm/radeon: add get_allowed_info_register for cayman/TN
        drm/radeon: add get_allowed_info_register for EG/BTC
        drm/radeon: add get_allowed_info_register for r6xx/r7xx
        ...
      b3ede177
  4. 19 Mar, 2015 27 commits