Skip to content
Permalink
Ville-Syrjala/…
Switch branches/tags

Commits on Oct 15, 2021

  1. drm/i915: Introduce lpt_pch_disable()

    Let's add lpt_pch_disable() as the counterpart to
    lpt_pch_enable().
    
    Note that unlike the ilk+ code the fdi_link_train()
    and fdi_disable() calls are still left directly in
    intel_crt.c. If we wanted to move those we'd need to
    add lpt_pch_pre_enable(). But the two fdi direct fdi
    calls are pretry symmetric so it doesn't seem too bad
    to just keep them as is.
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  2. drm/i915: Move intel_ddi_fdi_post_disable() to fdi code

    Reanme intel_ddi_fdi_post_disable() to hsw_fdi_disable() and
    relocate it next to all the other code dealing with FDI_RX.
    intel_ddi.c has now been cleansed of FDI_RX.
    
    In order to avoid exposing intel_disable_ddi_buf() outside
    intel_ddi.c we can just open code the DDI_BUF_CTL write. The
    enable side already has all that stuff open coded so
    this actually is more symmetric. But we do need to remeber
    to bring the intel_wait_ddi_buf_idle() call over from
    inside intel_disable_ddi_buf().
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  3. drm/i915: Introduce ilk_pch_disable() and ilk_pch_post_disable()

    Hoover the remaining open coded PCH modeset sequence bits
    out from ilk_crtc_disable(). Somewhat annoyingly the
    enable vs. disable is a bit asymmetric so we need two
    functions for the disable case.
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  4. drm/i915: Move iCLKIP readout to the pch code

    Move the lpt_get_iclkip() call from hsw_crt_get_config()
    since that's where we have the lpt_program_iclkip() call
    as well.
    
    Tehcnically this isn't perhaps quite right since iCLKIP
    is providing the CRT dotclock. So one can argue all of
    it should be directly in intel_crt.c. But since the CRT
    port is the only one on the PCH sticking it all into the
    PCH code seems OK.
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  5. drm/i915: Extract ilk_pch_get_config()

    Pull the ilk+ PCH state readout into its own function and relocate
    to the appropriate file.
    
    The clock readout parts are perhaps a bit iffy since we depend
    on the gmch DPLL readout code. But we can think about the clock
    readout big picture later.
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  6. drm/i915: Move LPT PCH readout code

    Nuke the hsw_get_ddi_port_state() eyesore by putting the
    readout code into intel_pch_display.c, and calling it directly
    from hsw_crt_get_config().
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  7. drm/i915: Clean up the {ilk, lpt}_pch_enable() calling convention

    Use the clean "atomic_state+crtc" approach of passing
    arguments to the top level PCH modeset code.
    
    And while at it we can also just pass the whole crtc to
    ilk_disable_pch_transcoder().
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  8. drm/i915: Move PCH modeset code to its own file

    Start moving the code for PCH modeset sequence/etc. to
    its own file.
    
    Still not sure about the file name though...
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  9. drm/i915: Move PCH refclok stuff into its own file

    Move the PCH refclk stuff (including all the LPT/WPT
    iCLKIP/CLKOUT_DP things) to its own file.
    
    We also suck in the mPHY programming from intel_fdi.c
    since we're the only caller.
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    vsyrjala authored and intel-lab-lkp committed Oct 15, 2021
  10. drm/i915/uapi: Add comment clarifying purpose of I915_TILING_* values

    The I915_TILING_* values in our uapi header are intended solely for use
    with the old get_tiling/set_tiling ioctls that operate on hardware
    de-tiling fences; all other uapi communication about tiling types is
    done via framebuffer modifiers rather than with these old values.
    
    On newer Intel platforms detiling fences no longer exist so the old
    get_tiling/set_tiling ioctls are no longer usable and will always return
    -EOPNOTSUPP.  This means there's no reason to add new tiling types (such
    as the Tile4 format introduced by Xe_HP) to the uapi header here.  Any
    kernel-internal code that needs to represent tiling format should either
    rely on framebuffer modifiers (as the display code does) or use some
    kind of non-uapi enum (as the GEM blt selftest now does).
    
    References: https://patchwork.freedesktop.org/patch/456656/?series=95308
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
    Reviewed-by: Caz Yokoyama <caz.yokoyama@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012221245.2609670-1-matthew.d.roper@intel.com
    mattrope committed Oct 15, 2021

