1. 04 Jan, 2018 1 commit
    • 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
  2. 27 Dec, 2017 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-12-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 35087762
      Dave Airlie authored
      - Allow internal page allocation to fail (Chris)
      - More improvements on logs, dumps, and trace (Chris, Michal)
      - Coffee Lake important fix for stolen memory (Lucas)
      - Continue to make GPU reset more robust as well
         improving selftest coverage for it (Chris)
      - Unifying debugfs return codes (Michal)
      - Using existing helper for testing obj pages (Matthew)
      - Organize and improve gem_request tracepoints (Lionel)
      - Protect DDI port to DPLL map from theoretical race (Rodrigo)
      - ... and consequently fixing the indentation on this DDI clk selection function (Chris)
      - ... and consequently properly serializing non-blocking modesets (Ville)
      - Add support for horizontal plane flipping on Cannonlake (Joonas)
      - Two Cannonlake Workarounds for better stability (Rafael)
      - Fix mess around PSR registers (DK)
      - More Coffee Lake PCI IDs (Rodrigo)
      - Remove CSS modifiers on pipe C of Geminilake (Krisman)
      - Disable all planes for load detection (Ville)
      - Reorg on i915 display headers (Michal)
      - Avoid enabling movntdqa optimization on hypervisor guest (Changbin)
      
      GVT:
      - more mmio switch optimization (Weinan)
      - cleanup i915_reg_t vs. offset usage (Zhenyu)
      - move write protect handler out of mmio handler (Zhenyu)
      
      * tag 'drm-intel-next-2017-12-22' of git://anongit.freedesktop.org/drm/drm-intel: (55 commits)
        drm/i915: Update DRIVER_DATE to 20171222
        drm/i915: Show HWSP in intel_engine_dump()
        drm/i915: Assert that the request is on the execution queue before being removed
        drm/i915/execlists: Show preemption progress in GEM_TRACE
        drm/i915: Put all non-blocking modesets onto an ordered wq
        drm/i915: Disable GMBUS clock gating around GMBUS transfers on gen9+
        drm/i915: Clean up the PNV bit banging vs. GMBUS clock gating w/a
        drm/i915: No need to power up PG2 for GMBUS on BXT
        drm/i915: Disable DC states around GMBUS on GLK
        drm/i915: Do not enable movntdqa optimization in hypervisor guest
        drm/i915: Dump device info at once
        drm/i915: Add pretty printer for runtime part of intel_device_info
        drm/i915: Update intel_device_info_runtime_init() parameter
        drm/i915: Move intel_device_info definitions to its own header
        drm/i915: Move opregion definitions to dedicated intel_opregion.h
        drm/i915: Move display related definitions to dedicated header
        drm/i915: Move some utility functions to i915_util.h
        drm/i915/gvt: move write protect handler out of mmio emulation function
        drm/i915/gvt: cleanup usage for typed mmio reg vs. offset
        drm/i915/gvt: Fix pipe A enable as default for vgpu
        ...
      35087762
  3. 22 Dec, 2017 23 commits
  4. 21 Dec, 2017 7 commits
    • Chris Wilson's avatar
      drm/i915: Show FBC worker status in debugfs · 3138872c
      Chris Wilson authored
      Include the pending update from the FBC worker in i915_fbc_status.
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171220205848.8510-1-chris@chris-wilson.co.ukReviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      3138872c
    • Ville Syrjälä's avatar
      drm/i915: Disable all planes for load detection, v2. · 20bdc112
      Ville Syrjälä authored
      We don't need any active planes during load detection, so just disable
      them all. This saves us from having to come up with a suitable
      framebuffer. And we also avoid leaving sprite/cursor planes on and
      potentially presenting them at a peculiar location during the load
      detection.
      
      Changes since v1 (Maarten):
      - Add missing call to add_all_affected_planes.
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102707
      Link: https://patchwork.freedesktop.org/patch/msgid/20171220093545.613-4-maarten.lankhorst@linux.intel.comReviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      20bdc112
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-next · df2869ab
      Dave Airlie authored
      * 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux: (171 commits)
        drm/amdgpu: fix test for shadow page tables
        drm/amd/display: Expose dpp1_set_cursor_attributes
        drm/amd/display: Update FMT and OPPBUF functions
        drm/amd/display: check for null before calling is_blanked
        drm/amd/display: dal 3.1.27
        drm/amd/display: Fix unused variable warnings.
        drm/amd/display: Only blank DCN when we have set_blank implementation
        drm/amd/display: Put dcn_mi_registers with other structs
        drm/amd/display: hubp refactor
        drm/amd/display: integrating optc pseudocode
        drm/amd/display: Call validate_fbc should_enable_fbc
        drm/amd/display: Clean up DCN cursor code
        drm/amd/display: fix 180 full screen pipe split
        drm/amd/display: reprogram surface config on scaling change
        drm/amd/display: Remove dwbc from pipe_ctx
        drm/amd/display: Use the maximum link setting which EDP reported.
        drm/amd/display: Add hdr_supported flag
        drm/amd/display: fix global sync param retrieval when not pipe splitting
        drm/amd/display: Update HUBP
        drm/amd/display: fix rotated surface scaling
        ...
      df2869ab
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next · 991eecc1
      Dave Airlie authored
      omapdrm changes for v4.16
      
      * support memory bandwidth limits
      * DSI command mode panel cleanups for N9
      * DMM error handling
      
      * tag 'omapdrm-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (27 commits)
        drm: omapdrm: Simplify platform registration
        drm: omapdrm: Remove filename from header and fix copyright tag
        drm/omap: DMM: Check for DMM readiness after successful transaction commit
        drm/omap: DMM: Print information if we received an error interrupt
        drm/omap: DMM: In case of error/timeout in wait_status() print the reason
        drm/omap: DMM: Fix DMM_IRQSTAT_ERR_MASK definition
        drm: omapdrm: Deconstruct the omap_drv.h header.
        drm: omapdrm: venc: Return error code on OF parsing failure
        drm: omapdrm: dpi: Remove dpi_data port_initialized field
        drm: omapdrm: dss: Make dss_dump_clocks() function static
        drm: omapdrm: dss: Set the DMA coherent mask
        drm: omapdrm: Remove unused omap_dss_find_device() function
        drm: omapdrm: Pass drm_device to omap_gem_resume()
        drm: omapdrm: dpi: Don't treat GPIO probe deferral as an error
        drm/omap: panel-dsi-cm: switch to gpiod
        drm/omap: panel-dsi-cm: add external backlight support
        drm/omap: panel-dsi-cm: add physical size support
        drm/omap: panel-dsi-cm: add regulator support
        drm/omap: panel-dsi-cm: fix driver
        drm/omap: add support for physical size hints from display drivers
        ...
      991eecc1
    • Dave Airlie's avatar
      Merge tag 'tilcdc-4.16' of https://github.com/jsarha/linux into drm-next · 8932541b
      Dave Airlie authored
      drm/tilcdc changes for 4.16
      
      * tag 'tilcdc-4.16' of https://github.com/jsarha/linux:
        drm/tilcdc: make tilcdc_mode_hvtotal() static
        drm/tilcdc: Remove drm_framebuffer_get() and *_put() calls
        drm/tilcdc: ensure nonatomic iowrite64 is not used
      8932541b
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 6a9991bc
      Dave Airlie authored
      - Fix documentation build issues (Randy, Markus)
      - Fix timestamp frequency calculation for perf on CNL (Lionel)
      - New DMC firmware for Skylake (Anusha)
      - GTT flush fixes and other GGTT write track and refactors (Chris)
      - Taint kernel when GPU reset fails (Chris)
      - Display workarounds organization (Lucas)
      - GuC and HuC initialization clean-up and fixes (Michal)
      - Other fixes around GuC submission (Michal)
      - Execlist clean-ups like caching ELSP reg offset and improving log readability (Chri\
      s)
      - Many other improvements on our logs and dumps (Chris)
      - Restore GT performance in headless mode with DMC loaded (Tvrtko)
      - Stop updating legacy fb parameters since FBC is not using anymore (Daniel)
      - More selftest improvements (Chris)
      - Preemption fixes and improvements (Chris)
      - x86/early-quirks improvements for Intel graphics stolen memory. (Joonas, Matthew)
      - Other improvements on Stolen Memory code to be resource centric. (Matthew)
      - Improvements and fixes on fence allocation/release (Chris).
      
      GVT:
      
      - fixes for two coverity scan errors (Colin)
      - mmio switch code refine (Changbin)
      - more virtual display dmabuf fixes (Tina/Gustavo)
      - misc cleanups (Pei)
      - VFIO mdev display dmabuf interface and gvt support (Tina)
      - VFIO mdev opregion support/fixes (Tina/Xiong/Chris)
      - workload scheduling optimization (Changbin)
      - preemption fix and temporal workaround (Zhenyu)
      - and misc fixes after refactor (Chris)
      
      * tag 'drm-intel-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-intel: (87 commits)
        drm/i915: Update DRIVER_DATE to 20171214
        drm/i915: properly init lockdep class
        drm/i915: Show engine state when hangcheck detects a stall
        drm/i915: make CS frequency read support missing more obvious
        drm/i915/guc: Extract doorbell verification into a function
        drm/i915/guc: Extract clients allocation to submission_init
        drm/i915/guc: Extract doorbell creation from client allocation
        drm/i915/guc: Call invalidate after changing the vfunc
        drm/i915/guc: Extract guc_init from guc_init_hw
        drm/i915/guc: Move GuC workqueue allocations outside of the mutex
        drm/i915/guc: Move shared data allocation away from submission path
        drm/i915: Unwind i915_gem_init() failure
        drm/i915: Ratelimit request allocation under oom
        drm/i915: Allow fence allocations to fail
        drm/i915: Mark up potential allocation paths within i915_sw_fence as might_sleep
        drm/i915: Don't check #active_requests from i915_gem_wait_for_idle()
        drm/i915/fence: Use rcu to defer freeing of irq_work
        drm/i915: Dump the engine state before declaring wedged from wait_for_engines()
        drm/i915: Bump timeout for wait_for_engines()
        drm/i915: Downgrade misleading "Memory usable" message
        ...
      6a9991bc
    • Gabriel Krisman Bertazi's avatar
      i915: Reject CCS modifiers for pipe C on Geminilake · f0cbd8bd
      Gabriel Krisman Bertazi authored
      Current code advertises (on the modifiers blob property) support for CCS
      modifier for pipe C on GLK, only to reject it later when validating the
      request before the atomic commit.
      
      This fixes the tests igt@kms_ccs@pipe-c-*, which should skip on GLK for
      pipe C (see bug 104096).
      
      A relevant discussion is archived at:
      
      https://lists.freedesktop.org/archives/intel-gfx/2017-December/150646.html
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104096Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@collabora.co.uk>
      Cc: Ben Widawsky <ben@bwidawsk.net>
      Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171220002410.5604-1-krisman@collabora.co.uk
      f0cbd8bd
  5. 20 Dec, 2017 8 commits