1. 20 Sep, 2016 13 commits
  2. 19 Sep, 2016 8 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
    • Daniel Vetter's avatar
      6e05f3d3
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-09-19' of git://anongit.freedesktop.org/drm-intel into drm-next · 9f8cf165
      Dave Airlie authored
      Just random misc stuff that Sean/Sumit&Archit picked up while I relaxed.
      Well except for one commit:
      
      * tag 'topic/drm-misc-2016-09-19' of git://anongit.freedesktop.org/drm-intel:
        drm: Only use compat ioctl for addfb2 on X86/IA64
        drm/qxl: squash lines for simple wrapper functions
        drm/bridge: analogix_dp: squash lines for simple wrapper functions
        drm/radeon: squash lines for simple wrapper functions
        drm/amdgpu: squash lines for simple wrapper functions
        dma-buf/sync-file: Avoid enable fence signaling if poll(.timeout=0)
        drm/fence: allow fence waiting to be interrupted by userspace
        drm: Move property validation to a helper, v2.
        drm/bridge: adv7511: add support for the 2nd chip
      9f8cf165
    • Steve Longerbeam's avatar
      gpu: ipu-v3: Add queued image conversion support · cd98e85a
      Steve Longerbeam authored
      This patch implements image conversion support using the IC tasks, with
      tiling to support scaling to and from images up to 4096x4096. Image
      rotation is also supported. Image conversion requests are added to
      a run queue under the IC tasks.
      
      The internal API is subsystem agnostic (no V4L2 dependency except
      for the use of V4L2 fourcc pixel formats).
      
      Callers prepare for image conversion by calling
      ipu_image_convert_prepare(), which initializes the parameters of
      the conversion. The caller passes in the ipu and IC task to use for
      the conversion, the input and output image formats, a rotation mode,
      and a completion callback and completion context pointer:
      
      struct ipu_image_converter_ctx *
      ipu_image_convert_prepare(struct ipu_soc *ipu, enum ipu_ic_task ic_task,
                                struct ipu_image *in, struct ipu_image *out,
                                enum ipu_rotate_mode rot_mode,
                                ipu_image_converter_cb_t complete,
                                void *complete_context);
      
      A new conversion context is created that is added to an IC task
      context queue. The caller is given the new conversion context,
      which can then be passed to the further APIs:
      
      int ipu_image_convert_queue(struct ipu_image_converter_run *run);
      
      This queues the given image conversion request run to a run queue,
      and starts the conversion immediately if the run queue is empty. Only
      the physaddr's of the input and output image buffers are needed,
      since the conversion context was created previously with
      ipu_image_convert_prepare(). When the conversion completes, the run
      pointer is returned to the completion callback.
      
      void ipu_image_convert_abort(struct ipu_image_converter_ctx *ctx);
      
      This will abort any active or pending conversions for this context.
      Any currently active or pending runs belonging to this context are
      returned via the completion callback with an error status.
      
      void ipu_image_convert_unprepare(struct ipu_image_converter_ctx *ctx);
      
      Unprepares the conversion context. Any active or pending runs will
      be aborted by calling ipu_image_convert_abort().
      Signed-off-by: default avatarSteve Longerbeam <steve_longerbeam@mentor.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      cd98e85a
    • Steve Longerbeam's avatar
      gpu: ipu-v3: Add ipu_rot_mode_is_irt() · 8b9c3d50
      Steve Longerbeam authored
      Add a macro that returns boolean true if the given ipu_rotate_mode
      requires the use of the Image Rotator.
      Signed-off-by: default avatarSteve Longerbeam <steve_longerbeam@mentor.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      8b9c3d50
    • LABBE Corentin's avatar
      gpu: ipu-v3: fix a possible NULL dereference · e92e4478
      LABBE Corentin authored
      of_match_device could return NULL, and so cause a NULL pointer
      dereference later.
      
      For fixing this problem, we use of_device_get_match_data(), this will
      simplify the code a little by using a standard function for
      getting the match data.
      
      Testing the return value of of_device_get_match_data is also necessary
      for avoiding a second NULL deref later on devtype.
      Signed-off-by: default avatarLABBE Corentin <clabbe.montjoie@gmail.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      e92e4478
  3. 16 Sep, 2016 19 commits