1. 12 Jan, 2018 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.16-rc1-fixes' of git://anongit.freedesktop.org/tegra/linux into drm-next · 9be712ef
      Dave Airlie authored
      drm/tegra: Changes for v4.16-rc1
      
      The bulk of these changes are preparation work and addition of support
      for Tegra186. Currently only HDMI output (the primary output on Jetson
      TX2) is supported, but the hardware is also capable of doing DSI and
      DisplayPort.
      
      Tegra DRM now also uses the atomic commit helpers instead of the open-
      coded variant that was only doing half its job. As a bit of a byproduct
      of the Tegra186 support the driver also gained HDMI 2.0 as well as zpos
      property support.
      
      Along the way there are also a few patches to clean up a few things and
      fix minor issues.
      
      * tag 'drm/tegra/for-4.16-rc1-fixes' of git://anongit.freedesktop.org/tegra/linux: (51 commits)
        drm/tegra: dc: Properly cleanup overlay planes
        drm/tegra: dc: Fix possible_crtcs mask for planes
        drm/tegra: dc: Restore YUV overlay support
        drm/tegra: dc: Implement legacy blending
        drm/tegra: Correct timeout in tegra_syncpt_wait
        drm/tegra: gem: Correct iommu_map_sg() error checking
        drm/tegra: dc: Link DC1 to DC0 on Tegra20
        drm/tegra: Fix non-debugfs builds
        drm/tegra: dpaux: Keep reset defaults for hybrid pad parameters
        drm/tegra: Mark Tegra186 display hub PM functions __maybe_unused
        drm/tegra: Use IOMMU groups
        gpu: host1x: Use IOMMU groups
        drm/tegra: Implement zpos property
        drm/tegra: dc: Remove redundant spinlock
        drm/tegra: dc: Use direct offset to plane registers
        drm/tegra: dc: Support more formats
        drm/tegra: fb: Force alpha formats
        drm/tegra: dpaux: Add Tegra186 support
        drm/tegra: dpaux: Implement runtime PM
        drm/tegra: sor: Support HDMI 2.0 modes
        ...
      9be712ef
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2018-01-10' of git://people.freedesktop.org/~robclark/linux into drm-next · 323b20c4
      Dave Airlie authored
      Updates for 4.16.. fairly small this time around, main thing is
      devfreq support for the gpu.
      
      * tag 'drm-msm-next-2018-01-10' of git://people.freedesktop.org/~robclark/linux:
        drm/msm: Add devfreq support for the GPU
        drm/msm/adreno: a5xx: Explicitly program the CP0 performance counter
        drm/msm/adreno: Read the speed bins for a5xx targets
        drm/msm/adreno: Move clock parsing to adreno_gpu_init()
        drm/msm/adreno: Cleanup chipid parsing
        drm/msm/gpu: Remove unused bus scaling code
        drm/msm/adreno: Remove a useless call to dev_pm_opp_get_freq()
        drm/msm/adreno: Call dev_pm_opp_put()
        drm/msm: Fix NULL deref in adreno_load_gpu
        drm/msm: gpu: Only sync fences on rings that exist
        drm/msm: fix leak in failed get_pages
        drm/msm: avoid false-positive -Wmaybe-uninitialized warning
        drm/msm/mdp4: Deduplicate bus_find_device() by name matching
        drm/msm: add missing MODULE_FIRMWARE declarations
        drm/msm: update adreno firmware path in MODULE_FIRMWARE
        drm/msm: free kstrdup'd cmdline
        drm/msm: fix msm_rd_dump_submit prototype
        drm/msm: fix spelling mistake: "ringubffer" -> "ringbuffer"
      323b20c4
  2. 10 Jan, 2018 8 commits
  3. 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
  4. 08 Jan, 2018 3 commits
  5. 05 Jan, 2018 3 commits
  6. 04 Jan, 2018 10 commits
  7. 03 Jan, 2018 7 commits
  8. 02 Jan, 2018 4 commits