1. 28 Sep, 2016 3 commits
    • Dave Airlie's avatar
      Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next · f8049dd8
      Dave Airlie authored
      A bit smaller pull-req this time around.  Some continued DT binding
      cleanup to get the corresponding dts bits merged upstream (through
      other trees).  And explicit fence-fd support for submit ioctl.
      
      * 'msm-next' of git://people.freedesktop.org/~robclark/linux:
        drm/msm: bump kernel api version for explicit fencing
        drm/msm: submit support for out-fences
        drm/msm: move fence allocation out of msm_gpu_submit()
        drm/msm: submit support for in-fences
        drm/msm: extend the submit ioctl to pass in flags
        drm/msm/mdp5: Set rotation property initial value to DRM_ROTATE_0 insted of 0
        drm/msm/hdmi: don't print error when adding i2c adapter fails
        drm/msm/mdp4: mark symbols static where possible
        drm/msm: Remove call to reservation_object_test_signaled_rcu before wait
        drm/msm/hdmi: Clean up HDMI gpio DT bindings
        drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing
      f8049dd8
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-09-25' of git://anongit.freedesktop.org/drm-intel into drm-next · 3f346d5d
      Dave Airlie authored
      - more core cleanup patches to prep drm_file to be used for
        kernel-internal contexts (David Herrmann)
      - more split-up+docs for drm_crtc.c
      - lots of small fixes and polish all over
      
      * tag 'topic/drm-misc-2016-09-25' of git://anongit.freedesktop.org/drm-intel: (37 commits)
        drm: bridge: analogix/dp: mark symbols static where possible
        drm/bochs: mark bochs_connector_get_modes() static
        drm/bridge: analogix_dp: Improve panel on time
        drm/bridge: analogix_dp: Don't read EDID if panel present
        drm/bridge: analogix_dp: Remove duplicated code
        Revert "drm/i2c: tda998x: don't register the connector"
        drm: Fix plane type uabi breakage
        dma-buf/sync_file: free fences array in num_fences is 1
        drm/i2c: tda998x: don't register the connector
        drm: Don't swallow error codes in drm_dev_alloc()
        drm: Distinguish no name from ENOMEM in set_unique()
        drm: Remove dirty property from docs
        drm/doc: Document color space handling
        drm: Extract drm_color_mgmt.[hc]
        drm/doc: Polish plane composition property docs
        drm: Conslidate blending properties in drm_blend.[hc]
        drm/doc: Polish for drm_plane.[hc]
        drm: Extract drm_plane.[hc]
        drm/tilcdc: Add atomic and crtc headers to crtc.c
        drm: Fix typo in encoder docs
        ...
      3f346d5d
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2016-09-19' of git://people.freedesktop.org/~gabbayo/linux into drm-next · 196ebdcc
      Dave Airlie authored
      This is amdkfd's pull request for kernel 4.9. It contains a fix to a possible
      infinite loop bug and a couple of other minor "cleaning" patches.
      
      * tag 'drm-amdkfd-next-2016-09-19' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: Pass 'struct queue_propertices' by reference
        drm/amdkfd: Unify multiple calls to pr_debug() into one
        drm/amdkfd: Fix possible infinite loop
        drm/amdkfd: Reuse function to find a process through pasid
        drm/amdkfd: Add some missing memset zero'ing in queue init func
        drm/amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack
      196ebdcc
  2. 25 Sep, 2016 2 commits
  3. 24 Sep, 2016 3 commits
    • Sean Paul's avatar
      drm/bridge: analogix_dp: Improve panel on time · f2600d08
      Sean Paul authored
      In order to reduce the time required to turn on the panel, this patch
      makes 2 assumptions:
      1- In detect(): if there's a panel, we're connected.
      2- In get_modes(): if there's a panel, let the panel driver decide if
         it should prepare/unprepare in order to get the modes.
      
      The first is straightforward, and shouldn't need further explanation. The
      second should eliminate the prepare/unprepare delays from get_modes() in
      most cases, since panels generally hardcode their modes in the driver as
      opposed to reading EDID. If a panel does need to read EDID, it should be
      responsible for ensuring it's in a state in which it can.
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      f2600d08
    • Sean Paul's avatar
      drm/bridge: analogix_dp: Don't read EDID if panel present · 8c77e2c2
      Sean Paul authored
      If there's a panel connected to the analogix_dp bridge, rely on
      the panel driver for modes, rather than reading EDID *and* calling
      get_modes() on the panel.
      
      This allows panels with a valid EDID to read it in the panel driver
      (e.g. simple_panel), and panels with invalid EDID to homebrew modes
      in their get_modes implementation.
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      8c77e2c2
    • Tomeu Vizoso's avatar
      drm/bridge: analogix_dp: Remove duplicated code · 0d97ad03
      Tomeu Vizoso authored
      Remove code for reading the EDID and DPCD fields and use the helpers
      instead.
      
      Besides the obvious code reduction, other helpers are being added to the
      core that could be used in this driver and will be good to be able to
      use them instead of duplicating them.
      Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
      Tested-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
      Tested-by: default avatarSean Paul <seanpaul@chromium.org>
      Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Cc: Mika Kahola <mika.kahola@intel.com>
      Cc: Yakir Yang <ykk@rock-chips.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      0d97ad03
  4. 23 Sep, 2016 2 commits
  5. 22 Sep, 2016 12 commits
  6. 21 Sep, 2016 6 commits
  7. 20 Sep, 2016 3 commits
  8. 19 Sep, 2016 9 commits
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2016-09-19' of git://git.pengutronix.de/git/pza/linux into drm-next · 26e34d2d
      Dave Airlie authored
      imx-drm active plane reconfiguration, cleanup, FSU/IC/IRT/VDIC support
      
      - add active plane reconfiguration support (v4),
        use the atomic_disable callback
      - stop calling disable_plane manually in the plane destroy path
      - let mode cleanup destroy mode objects on driver unbind
      - drop deprecated load/unload drm_driver ops
      - add exclusive fence to plane state, so the atomic helper can
        wait on them, remove the open-coded fence wait from imx-drm
      - add low level deinterlacer (VDIC) support
      - add support for channel linking via the frame synchronisation unit (FSU)
      - add queued image conversion support for memory-to-memory scaling, rotation,
        and color space conversion, using IC and IRT.
      
      * tag 'imx-drm-next-2016-09-19' of git://git.pengutronix.de/git/pza/linux:
        gpu: ipu-v3: Add queued image conversion support
        gpu: ipu-v3: Add ipu_rot_mode_is_irt()
        gpu: ipu-v3: fix a possible NULL dereference
        drm/imx: parallel-display: detach bridge or panel on unbind
        drm/imx: imx-ldb: detach bridge on unbind
        drm/imx: imx-ldb: detach panel on unbind
        gpu: ipu-v3: Add FSU channel linking support
        gpu: ipu-v3: Add Video Deinterlacer unit
        drm/imx: add exclusive fence to plane state
        drm/imx: fold ipu_plane_disable into ipu_disable_plane
        drm/imx: don't destroy mode objects manually on driver unbind
        drm/imx: drop deprecated load/unload drm_driver ops
        drm/imx: don't call disable_plane in plane destroy path
        drm/imx: Add active plane reconfiguration support
        drm/imx: Use DRM_PLANE_COMMIT_NO_DISABLE_AFTER_MODESET flag
        drm/imx: ipuv3-crtc: Use the callback ->atomic_disable instead of ->disable
        gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel
      26e34d2d
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2016-09-19' of git://anongit.freedesktop.org/drm-intel into drm-next · b81a6179
      Dave Airlie authored
      - refactor the sseu code (Imre)
      - refine guc dmesg output (Dave Gordon)
      - more vgpu work
      - more skl wm fixes (Lyude)
      - refactor dpll code in prep for upfront link training (Jim Bride et al)
      - consolidate all platform feature checks into intel_device_info (Carlos Santa)
      - refactor elsp/execlist submission as prep for re-submission after hang
        recovery and eventually scheduling (Chris Wilson)
      - allow synchronous gpu reset handling, to remove tricky/impossible/fragile
        error recovery code (Chris Wilson)
      - prep work for nonblocking (execlist) submission, using fences to track
        depencies and drive elsp submission (Chris Wilson)
      - partial error recover/resubmission of non-guilty batches after hangs (Chris Wilson)
      - full dma-buf implicit fencing support (Chris Wilson)
      - dp link training fixes (Jim, Dhinkaran, Navare, ...)
      - obey dp branch device pixel rate/bpc/clock limits (Mika Kahola), needed for
        many vga dongles
      - bunch of small cleanups and polish all over, as usual
      
      [airlied: printing macros collided]
      
      * tag 'drm-intel-next-2016-09-19' of git://anongit.freedesktop.org/drm-intel: (163 commits)
        drm/i915: Update DRIVER_DATE to 20160919
        drm: Fix DisplayPort branch device ID kernel-doc
        drm/i915: use NULL for NULL pointers
        drm/i915: do not use 'false' as a NULL pointer
        drm/i915: make intel_dp_compute_bpp static
        drm: Add DP branch device info on debugfs
        drm/i915: Update bits per component for display info
        drm/i915: Check pixel rate for DP to VGA dongle
        drm/i915: Read DP branch device SW revision
        drm/i915: Read DP branch device HW revision
        drm/i915: Cleanup DisplayPort AUX channel initialization
        drm: Read DP branch device id
        drm: Helper to read max bits per component
        drm: Helper to read max clock rate
        drm: Drop VGA from bpc definitions
        drm: Add missing DP downstream port types
        drm/i915: Add ddb size field to device info structure
        drm/i915/guc: general tidying up (submission)
        drm/i915/guc: general tidying up (loader)
        drm/i915: clarify PMINTRMSK/pm_intr_keep usage
        ...
      b81a6179
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next · bd4a68da
      Dave Airlie authored
      More radeon and amdgpu changes for 4.9. Highlights:
      - Initial SI support for amdgpu (controlled by a Kconfig option)
      - misc ttm cleanups
      - runtimepm fixes
      - S3/S4 fixes
      - power improvements
      - lots of code cleanups and optimizations
      
      * 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux: (151 commits)
        drm/ttm: remove cpu_address member from ttm_tt
        drm/radeon/radeon_device: remove unused function
        drm/amdgpu: clean function declarations in amdgpu_ttm.c up
        drm/amdgpu: use the new ring ib and dma frame size callbacks (v2)
        drm/amdgpu/vce3: add ring callbacks for ib and dma frame size
        drm/amdgpu/vce2: add ring callbacks for ib and dma frame size
        drm/amdgpu/vce: add common ring callbacks for ib and dma frame size
        drm/amdgpu/uvd6: add ring callbacks for ib and dma frame size
        drm/amdgpu/uvd5: add ring callbacks for ib and dma frame size
        drm/amdgpu/uvd4.2: add ring callbacks for ib and dma frame size
        drm/amdgpu/sdma3: add ring callbacks for ib and dma frame size
        drm/amdgpu/sdma2.4: add ring callbacks for ib and dma frame size
        drm/amdgpu/cik_sdma: add ring callbacks for ib and dma frame size
        drm/amdgpu/si_dma: add ring callbacks for ib and dma frame size
        drm/amdgpu/gfx8: add ring callbacks for ib and dma frame size
        drm/amdgpu/gfx7: add ring callbacks for ib and dma frame size
        drm/amdgpu/gfx6: add ring callbacks for ib and dma frame size
        drm/amdgpu/ring: add an interface to get dma frame and ib size
        drm/amdgpu/sdma3: drop unused functions
        drm/amdgpu/gfx6: drop gds_switch callback
        ...
      bd4a68da
    • Edward O'Callaghan's avatar
      drm/amdkfd: Pass 'struct queue_propertices' by reference · e88a614c
      Edward O'Callaghan authored
      Allow init_queue() to take 'struct queue_properties' by reference.
      Signed-off-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
      Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      e88a614c
    • Edward O'Callaghan's avatar
    • Edward O'Callaghan's avatar
      drm/amdkfd: Fix possible infinite loop · 1d602430
      Edward O'Callaghan authored
      When the loop predicating timeout parameter passed happens to
      not be a multiple of 20 the unsigned integer will overflow and
      the loop will become unbounded.
      Signed-off-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
      Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      1d602430
    • Edward O'Callaghan's avatar
      drm/amdkfd: Reuse function to find a process through pasid · ad16a469
      Edward O'Callaghan authored
      The kfd_lookup_process_by_pasid() is just for that purpose,
      so use it instead of repeating the code.
      
      v2: return on the condition (p == NULL) instead of BUG_ON(!p).
      Signed-off-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
      Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      ad16a469
    • Edward O'Callaghan's avatar
    • Edward O'Callaghan's avatar
      drm/amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack · 585f0e6c
      Edward O'Callaghan authored
      Dereference the one time and unpack the lower and upper 32bit
      portions with the proper kernel helper macros.
      Signed-off-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
      Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      585f0e6c