Commits on Oct 14, 2021

  1. drm/i915: Fix oops on platforms w/o hpd support

    We don't have hpd support on i8xx/i915 which means hotplug_funcs==NULL.
    Let's not oops when loading the driver on one those machines.
    
    v2: Drop the redundant function pointer check (Jani)
    
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Fixes: cd030c7 ("drm/i915: constify hotplug function vtable.")
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211014090941.12159-5-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  2. drm/i915: Remove memory frequency calculation

    This memory frequency calculated is only used to check if it is zero,
    what is not useful as it will never actually be zero.
    
    Also the calculation is wrong, we should be checking other bit to
    select the appropriate frequency multiplier while this code is stuck
    with a fixed multiplier.
    
    So here dropping it as whole.
    
    v2:
    - Also remove memory frequency calculation for gen9 LP platforms
    
    Cc: Yakui Zhao <yakui.zhao@intel.com>
    Cc: Matt Roper <matthew.d.roper@intel.com>
    Fixes: 5d0c938 ("drm/i915/gen11+: Only load DRAM information from pcode")
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211013010046.91858-1-jose.souza@intel.com
    zehortigoza committed Oct 14, 2021
  3. drm/i915: Add all per-lane register definitions for icl combo phy

    Add the FOO_LN() register macros for all the icl combo phy registers.
    Also get rid of the semi-pointless FOO_LN0() variants and just use
    the parametrized version.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-5-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  4. drm/i915: Extract icl_combo_phy_loadgen_select()

    Pull the convoluted loadgen calculation into a small helper.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-7-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  5. drm/i915: Remove dead DKL_TX_LOADGEN_SHARING_PMD_DISABLE stuff

    DKL_TX_LOADGEN_SHARING_PMD_DISABLE doesn't even seem to exist,
    also the spec says to skip all loadgen stuff.
    
    The code was dead anyway since it wasn't actually writing the value
    anywhere.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-6-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  6. drm/i915: Use standard form terminating condition for lane for loops

    Use <4 instead of <=3 as the terminating condition for the
    loops over the 4 lanes.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-4-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  7. drm/i915: Shrink {icl_mg,tgl_dkl}_phy_ddi_buf_trans

    All the values we have in {icl_mg,tgl_dkl}_phy_ddi_buf_trans
    fit into u8. Shrink the types accordingly.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-3-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  8. drm/i915: Remove pointless extra namespace from dkl/snps buf trans st…

    …ructs
    
    The struct itself already has sufficient namespace. No need to
    duplicate it in the members.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-2-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    vsyrjala committed Oct 14, 2021
  9. drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]

    Now that intel_sideband.[ch] has been decluttered, it's pure lpt/wpt
    iosf sideband. Let's call it intel_sbi, following the function naming.
    
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/183423ff23b2d259e4a197e74daf6bcd750bfe14.1634207064.git.jani.nikula@intel.com
    jnikula committed Oct 14, 2021
  10. drm/i915: split out intel_pcode.[ch] to separate file

    The snb+ pcode mailbox code is not sideband, so split it out to a
    separate file. As can be seen from the #include changes, very few places
    use both sideband and pcode.
    
    Code movement only.
    
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/185deb18eb739e5ae019e27834b9997dcc1347bc.1634207064.git.jani.nikula@intel.com
    jnikula committed Oct 14, 2021
  11. drm/i915/bios: gracefully disable dual eDP for now

    For the time being, neither the power sequencer nor the backlight code
    properly support two eDP panels simultaneously. While the software
    states will be independent, the same sets of registers will be used for
    both eDP panels, clobbering the hardware state and leading to errors.
    
    Gracefully disable dual eDP until proper support has been added.
    
    Cc: José Roberto de Souza <jose.souza@intel.com>
    Cc: Uma Shankar <uma.shankar@intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Swati Sharma <swati2.sharma@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Tested-by: Swati Sharma <swati2.sharma@intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211005175636.24669-1-jani.nikula@intel.com
    jnikula committed Oct 14, 2021
  12. drm/i915: split out vlv sideband to a separate file

    The VLV/CHV sideband code is pretty distinct from the rest of the
    sideband code. Split it out to new vlv_sideband.[ch].
    
    Pure code movement with relevant #include changes, and a tiny checkpatch
    fix on top.
    
    Cc: Lucas De Marchi <lucas.demarchi@intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/755ebbbaf01fc6d306b763b6ef60f45e671ba290.1634119597.git.jani.nikula@intel.com
    jnikula committed Oct 14, 2021

