1. 15 Sep, 2017 1 commit
  2. 14 Sep, 2017 1 commit
    • Jean Delvare's avatar
      drm/amdgpu: revert tile table update for oland · 4cf97582
      Jean Delvare authored
      Several users have complained that the tile table update broke Oland
      support. Despite several attempts to fix it, the root cause is still
      unknown at this point and no solution is available. As it is not
      acceptable to leave a known regression breaking a major functionality
      in the kernel for several releases, let's just reverse this
      optimization for now. It can be implemented again later if and only
      if the breakage is understood and fixed.
      
      As there were no complaints for Hainan so far, only the Oland part of
      the offending commit is reverted. Optimization is preserved on
      Hainan, so this commit isn't an actual revert of the original.
      
      This fixes bug #194761:
      https://bugzilla.kernel.org/show_bug.cgi?id=194761Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Fixes: f8d9422e ("drm/amdgpu: update tile table for oland/hainan")
      Cc: Flora Cui <Flora.Cui@amd.com>
      Cc: Junwei Zhang <Jerry.Zhang@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Marek Olšák <maraeo@gmail.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      4cf97582
  3. 13 Sep, 2017 2 commits
  4. 29 Aug, 2017 5 commits
    • Dave Airlie's avatar
      Merge branch 'drm-vmwgfx-next' of git://people.freedesktop.org/~syeh/repos_linux into drm-next · 7846b12f
      Dave Airlie authored
      vmwgfx add fence fd support.
      
      * 'drm-vmwgfx-next' of git://people.freedesktop.org/~syeh/repos_linux:
        drm/vmwgfx: Bump the version for fence FD support
        drm/vmwgfx: Add export fence to file descriptor support
        drm/vmwgfx: Add support for imported Fence File Descriptor
        drm/vmwgfx: Prepare to support fence fd
        drm/vmwgfx: Fix incorrect command header offset at restart
        drm/vmwgfx: Support the NOP_ERROR command
        drm/vmwgfx: Restart command buffers after errors
        drm/vmwgfx: Move irq bottom half processing to threads
        drm/vmwgfx: Don't use drm_irq_[un]install
      7846b12f
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-next-for-v4.14' of... · 7ebdb0dd
      Dave Airlie authored
      Merge tag 'exynos-drm-next-for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Summary:
      - Provide NV12MT pixel format support of Mixer driver in generic way.
      - Refactor Exynos KMS drivers
        . Refactoring to panel detection way
        . Refactoring to setting up possible_crtcs
        . Refactoring to video and command mode support
      - Some cleanups
      
      * tag 'exynos-drm-next-for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers
        drm/exynos: consistent use of cpp
        drm/exynos: mixer: remove src offset from mixer_graph_buffer()
        drm/exynos: mixer: simplify mixer_graph_buffer()
        drm/exynos: mixer: simplify vp_video_buffer()
        drm/exynos: mixer: enable NV12MT support for the video plane
        drm/exynos: mixer: fix chroma comment in vp_video_buffer()
        arm64: dts: exynos: remove i80-if-timings nodes
        dt-bindings: exynos5433-decon: remove i80-if-timings property
        drm/exynos/decon5433: use mode info stored in CRTC to detect i80 mode
        drm/exynos: add mode_valid callback to exynos_drm
        drm/exynos/decon5433: refactor irq requesting code
        drm/exynos/mic: use mode info stored in CRTC to detect i80 mode
        drm/exynos/dsi: propagate info about command mode from panel
        drm/exynos/dsi: refactor panel detection logic
        drm/exynos: use helper to set possible crtcs
        drm/exynos/decon5433: use readl_poll_timeout helpers
      7ebdb0dd
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2017-08-28' of... · 095e2d04
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2017-08-28' of git://anongit.freedesktop.org/git/drm-misc into drm-next
      
      UAPI Changes:
      - Rename u32 to __u32 in struct drm_format_modifier_blob (Lionel)
      
      Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
      
      * tag 'drm-misc-next-fixes-2017-08-28' of git://anongit.freedesktop.org/git/drm-misc:
        drm: rename u32 in __u32 in uapi
      095e2d04
    • Jason Ekstrand's avatar
      drm/syncobj: Add a signal ioctl (v3) · ffa9443f
      Jason Ekstrand authored
      This IOCTL provides a mechanism for userspace to trigger a sync object
      directly.  There are other ways that userspace can trigger a syncobj
      such as submitting a dummy batch somewhere or hanging on to a triggered
      sync_file and doing an import.  This just provides an easy way to
      manually trigger the sync object without weird hacks.
      
      The motivation for this IOCTL is Vulkan fences.  Vulkan lets you create
      a fence already in the signaled state so that you can wait on it
      immediatly without stalling.  We could also handle this with a new
      create flag to ask the driver to create a syncobj that is already
      signaled but the IOCTL seemed a bit cleaner and more generic.
      
      v2:
       - Take an array of sync objects (Dave Airlie)
      v3:
       - Throw -EINVAL if pad != 0
      Signed-off-by: default avatarJason Ekstrand <jason@jlekstrand.net>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      ffa9443f
    • Jason Ekstrand's avatar
      drm/syncobj: Add a reset ioctl (v3) · aa4035d2
      Jason Ekstrand authored
      This just resets the dma_fence to NULL so it looks like it's never been
      signaled.  This will be useful once we add the new wait API for allowing
      wait on "submit and signal" behavior.
      
      v2:
       - Take an array of sync objects (Dave Airlie)
      v3:
       - Throw -EINVAL if pad != 0
      Signed-off-by: default avatarJason Ekstrand <jason@jlekstrand.net>
      Reviewed-by: Christian König <christian.koenig@amd.com> (v1)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      aa4035d2
  5. 28 Aug, 2017 18 commits
  6. 25 Aug, 2017 13 commits