1. 18 Jan, 2018 3 commits
  2. 16 Jan, 2018 8 commits
  3. 10 Jan, 2018 17 commits
  4. 09 Jan, 2018 3 commits
    • Arnd Bergmann's avatar
      drm/amdgpu: use %pap format string for phys_addr_t · fb8baefc
      Arnd Bergmann authored
      The newly added get_local_mem_info() function prints a phys_addr_t
      using 0x%llx, which is wrong on most 32-bit systems, as shown by
      this warning:
      
      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c: In function 'get_local_mem_info':
      include/linux/kern_levels.h:5:18: error: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'resource_size_t {aka unsigned int}' [-Werror=format=]
      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:297:31: note: format string is defined here
        pr_debug("Address base: 0x%llx limit 0x%llx public 0x%llx private 0x%llx\n",
      
      Passing the address by reference to the special %pap format string will
      produce the correct output and avoid the warning.
      
      Fixes: 30f1c042 ("drm/amdgpu: Implement get_local_mem_info")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      fb8baefc
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2018-01-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 6213640f
      Dave Airlie authored
      drm-misc-next for 4.16:
      
      Cross-subsystem Changes:
      
      - some dt-binding changes for Ilitek and sun4i devices
      
      Core Changes:
      
      - panel_orientation_quirks: fix tainted kernel
      
      Driver Changes:
      
      - panel changes
      - A83T and LVDS support to sun4i
      
      * tag 'drm-misc-next-2018-01-08' of git://anongit.freedesktop.org/drm/drm-misc:
        drm/panel: lvds: Add support for the power-supply property
        dt-bindings: panel: lvds: Document power-supply property
        drm/sun4i: Add A83T support
        drm/sun4i: Add LVDS support
        drm/sun4i: Create minimal multipliers and dividers
        drm/sun4i: Force the mixer rate at 150MHz
        dt-bindings: display: sun4i-drm: Add A83T pipeline
        dt-bindings: display: sun4i-drm: Add LVDS properties
        drm/tinydrm: add driver for ST7735R panels
        dt-bindings: Add binding for Sitronix ST7735R display panels
        dt-bindings: add jianda vendor prefix
        drm/tinydrm: Update ILI9225 compatible string
        dt-bindings: update compatible string for ILI9225
        dt-bindings: Add "vot" vendor prefix
        drm: fix tainted kernel caused by drm_panel_orientation_quirks.c
        drm/panel: Add Ilitek ILI9322 driver
        drm/panel: Add DT bindings for Ilitek ILI9322
      6213640f
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-next · bd3c0094
      Dave Airlie authored
      Last few updates for 4.16:
      - Misc fixes for amdgpu
      - Enable swapout for reserved BOs during allocation for ttm
      - Misc cleanups for ttm
      
      * 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux: (24 commits)
        drm/amdgpu: Correct the IB size of bo update mapping.
        drm/ttm: enable swapout for reserved BOs during allocation
        drm/ttm: add new function to check if bo is allowable to evict or swapout
        drm/ttm: use an operation ctx for ttm_tt_bind
        drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2)
        drm/ttm: use an operation ctx for ttm_mem_global_alloc_page
        drm/ttm: use an operation ctx for ttm_mem_global_alloc
        drm/ttm: call ttm_bo_swapout directly when ttm shrink
        drm/vmwgfx: remove the default io_mem_pfn set
        drm/virtio: remove the default io_mem_pfn set
        drm/radeon: remove the default io_mem_pfn set
        drm/qxl: remove the default io_mem_pfn set
        drm/nouveau: remove the default io_mem_pfn set
        drm/mgag200: remove the default io_mem_pfn set
        drm/cirrus: remove the default io_mem_pfn set
        drm/bochs: remove the default io_mem_pfn set
        drm/ast: remove the default io_mem_pfn set
        drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn
        drm/amdgpu: fix VM faults with per VM BOs
        drm/ttm: drop the spin in delayed delete if the trylock doesn't work
        ...
      bd3c0094
  5. 05 Jan, 2018 3 commits
  6. 04 Jan, 2018 6 commits
    • Dave Airlie's avatar
      Merge branch 'drm-armada-devel-4.15' of git://git.armlinux.org.uk/~rmk/linux-arm into drm-next · bcd21a47
      Dave Airlie authored
      This series builds upon the set of fixes previously submitted to move
      Armada DRM closer to atomic modeset.  We're nowhere near yet, but this
      series helps to get us closer by unifying some of the differences
      between the primary and overlay planes.
      
      New features added allows userspace to disable the primary plane if
      overlay is full screen and there's nothing obscuring the colorkey -
      this saves having to fetch an entire buffer containing nothing but
      colorkey when displaying full screen video.
      
      [airlied: fixup for atomic plane helper rename:
      a01cb8ba
      Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Date:   Wed Nov 1 22:16:19 2017 +0200
      
          drm: Move drm_plane_helper_check_state() into drm_atomic_helper.c
      ]
      
      * 'drm-armada-devel-4.15' of git://git.armlinux.org.uk/~rmk/linux-arm: (29 commits)
        drm/armada: expand overlay trace entry
        drm/armada: implement primary plane update
        drm/armada: extract register generation from armada_drm_primary_set()
        drm/armada: wait for previous work when moving overlay window
        drm/armada: move overlay plane register update generation
        drm/armada: re-organise overlay register update generation
        drm/armada: disable planes at next blanking period
        drm/armada: avoid work allocation
        drm/armada: allow armada_drm_plane_work_queue() to silently fail
        drm/armada: use drm_plane_helper_check_state()
        drm/armada: only enable HSMOOTH if scaling horizontally
        drm/armada: move writes of LCD_SPU_SRAM_PARA1 under lock
        drm/armada: move regs into armada_plane_work
        drm/armada: move event sending into armada_plane_work
        drm/armada: move fb retirement into armada_plane_work
        drm/armada: move overlay plane work out from under spinlock
        drm/armada: clear plane enable bit when disabling
        drm/armada: clean up armada_drm_crtc_plane_disable()
        drm/armada: allow the primary plane to be disabled
        drm/armada: wait and cancel any pending frame work at disable
        ...
      bcd21a47
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · 066f9eb4
      Dave Airlie authored
      Highlights this time:
      1. Fix for a nasty Kconfig dependency chain issue from Philipp.
      2. Occlusion query buffer address added to the cmdstream validator by
      Christian.
      3. Fixes and cleanups to the job handling from me. This allows us to
      turn on the GPU performance profiling added in the last cycle.
      It is also prep work for hooking in the DRM GPU scheduler, which I hope
      to land for the next cycle.
      
      * 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux: (32 commits)
        drm/etnaviv: use memset32 to init pagetable
        drm/etnaviv: move submit free out of critical section
        drm/etnaviv: re-enable perfmon support
        drm/etnaviv: couple runtime PM management to submit object lifetime
        drm/etnaviv: move GPU active handling to bo pin/unpin
        drm/etnaviv: move cmdbuf into submit object
        drm/etnaviv: use submit exec_state for perfmon sampling
        drm/etnaviv: move exec_state to submit object
        drm/etnaviv: move PMRs to submit object
        drm/etnaviv: refcount the submit object
        drm/etnaviv: move ww_acquire_ctx out of submit object
        drm/etnaviv: move object unpinning to submit cleanup
        drm/etnaviv: attach in fence to submit and move fence wait to fence_sync
        drm/etnaviv: rename submit fence to out_fence
        drm/etnaviv: move object fence attachment to gem_submit path
        drm/etnaviv: simplify submit_create
        drm/etnaviv: add lockdep annotations to buffer manipulation functions
        drm/etnaviv: hold GPU lock while inserting END command
        drm/etnaviv: move workqueue to be per GPU
        drm/etnaviv: remove switch_context member from etnaviv_gpu
        ...
      066f9eb4
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-next-for-v4.16' of... · 4ef0bef2
      Dave Airlie authored
      Merge tag 'exynos-drm-next-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Remove lagacy IPP driver
      - This driver isn't used anymore so remove it. Marek is preparing new one
        which includes completely rewritten API so this driver will be replaced
        with the new version[1] later.
      And cleanups.
      
      [1] https://patches.linaro.org/cover/118386/
      
      * tag 'exynos-drm-next-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: ipp: Remove Exynos DRM IPP subsystem
        drm/exynos/decon: Add include guard to the Exynos7 header
        drm/exynos/decon: Move headers from global to local place
        drm/exynos: decon5433: Remove unnecessary platform_get_resource() error check
      4ef0bef2
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2017-12-24' of git://people.freedesktop.org/~gabbayo/linux into drm-next · a9742b79
      Dave Airlie authored
      - Add CWSR (compute wave save restore) support for GFX8 (Carrizo)
      - Fix SDMA user-mode queues support for GFX7 (Kaveri)
      - Add SDMA user-mode queues support for GFX8 (Carrizo)
      - Allow HWS (hardware scheduling) to schedule multiple processes concurrently
      - Add debugfs support
      - Simplify process locking and lock dependencies
      - Refactoring topology code to prepare for dGPU support + fixes to that code
        - Add option to generate dummy/virtual CRAT table when its missing or deformed
        - Recognize CPUs other then APUs as compute entities
      - Various clean ups and bug fixes
      
      I have not yet sent the dGPU topology code because it depends on a patch
      for the PCI subsystem that adds PCIe atomics support. Once that patch is
      upstreamed we can continue with the rest of the dGPU code.
      
      * tag 'drm-amdkfd-next-2017-12-24' of git://people.freedesktop.org/~gabbayo/linux: (53 commits)
        drm/amdgpu: Add support for reporting VRAM usage
        drm/amdkfd: Ignore ACPI CRAT for non-APU systems
        drm/amdkfd: Module option to disable CRAT table
        drm/amdkfd: Add AQL Queue Memory flag on topology
        drm/amdkfd: Fixup incorrect info in the CZ CRAT table
        drm/amdkfd: Add perf counters to topology
        drm/amdkfd: Add topology support for dGPUs
        drm/amdkfd: Add topology support for CPUs
        drm/amdkfd: Fix sibling_map[] size
        drm/amdkfd: Simplify counting of memory banks
        drm/amdkfd: Turn verbose topology messages into pr_debug
        drm/amdkfd: sync IOLINK defines to thunk spec
        drm/amdkfd: Support enumerating non-GPU devices
        drm/amdkfd: Decouple CRAT parsing from device list update
        drm/amdkfd: Reorganize CRAT fetching from ACPI
        drm/amdkfd: Group up CRAT related functions
        drm/amdkfd: Fix memory leaks in kfd topology
        drm/amdkfd: Topology: Fix location_id
        drm/amdkfd: Update number of compute unit from KGD
        drm/amd: Remove get_vmem_size from KGD-KFD interface
        ...
      a9742b79
    • Maxime Ripard's avatar
    • Maxime Ripard's avatar
      drm/sun4i: Add LVDS support · a0c1214e
      Maxime Ripard authored
      The TCON supports the LVDS interface to output to a panel or a bridge.
      Let's add support for it.
      Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/7fbb85f33ee1d5009fde4f0d7d236e11ca58b114.1513854122.git-series.maxime.ripard@free-electrons.com
      a0c1214e