1. 29 Jan, 2019 2 commits
    • Arnd Bergmann's avatar
      drm/msm/gpu: fix building without debugfs · d4df1714
      Arnd Bergmann authored
      When debugfs is disabled, but coredump is turned on, the adreno driver fails to build:
      
      drivers/gpu/drm/msm/adreno/a3xx_gpu.c:460:4: error: 'struct msm_gpu_funcs' has no member named 'show'
         .show = adreno_show,
          ^~~~
      drivers/gpu/drm/msm/adreno/a3xx_gpu.c:460:11: note: (near initialization for 'funcs.base')
      drivers/gpu/drm/msm/adreno/a3xx_gpu.c:460:11: error: initialization of 'void (*)(struct msm_gpu *, struct msm_gem_submit *, struct msm_file_private *)' from incompatible pointer type 'void (*)(struct msm_gpu *, struct msm_gpu_state *, struct drm_printer *)' [-Werror=incompatible-pointer-types]
      drivers/gpu/drm/msm/adreno/a3xx_gpu.c:460:11: note: (near initialization for 'funcs.base.submit')
      drivers/gpu/drm/msm/adreno/a4xx_gpu.c:546:4: error: 'struct msm_gpu_funcs' has no member named 'show'
      drivers/gpu/drm/msm/adreno/a5xx_gpu.c:1460:4: error: 'struct msm_gpu_funcs' has no member named 'show'
      drivers/gpu/drm/msm/adreno/a6xx_gpu.c:769:4: error: 'struct msm_gpu_funcs' has no member named 'show'
      drivers/gpu/drm/msm/msm_gpu.c: In function 'msm_gpu_devcoredump_read':
      drivers/gpu/drm/msm/msm_gpu.c:289:12: error: 'const struct msm_gpu_funcs' has no member named 'show'
      
      Adjust the #ifdef to make it build again.
      
      Fixes: c0fec7f5 ("drm/msm/gpu: Capture the GPU state on a GPU hang")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      d4df1714
    • Kristian H. Kristensen's avatar
      drm/msm: Unblock writer if reader closes file · cd70d7ad
      Kristian H. Kristensen authored
      Prevents deadlock when fifo is full and reader closes file.
      Signed-off-by: default avatarKristian H. Kristensen <hoegsberg@chromium.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      cd70d7ad
  2. 24 Jan, 2019 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2019-01-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · f91168f4
      Dave Airlie authored
      drm-misc-next for 5.1:
      
      UAPI Changes:
       - Addition of the Allwinner tiled format modifier
      
      Cross-subsystem Changes:
      
      Core Changes:
       - dma-buf documentation improvements
       - Removal of now unused fbdev helpers
       - Addition of new drm fbdev helpers
       - Improvements to tinydrm
       - Addition of new drm_fourcc helpers
       - Impromevents to i2c-over-aux to handle I2C_M_STOP
      
      Driver Changes:
       - Add support for the TI DS90C185 LVDS bridge
       - Improvements to the thc63lvdm83d bridge
       - Improvements to sun4i YUV and scaler support
       - Fix to the powerdown sequence of panel-innolux
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190123110317.h4tovujaydo2bfz2@flea
      f91168f4
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2019-01-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 8ca4fd04
      Dave Airlie authored
      - Unwind failure on pinning the gen7 PPGTT (Chris)
      - Fastset updates to make sure DRRS and PSR are properly enabled (Hans)
      - Header include clean-up (Brajeswar, Jani)
      - Improvements and clean-up on debugfs (Chris, Jani)
      - Avoid division by zero on CNL clocks setup (Xiao)
      - Restrict PSMI context load w/a to Haswell GT1 (Chris)
      - Remove HW semaphores for gen7 inter-engine sync (Chris)
      - Pull the render flush into breadcrumb emission (Chris)
      - i915_params copy and free helpers and other reorgs and docs (Jani)
      - Remove has_pooled_eu static initializer (Tvrtko)
      - Updates on kerneldoc (Chris)
      - Remove redundant trailing request flush (Chris)
      - ringbuffer irq seqno fixes and clean-up (Chris)
      - splitting off runtime device info and other clean-up around (Jani)
      - Selftests improvements (Chris, Daniele)
      - Flush RING_IMR changes before changing the global GT IMR on gen6 and HSW (Chris)
      - Some improvements and fixes around GPU reset and GPU hang report (Chris)
      - Remove partial attempt to swizzle on pread/pwrite (Chris)
      - Return immediately if trylock fails for direct-reclaim (Chris)
      - Downgrade scare message for unknown HuC firmware (Jani)
      - ACPI / PMIC for MIPI / DSI (Hans)
      - Reduce i915_request_alloc retirement to local context (Chris)
      - Init per-engine WAs for all engines (Daniele)
      - drop DPF code for gen8+ (Daniele)
      - Guard error capture against unpinned vma (Chris)
      - Use mutex_lock_killable from inside the shrinker (Chris)
      - Removing pooling from struct_mutex from vmap shrinker (Chris)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # gpg: Signature made Fri 11 Jan 2019 09:58:18 AEST
      # gpg:                using RSA key FA625F640EEB13CA
      # gpg: Good signature from "Rodrigo Vivi <rodrigo.vivi@intel.com>"
      # gpg:                 aka "Rodrigo Vivi <rodrigo.vivi@gmail.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6D20 7068 EEDD 6509 1C2C  E2A3 FA62 5F64 0EEB 13CA
      
      # Conflicts:
      #	drivers/gpu/drm/i915/intel_dp.c
      #	drivers/gpu/drm/i915/intel_drv.h
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190114183820.GA2855@intel.com
      8ca4fd04
  3. 22 Jan, 2019 3 commits
  4. 21 Jan, 2019 2 commits
  5. 18 Jan, 2019 28 commits
  6. 17 Jan, 2019 3 commits