1. 21 Oct, 2021 1 commit
  2. 15 Oct, 2021 2 commits
  3. 14 Oct, 2021 12 commits
  4. 12 Oct, 2021 9 commits
  5. 11 Oct, 2021 4 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2021-10-08' of... · 1176d15f
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2021-10-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      UAPI Changes:
      
      - Add uAPI for using PXP protected objects
      
        Mesa changes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8064
      
      - Add PCI IDs and LMEM discovery/placement uAPI for DG1
      
        Mesa changes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11584
      
      - Disable engine bonding on Gen12+ except TGL, RKL and ADL-S
      
      Cross-subsystem Changes:
      
      - Merges 'tip/locking/wwmutex' branch (core kernel tip)
      - "mei: pxp: export pavp client to me client bus"
      
      Core Changes:
      
      - Update ttm_move_memcpy for async use (Thomas)
      
      Driver Changes:
      
      - Enable GuC submission by default on DG1 (Matt B)
      - Add PXP (Protected Xe Path) support for Gen12 integrated (Daniele,
        Sean, Anshuman)
        See "drm/i915/pxp: add PXP documentation" for details!
      - Remove force_probe protection for ADL-S (Raviteja)
      - Add base support for XeHP/XeHP SDV (Matt R, Stuart, Lucas)
      - Handle DRI_PRIME=1 on Intel igfx + Intel dgfx hybrid graphics setup (Tvrtko)
      - Use Transparent Hugepages when IOMMU is enabled (Tvrtko, Chris)
      - Implement LMEM backup and restore for suspend / resume (Thomas)
      - Report INSTDONE_GEOM values in error state for DG2 (Matt R)
      - Add DG2-specific shadow register table (Matt R)
      - Update Gen11/Gen12/XeHP shadow register tables (Matt R)
      - Maintain backward-compatible nested batch behavior on TGL+ (Matt R)
      - Add new LRI reg offsets for DG2 (Akeem)
      - Initialize unused MOCS entries to device specific values (Ayaz)
      - Track and use the correct UC MOCS index on Gen12 (Ayaz)
      - Add separate MOCS table for Gen12 devices other than TGL/RKL (Ayaz)
      - Simplify the locking and eliminate some RCU usage (Daniel)
      - Add some flushing for the 64K GTT path (Matt A)
      - Mark GPU wedging on driver unregister unrecoverable (Janusz)
      
      - Major rework in the GuC codebase, simplify locking and add docs (Matt B)
      - Add DG1 GuC/HuC firmwares (Daniele, Matt B)
      - Remember to call i915_sw_fence_fini on guc_state.blocked (Matt A)
      - Use "gt" forcewake domain name for error messages instead of "blitter" (Matt R)
      - Drop now duplicate LMEM uAPI RFC kerneldoc section (Daniel)
      - Fix early tracepoints for requests (Matt A)
      - Use locked access to ctx->engines in set_priority (Daniel)
      - Convert gen6/gen7/gen8 read operations to fwtable (Matt R)
      - Drop gen11/gen12 specific mmio write handlers (Matt R)
      - Drop gen11 specific mmio read handlers (Matt R)
      - Use designated initializers for init/exit table (Kees)
      - Fix syncmap memory leak (Matt B)
      - Add pretty printing for buddy allocator state debug (Matt A)
      - Fix potential error pointer dereference in pinned_context() (Dan)
      - Remove IS_ACTIVE macro (Lucas)
      - Static code checker fixes (Nathan)
      - Clean up disabled warnings (Nathan)
      - Increase timeout in i915_gem_contexts selftests 5x for GuC submission (Matt B)
      - Ensure wa_init_finish() is called for ctx workaround list (Matt R)
      - Initialize L3CC table in mocs init (Sreedhar, Ayaz, Ram)
      - Get PM ref before accessing HW register (Vinay)
      - Move __i915_gem_free_object to ttm_bo_destroy (Maarten)
      - Deduplicate frequency dump on debugfs (Lucas)
      - Make wa list per-gt (Venkata)
      - Do not define dummy vma in stack (Venkata)
      - Take pinning into account in __i915_gem_object_is_lmem (Matt B, Thomas)
      - Do not report currently active engine when describing objects (Tvrtko)
      - Fix pdfdocs build error by removing nested grid from GuC docs (Akira)
      - Remove false warning from the rps worker (Tejas)
      - Flush buffer pools on driver remove (Janusz)
      - Fix runtime pm handling in i915_gem_shrink (Maarten)
      - Rework TTM object initialization slightly (Thomas)
      - Use fixed offset for PTEs location (Michal Wa)
      - Verify result from CTB (de)register action and improve error messages (Michal Wa)
      - Fix bug in user proto-context creation that leaked contexts (Matt B)
      
      - Re-use Gen11 forcewake read functions on Gen12 (Matt R)
      - Make shadow tables range-based (Matt R)
      - Ditch the i915_gem_ww_ctx loop member (Thomas, Maarten)
      - Use NULL instead of 0 where appropriate (Ville)
      - Rename pci/debugfs functions to respect file prefix (Jani, Lucas)
      - Drop guc_communication_enabled (Daniele)
      - Selftest fixes (Thomas, Daniel, Matt A, Maarten)
      - Clean up inconsistent indenting (Colin)
      - Use direction definition DMA_BIDIRECTIONAL instead of
        PCI_DMA_BIDIRECTIONAL (Cai)
      - Add "intel_" as prefix in set_mocs_index() (Ayaz)
      
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YWAO80MB2eyToYoy@jlahtine-mobl.ger.corp.intel.comSigned-off-by: default avatarDave Airlie <airlied@redhat.com>
      1176d15f
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2021-10-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · c7c774fe
      Dave Airlie authored
      Cross-subsystem Changes:
      - fbdev/efifb: Release PCI device's runtime PM ref during FB destr\
      oy (Imre)
      
      i915 Core Driver Changes:
      - Only access SFC_DONE in media when not fused off for graphics 12 and newer.
      - Double Memory latency values from pcode for DG2 (Matt Roper)
      - ADL-S PCI ID update (Tejas)
      - New DG1 PCI ID (Jose)
      - Fix regression with uncore refactoring (Dave)
      
      i915 Display Changes:
      - ADL-P display (XE_LPD) fixes and updates (Ankit, Jani, Matt Roper, Anusham, Jose, Imre, Vandita)
      - DG2 display fixes (Ankit, Jani)
      - Expand PCH_CNP tweaked display workaround to all newer displays (Anshuman)
      - General display simplifications and clean-ups (Jani, Swati, Jose, Ville)
      - PSR Clean-ups, dropping support for BDW/HSD and enable PSR2 selective fetch by default (Jose, Gwan-gyeong)
      - Nuke ORIGIN_GTT (Jose)
      - Return proper DPRX link training result (Lee)
      - FBC related refactor and fixes (Ville)
      - Yet another attempt to solve the fast+narrow vs slow+wide eDP link training (Kai-Heng)
      - DP 2.0 preparation work (Jani)
      - Silence __iomem sparse warn (Ville)
      - Clean up DPLL stuff (Ville)
      - Fix various dp/edp max rates (Matt Atwood, Animesh, Jani)
      - Remove VBT ddi_port_info caching (Jani)
      - DSI driver improvements (Lee)
      - HDCP fixes (Juston)
      - Associate ACPI connector nodes with connector entries (Heikki)
      - Add support for out-of-bound hotplug events (Hans)
      - VESA vendor block and drm/i915 MSO use of it (Jani)
      - Fixes for bigjoiner (Ville)
      - Update memory bandwidth parameters (RK)
      - DMC related fixes (Chris, Jose)
      - HDR related fixes and improvements (Tejas)
      - g4x/vlv/chv CxSR/wm fixes/cleanups (Ville)
      - Use BIOS provided value for RKL Audio's HDA link (Kai-Heng)
      - Fix the dsc check while selecting min_cdclk (Vandita)
      - Split and constify vtable (Dave)
      - Add ww context to intel_dpt_pin (Maarten)
      - Fix bdb version check (Lukasz)
      - DP per-lane drive settings prep work and other DP fixes (Ville)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # gpg: Signature made Tue 05 Oct 2021 04:58:16 AEST
      # gpg:                using RSA key 6D207068EEDD65091C2CE2A3FA625F640EEB13CA
      # gpg: Good signature from "Rodrigo Vivi <rodrigo.vivi@intel.com>" [unknown]
      # gpg:                 aka "Rodrigo Vivi <rodrigo.vivi@gmail.com>" [unknown]
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6D20 7068 EEDD 6509 1C2C  E2A3 FA62 5F64 0EEB 13CA
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YVtPk6llsxBFiw7W@intel.com
      c7c774fe
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 797d72ce
      Dave Airlie authored
      drm-misc-next for v5.16:
      
      UAPI Changes:
      - Allow empty drm leases for creating separate GEM namespaces.
      
      Cross-subsystem Changes:
      - Slightly rework dma_buf_poll.
      - Add dma_resv_for_each_fence_unlocked to iterate, and use it inside
        the lockless dma-resv functions.
      
      Core Changes:
      - Allow devm_drm_of_get_bridge to build without CONFIG_OF for compile testing.
      - Add more DP2 headers.
      - fix CONFIG_FB dependency in fb_helper.
      - Add DRM_FORMAT_R8 to drm_format_info, and helpers for RGB332 and RGB888.
      - Fix crash on a 0 or invalid EDID.
      
      Driver Changes:
      - Apply and revert DRM_MODESET_LOCK_ALL_BEGIN.
      - Add mode_valid to ti-sn65dsi86 bridge.
      - Support multiple syncobjs in v3d.
      - Add R8, RGB332 and RGB888 pixel formats to GUD.
      - Use devm_add_action_or_reset in dw-hdmi-cec.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # gpg: Signature made Wed 06 Oct 2021 20:48:12 AEST
      # gpg:                using RSA key B97BD6A80CAC4981091AE547FE558C72A67013C3
      # gpg: Good signature from "Maarten Lankhorst <maarten.lankhorst@linux.intel.com>" [expired]
      # gpg:                 aka "Maarten Lankhorst <maarten@debian.org>" [expired]
      # gpg:                 aka "Maarten Lankhorst <maarten.lankhorst@canonical.com>" [expired]
      # gpg: Note: This key has expired!
      # Primary key fingerprint: B97B D6A8 0CAC 4981 091A  E547 FE55 8C72 A670 13C3
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/2602f4e9-a8ac-83f8-6c2a-39fd9ca2e1ba@linux.intel.com
      797d72ce
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.16-2021-10-08' of... · b1f81666
      Dave Airlie authored
      Merge tag 'amd-drm-next-5.16-2021-10-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.16-2021-10-08:
      
      amdgpu:
      - gart BO pin count fix
      - RAS fixes
      - Misc display fixes
      - Misc code cleanups
      - Validate IP discovery table
      - IOMMU handling fixes for hotplug
      - Cyan Skillfish display support
      - DP 2.0 fixes
      - Covert vega and navi to IP discovery based asic enumeration
      - JPEG fixes
      - More FP cleanup for display
      - DCC fixes for DCN3.x
      - Initial USB4 DP tunnelling support
      - Aldebaran MCE support
      
      amdkfd:
      - Misc bug fixes
      - Misc code cleanups
      - RAS fixes
      
      x86/MCE:
      - Export symbol for use by GPU driver
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211008200345.4689-1-alexander.deucher@amd.com
      b1f81666
  6. 08 Oct, 2021 11 commits
  7. 07 Oct, 2021 1 commit
    • Lucas De Marchi's avatar
      drm/i915: remove IS_ACTIVE · 1a839e01
      Lucas De Marchi authored
      When trying to bring IS_ACTIVE to linux/kconfig.h I thought it wouldn't
      provide much value just encapsulating it in a boolean context. So I also
      added the support for handling undefined macros as the IS_ENABLED()
      counterpart. However the feedback received from Masahiro Yamada was that
      it is too ugly, not providing much value. And just wrapping in a boolean
      context is too dumb - we could simply open code it.
      
      As detailed in commit babaab2f ("drm/i915: Encapsulate kconfig
      constant values inside boolean predicates"), the IS_ACTIVE macro was
      added to workaround a compilation warning. However after checking again
      our current uses of IS_ACTIVE it turned out there is only
      1 case in which it triggers a warning in clang (due
      -Wconstant-logical-operand) and 2 in smatch. All the others
      can simply use the shorter version, without wrapping it in any macro.
      
      So here I'm dialing all the way back to simply removing the macro. That
      single case hit by clang can be changed to make the constant come first,
      so it doesn't think it's mask:
      
      	-       if (context && CONFIG_DRM_I915_FENCE_TIMEOUT)
      	+       if (CONFIG_DRM_I915_FENCE_TIMEOUT && context)
      
      As talked with Dan Carpenter, that logic will be added in smatch as
      well, so it will also stop warning about it.
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Reviewed-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211005171728.3147094-1-lucas.demarchi@intel.com
      1a839e01