Commits on Oct 12, 2021

  1. drm/i915/display: remove unused intel-mid.h include

    Nothing from intel-mid.h and this is only available on x86, so remove it
    as we prepare support for other architectures.
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211007233212.3896460-4-lucas.demarchi@intel.com
    lucasdemarchi committed Oct 12, 2021
  2. Merge drm/drm-next into drm-intel-next

    Need to resync drm-intel-next with TTM and PXP stuff from
    drm-intel-gt-next that is now in drm/drm-next.
    
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    rodrigovivi committed Oct 12, 2021
  3. drm/i915/display: move pin/unpin fb/plane code to a new file.

    This just moves this code out of the i915_display.c into a new
    standalone file.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-6-airlied@gmail.com
    airlied authored and jnikula committed Oct 12, 2021
  4. drm/i915/display: refactor initial plane config to a separate file

    This moves this functionality out of intel_display.c to separate
    self-contained file.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-5-airlied@gmail.com
    airlied authored and jnikula committed Oct 12, 2021
  5. drm/i915/display: refactor out initial plane config for crtcs

    This just pulls this out into a function so it can be moved to
    another file easier.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-4-airlied@gmail.com
    airlied authored and jnikula committed Oct 12, 2021
  6. drm/i915/display: let intel_plane_uses_fence be used from other places.

    I want to refactor some stuff using this so make it shared.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-3-airlied@gmail.com
    airlied authored and jnikula committed Oct 12, 2021
  7. drm/i915/display: move plane prepare/cleanup to intel_atomic_plane.c

    Start to refactor more stuff out of intel_display.c. These fit
    better in this file.
    
    This moves the rps boosting code as well as this is the only user of it.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-2-airlied@gmail.com
    airlied authored and jnikula committed Oct 12, 2021
  8. drm/i915/dg2: update link training for 128b/132b

    The 128b/132b channel coding link training uses more straightforward TX
    FFE preset values. Reuse voltage tries and max vswing for retry logic.
    
    The delays for 128b/132b are still all wrong, but this is regardless a
    step forward.
    
    v2: Fix UHBR rate checks, use intel_dp_is_uhbr() helper
    
    v3:
    - Rebase
    - Modify intel_dp_adjust_request_changed() and
      intel_dp_link_max_vswing_reached() to take 128b/132b into
      account. (Ville)
    
    v4:
    - Train request printing for TX FFE (Ville)
    - Log 8b/10b vs. 128b/132b (Ville)
    - Add helper for per-lane max vswing / tx ffe (Ville)
    - Name functions with tx_ffe/vswing instead of 128b132b/8b10b
    
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211011182144.22074-2-jani.nikula@intel.com
    jnikula committed Oct 12, 2021
  9. drm/i915/dp: abstract intel_dp_lane_max_vswing_reached()

    Add per-lane abstraction for max vswing reached to make follow-up
    cleaner, as this one reverses the conditions.
    
    v2: both conditions need to be true, reverse (Ville)
    
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20211011182144.22074-1-jani.nikula@intel.com
    jnikula committed Oct 12, 2021

Commits on Oct 11, 2021

  1. 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.com
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    airlied committed Oct 11, 2021
  2. Merge tag 'drm-intel-next-2021-10-04' of git://anongit.freedesktop.or…

    …g/drm/drm-intel into drm-next
    
    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: Dave 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
    airlied committed Oct 11, 2021
  3. Merge tag 'drm-misc-next-2021-10-06' of git://anongit.freedesktop.org…

    …/drm/drm-misc into drm-next
    
    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: Dave 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
    airlied committed Oct 11, 2021
  4. Merge tag 'amd-drm-next-5.16-2021-10-08' of https://gitlab.freedeskto…

    …p.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: Dave 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
    airlied committed Oct 11, 2021
Older