1. 22 Aug, 2017 7 commits
    • Ben Skeggs's avatar
      drm/nouveau/pmu/gt215: fix reset · 715e7d26
      Ben Skeggs authored
      The NV_PMC_ENABLE bit for PMU did not appear until GF100, and some other
      unknown register needs to be poked instead.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      715e7d26
    • Ben Skeggs's avatar
      drm/nouveau/mc/gf100: add pmu to reset mask · 1ccd7d52
      Ben Skeggs authored
      An upcoming commit will replace direct NV_PMC register bashing from PMU
      with a call to the proper function.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      1ccd7d52
    • Ilia Mirkin's avatar
      drm/nouveau/disp/gf119-: avoid creating non-existent heads · eba5e56d
      Ilia Mirkin authored
      We assume that each board has 4 heads for GF119+. However this is not
      necessarily true - in the case of a GP108 board, the register indicated
      that there were only 2.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101601Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      eba5e56d
    • Karol Herbst's avatar
      drm/nouveau/therm/gm200: Added · 9d60b9c9
      Karol Herbst authored
      This allows temperature readouts on maxwell2 GPUs.
      Signed-off-by: default avatarKarol Herbst <karolherbst@gmail.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      9d60b9c9
    • Colin Ian King's avatar
      drm/nouveau/therm: fix spelling mistake on array thresolds · 4a84a6fd
      Colin Ian King authored
      Array thresolds should be named thresholds, rename it. Also make it static
      static const char * const
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Reviewed-by: default avatarMartin Peres <martin.peres@free.fr>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      4a84a6fd
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2017-07-18' of git://git.pengutronix.de/git/pza/linux into drm-next · 6b9dfb59
      Dave Airlie authored
      imx-drm: lock scanout transfers for consecutive bursts
      
      - Lock the IDMAC scanout channel for multiple back-to-back bursts if possible,
        to improve memory bandwidth utilisation.
      - Replace a few occurences of state->fb with the already existing local fb
        variable in ipu_plane_atomic_update
      
      * tag 'imx-drm-next-2017-07-18' of git://git.pengutronix.de/git/pza/linux:
        drm/imx: lock scanout transfers for consecutive bursts
        drm/imx: ipuv3-plane: use fb local variable instead of state->fb
      6b9dfb59
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-intel into drm-next · 735f463a
      Dave Airlie authored
      Final pile of features for 4.14
      
      - New ioctl to change NOA configurations, plus prep (Lionel)
      - CCS (color compression) scanout support, based on the fancy new
        modifier additions (Ville&Ben)
      - Document i915 register macro style (Jani)
      - Many more gen10/cnl patches (Rodrigo, Pualo, ...)
      - More gpu reset vs. modeset duct-tape to restore the old way.
      - prep work for cnl: hpd_pin reorg (Rodrigo), support for more power
        wells (Imre), i2c pin reorg (Anusha)
      - drm_syncobj support (Jason Ekstrand)
      - forcewake vs gpu reset fix (Chris)
      - execbuf speedup for the no-relocs fastpath, anv/vk low-overhead ftw (Chris)
      - switch to idr/radixtree instead of the resizing ht for execbuf id->vma
        lookups (Chris)
      
      gvt:
      - MMIO save/restore optimization (Changbin)
      - Split workload scan vs. dispatch for more parallel exec (Ping)
      - vGPU full 48bit ppgtt support (Joonas, Tina)
      - vGPU hw id expose for perf (Zhenyu)
      
      Bunch of work all over to make the igt CI runs more complete/stable.
      Watch https://intel-gfx-ci.01.org/tree/drm-tip/shards-all.html for
      progress in getting this ready. Next week we're going into production
      mode (i.e. will send results to intel-gfx) on hsw, more platforms to
      come.
      
      Also, a new maintainer tram, I'm stepping out. Huge thanks to Jani for
      being an awesome co-maintainer the past few years, and all the best
      for Jani, Joonas&Rodrigo as the new maintainers!
      
      * tag 'drm-intel-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-intel: (179 commits)
        drm/i915: Update DRIVER_DATE to 20170818
        drm/i915/bxt: use NULL for GPIO connection ID
        drm/i915: Mark the GT as busy before idling the previous request
        drm/i915: Trivial grammar fix s/opt of/opt out of/ in comment
        drm/i915: Replace execbuf vma ht with an idr
        drm/i915: Simplify eb_lookup_vmas()
        drm/i915: Convert execbuf to use struct-of-array packing for critical fields
        drm/i915: Check context status before looking up our obj/vma
        drm/i915: Don't use MI_STORE_DWORD_IMM on Sandybridge/vcs
        drm/i915: Stop touching forcewake following a gen6+ engine reset
        MAINTAINERS: drm/i915 has a new maintainer team
        drm/i915: Split pin mapping into per platform functions
        drm/i915/opregion: let user specify override VBT via firmware load
        drm/i915/cnl: Reuse skl_wm_get_hw_state on Cannonlake.
        drm/i915/gen10: implement gen 10 watermarks calculations
        drm/i915/cnl: Fix LSPCON support.
        drm/i915/vbt: ignore extraneous child devices for a port
        drm/i915/cnl: Setup PAT Index.
        drm/i915/edp: Allow alternate fixed mode for eDP if available.
        drm/i915: Add support for drm syncobjs
        ...
      735f463a
  2. 21 Aug, 2017 3 commits
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.14-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 3aadb888
      Dave Airlie authored
      drm/tegra: Changes for v4.14-rc1
      
      This contains a couple of fixes and improvements for host1x, with some
      preparatory work for Tegra186 support.
      
      The remainder is cleanup and minor bugfixes for Tegra DRM along with
      enhancements to debuggability.
      
      There have also been some enhancements to the kernel interfaces for
      host1x job submissions and support for mmap'ing PRIME buffers directly,
      all of which get the interfaces very close to ready for serious work.
      
      * tag 'drm/tegra/for-4.14-rc1' of git://anongit.freedesktop.org/tegra/linux: (21 commits)
        drm/tegra: Prevent BOs from being freed during job submission
        drm/tegra: gem: Implement mmap() for PRIME buffers
        drm/tegra: Support render node
        drm/tegra: sor: Trace register accesses
        drm/tegra: dpaux: Trace register accesses
        drm/tegra: dsi: Trace register accesses
        drm/tegra: hdmi: Trace register accesses
        drm/tegra: dc: Trace register accesses
        drm/tegra: sor: Use unsigned int for register offsets
        drm/tegra: hdmi: Use unsigned int for register offsets
        drm/tegra: dsi: Use unsigned int for register offsets
        drm/tegra: dpaux: Use unsigned int for register offsets
        drm/tegra: dc: Use unsigned int for register offsets
        drm/tegra: Fix NULL deref in debugfs/iova
        drm/tegra: switch to drm_*_get(), drm_*_put() helpers
        drm/tegra: Set MODULE_FIRMWARE for the VIC
        drm/tegra: Add CONFIG_OF dependency
        gpu: host1x: Support sub-devices recursively
        gpu: host1x: fix error return code in host1x_probe()
        gpu: host1x: Fix bitshift/mask multipliers
        ...
      3aadb888
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · e5fa05b9
      Dave Airlie authored
      this cycle has been fairly calm in etnaviv land with most of the action
      happening on the userspace side.
      
      Notable changes:
      - Improvements to CONFIG option handling to make it harder for users to
      shoot themselves in the foot due to kernel misconfiguration.
      - Tweaked GEM object population, so that userspace can take considerate
      action when memory allocation fails, rather than waking the raging OOM
      killer beast.
      
      * 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux:
        drm/etnaviv: switch GEM allocations to __GFP_RETRY_MAYFAIL
        drm/etnaviv: don't fail GPU bind when CONFIG_THERMAL isn't enabled
        drm/etnaviv: switch to drm_*{get,put} helpers
        drm/etnaviv: select CMA and DMA_CMA if available
        drm/etnaviv: populate GEM objects on cpu_prep
        drm/etnaviv: reduce allocation failure message severity
        drm/etnaviv: don't trigger OOM killer when page allocation fails
      e5fa05b9
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2017-08-18' of git://people.freedesktop.org/~gabbayo/linux into drm-next · a0aeb3b2
      Dave Airlie authored
      This is the amdkfd pull request for 4.14 merge window.
      AMD has started cleaning the pipe and sending patches from their internal
      development to the upstream community.
      
      The plan as I understand it is to first get all the non-dGPU patches to
      upstream and then move to upstream dGPU support.
      
      The patches here are relevant only for Kaveri and Carrizo.
      
      The following is a summary of the changes:
      - Add new IOCTL to set a Scratch memory VA
      - Update PM4 headers for new firmware that support scratch memory
      - Support image tiling mode
      - Remove all uses of BUG_ON
      - Various Bug fixes and coding style fixes
      
      * tag 'drm-amdkfd-next-2017-08-18' of git://people.freedesktop.org/~gabbayo/linux: (24 commits)
        drm/amdkfd: Implement image tiling mode support v2
        drm/amdgpu: Add kgd kfd interface get_tile_config() v2
        drm/amdkfd: Adding new IOCTL for scratch memory v2
        drm/amdgpu: Add kgd/kfd interface to support scratch memory v2
        drm/amdgpu: Program SH_STATIC_MEM_CONFIG globally, not per-VMID
        drm/amd: Update MEC HQD loading code for KFD
        drm/amdgpu: Disable GFX PG on CZ
        drm/amdkfd: Update PM4 packet headers
        drm/amdkfd: Clamp EOP queue size correctly on Gfx8
        drm/amdkfd: Add more error printing to help bringup v2
        drm/amdkfd: Handle remaining BUG_ONs more gracefully v2
        drm/amdkfd: Allocate gtt_sa_bitmap in long units
        drm/amdkfd: Fix doorbell initialization and finalization
        drm/amdkfd: Remove BUG_ONs for NULL pointer arguments
        drm/amdkfd: Remove usage of alloc(sizeof(struct...
        drm/amdkfd: Fix goto usage v2
        drm/amdkfd: Change x==NULL/false references to !x
        drm/amdkfd: Consolidate and clean up log commands
        drm/amdkfd: Clean up KFD style errors and warnings v2
        drm/amdgpu: Remove hard-coded assumptions about compute pipes
        ...
      a0aeb3b2
  3. 20 Aug, 2017 3 commits
    • Dave Airlie's avatar
      Merge tag 'sunxi-drm-for-4.14' of... · 5fd27c2a
      Dave Airlie authored
      Merge tag 'sunxi-drm-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into drm-next
      
      Allwinner DRM changes for 4.14
      
      A few changes, but most notably improving the HDMI support merged in 4.13,
      by reporting the DDC adapter as an i2c bus, and by adding CEC support
      through the CEC framework.
      
      * tag 'sunxi-drm-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
        sun4i_hdmi: add CEC support
        dt-bindings: display: sunxi: Improve endpoint ID scheme readability
        drm/sun4i: tcon: remove unused function
        drm/sun4i: Remove useless atomic_check
        drm/sun4i: Add if statement instead of depends on
        drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus
        drm/sun4i: constify drm_plane_helper_funcs
      5fd27c2a
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.14' of git://people.freedesktop.org/~agd5f/linux into drm-next · f30b8eaa
      Dave Airlie authored
      More changes for 4.14.  Highlights:
      - command submission overhead improvements
      - Huge page support for vega10
      - physical mode support for mjpeg for asics that don't support UVD vm
      - improve ttm_mem_type_manager_func debug
      - misc ttm fixes, cleanups
      - misc gpuvm cleanups
      
      * 'drm-next-4.14' of git://people.freedesktop.org/~agd5f/linux: (26 commits)
        drm/ttm: use reservation_object_trylock in ttm_bo_individualize_resv v2
        drm/amdgpu: fix vega10 graphic hang issue in S3 test
        drm/amdgpu: bump version for support of UVD MJPEG decode
        drm/amdgpu: add MJPEG check for UVD physical mode msg buffer
        drm/ttm: Fix accounting error when fail to get pages for pool
        drm/amd/amdgpu: expose fragment size as module parameter (v2)
        drm/amd/amdgpu: store fragment_size in vm_manager
        drm/amdgpu: rename VM invalidated to moved
        drm/amdgpu: separate bo_va structure
        drm/amdgpu: drop the extra VM huge page flag v2
        drm/amdgpu: remove superflous amdgpu_bo_kmap in the VM
        drm/amdgpu: cleanup static CSA handling
        drm/amdgpu: SHADOW and VRAM_CONTIGUOUS flags shouldn't be used by userspace
        drm/amdgpu: save list length when fence is signaled
        drm/amdgpu: move vram usage tracking into the vram manager v2
        drm/amdgpu: move gtt usage tracking into the gtt manager v2
        drm/amdgpu: move debug print into the MM managers
        drm/amdgpu: fix incorrect use of the lru_lock
        drm/radeon: fix incorrect use of the lru_lock
        drm/ttm: make ttm_mem_type_manager_func debug more useful
        ...
      f30b8eaa
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-misc into drm-next · 54e0aa64
      Dave Airlie authored
      Cross-subsystem Changes:
      - Add tinydrm to MAINTAINERS using -misc tree and Noralf as maintainer (Noralf)
      
      Core Changes:
      - Finish dumb_mmap_offset cleanup by removing gem_cma_dumb_map_offset() (Noralf)
      - Add gem_framebuffer helper to facilitate removal of fb_cma cargo cult (Noralf)
      
      Driver Changes:
      - Various trivial patches
      
      Cc: Noralf Trønnes <noralf@tronnes.org>
      
      * tag 'drm-misc-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-misc:
        drm: udl: constify usb_device_id
        drm/gma500: fix potential NULL pointer dereference dereference
        drm/tinydrm: make function st7586_pipe_enable static
        MAINTAINERS: Add drm/tinydrm maintainer entry
        drm/vc4: Use drm_gem_fb_create()
        drm/pl111: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb()
        drm/fb-cma-helper: Use drm_gem_framebuffer_helper
        drm: Add GEM backed framebuffer library
      54e0aa64
  4. 18 Aug, 2017 16 commits
  5. 17 Aug, 2017 11 commits