1. 02 Nov, 2017 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2017-11-01' of git://people.freedesktop.org/~robclark/linux into drm-next · 87331c83
      Dave Airlie authored
       + preemption support for a5xx[1][2]
      
       + display fixes for 8x96 (snapdragon 820) including fixes for 4k scanout
         (hwpipe assignment re-work to handle multiple hwpipe assigned to plane
         for wide scanout)
      
       + async cursor plane updates and fixes
      
       + refactor adreno_bind/hwinit.. still defer fw loading until device open,
         but move clk/irq/etc to probe/bind time to fix issues when fw isn't
         present in filesys
      
       + clk/dt bindings cleanups w/ backward compat via msm_clk_get() (dt docs
         part ack'ed by Rob Herring)
      
       + fw loading re-work with helper to handle either /lib/firmware/qcom/$fw
         or /lib/firmware/$fw.. background, we've started landing fw for some of
         generations in linux-firmware, but there is a preference to put fw files
         under 'qcom' subdirectory, which is not what was done on android or for
         people who copied fw from android.  So now we first look in qcom subdir
         and then fallback to the original location.
      
       + bunch of GPU debugging enhancements, to dump full cmdline of processes
         that trigger faults, and to add a new debugfs to capture cmdstream of
         just submits that triggered faults.. both quite useful for piglit ;-)
      
      * tag 'drm-msm-next-2017-11-01' of git://people.freedesktop.org/~robclark/linux: (38 commits)
        drm/msm: use %z format modifier for printing size_t
        drm/msm/mdp5: Don't use async plane update path if plane visibility changes
        drm/msm/mdp5: mdp5_crtc: Restore cursor state only if LM cursors are enabled
        drm/msm/mdp5: Update mdp5_pipe_assign to spit out both planes
        drm/msm/mdp5: Prepare mdp5_pipe_assign for some rework
        drm/msm: remove mdp5_cursor_plane_funcs
        drm/msm: update cursors asynchronously through atomic
        drm/msm/atomic: switch to drm_atomic_helper_check
        drm/msm/mdp5: restore cursor state when enabling crtc
        drm/msm/mdp5: don't use autosuspend
        drm/msm/mdp5: ignore planes that are not visible
        drm/msm: dump submits which triggered gpu hang
        drm/msm: preserve IOVAs in submit's bo table
        drm/msm/rd: allow adding addition msg to top of dump
        drm/msm: split rd debugfs file
        drm/msm: add special _get_vaddr_active() for cmdstream dumps
        drm/msm: show task cmdline in gpu recovery messages
        drm/msm: dump a rd GPUADDR header for all buffers in the command
        drm/msm: Removed unused struct_mutex_task
        drm/msm: Implement preemption for A5XX targets
        ...
      87331c83
  2. 01 Nov, 2017 1 commit
    • Arnd Bergmann's avatar
      drm/msm: use %z format modifier for printing size_t · 39ae0d3e
      Arnd Bergmann authored
      The return type of ARRAY_SIZE() is size_t, so we have to use
      %zu instead of %lu to avoid this warning:
      
      drivers/gpu/drm/msm/msm_gpu.c: In function 'msm_gpu_init':
      drivers/gpu/drm/msm/msm_gpu.c:742:31: error: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Werror=format=]
      
      The warning it otherwise harmless as size_t is always the
      same size as unsigned long in all supported architectures,
      but gcc doesn't know that.
      
      Fixes: c2fceabca6d5 ("drm/msm: Support multiple ringbuffers")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      39ae0d3e
  3. 28 Oct, 2017 37 commits
  4. 26 Oct, 2017 1 commit
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next · 43106e25
      Dave Airlie authored
      Just a few fixes for 4.15.
      
      * 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux:
        drm/amd/amdgpu: Remove workaround for suspend/resume in uvd7
        drm/amdgpu: don't flush the TLB before initializing GART
        drm/amdgpu: minor cleanup for amdgpu_ttm_bind
        drm/amdgpu/psp: prevent page fault by checking write_frame address(v4)
        drm/amd/powerplay: retrieve the real-time coreClock values
        drm/amd/powerplay: fix performance drop on Vega10
        drm/amd/powerplay: add one smc message for Vega10
        drm/amd/powerplay: fix amd_powerplay_reset()
        amdgpu: add padding to the fence to handle ioctl.
        drm/amdgpu:fix wb_clear
        drm/amdgpu:fix vf_error_put
        drm/amdgpu/sriov:now must reinit psp
        drm/amdgpu: merge bios post checking functions
      43106e25