Skip to content
Permalink
Matthew-Auld/d…
Switch branches/tags

Commits on Sep 13, 2021

  1. drm/i915/ttm: enable shmem tt backend

    Enable shmem tt backend, and enable shrinking.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  2. drm/i915/ttm: make evicted shmem pages visible to the shrinker

    We currently just evict lmem objects to system memory when under memory
    pressure. For this case we lack the usual object mm.pages, which
    effectively hides the pages from the i915-gem shrinker, until we
    actually "attach" the TT to the object, or in the case of lmem-only
    objects it just gets migrated back to lmem when touched again. For such
    cases we can make the object visible as soon as we populate the TT with
    shmem pages, and then hide it again when doing the unpopulate.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  3. drm/i915: try to simplify make_{un}shrinkable

    Drop the atomic shrink_pin stuff, and just have make_{un}shrinkable
    update the shrinker visible lists immediately. This at least simplifies
    the next patch, and does make the behaviour more obvious. The potential
    downside is that make_unshrinkable now grabs a global lock even when the
    object itself is no longer shrinkable(transitioning from purgeable <->
    shrinkable doesn't seem to be a thing), for example in the ppGTT
    insertion paths we should now be careful not to needlessly call
    make_unshrinkable multiple times. Outside of that there is some fallout
    in intel_context which relies on nesting calls to shrink_pin.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  4. drm/i915: remember to call i915_sw_fence_fini

    Fixes some object-debug splat which appeared while debugging something
    unrelated.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  5. drm/i915/ttm: use cached system pages when evicting lmem

    This should let us do an accelerated copy directly to the shmem pages
    when temporarily moving lmem-only objects, where the i915-gem shrinker
    can later kick in to swap out the pages, if needed.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  6. drm/i915/ttm: add tt shmem backend

    For cached objects we can allocate our pages directly in shmem. This
    should make it possible(in a later patch) to utilise the existing
    i915-gem shrinker code for such objects. For now this is still disabled.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    Cc: Christian König <christian.koenig@amd.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  7. drm/ttm: add TTM_PAGE_FLAG_SHMEM

    Add new flag to indicate special shmem based tt, which can directly
    handle swapping itself, and should be visible to some shrinker.
    
    As part of this we should skip the ttm_pages_allocated accounting, since
    such tt objects should already be reachable, and potentially reclaimable
    by some shrinker, if under memory pressure, and so shouldn't directly
    count towards the swap "watermark" level.
    
    We also need to stop touching the page->mapping and page->index for such
    objects, like in ttm_tt_add_mapping, since shmem already uses these.
    Some drivers seems to depend on the tt mapping/index behaviour for their
    own purposes, so directly using shmem tt likely won't be usable there
    as-is.
    
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    Cc: Christian König <christian.koenig@amd.com>
    matt-auld authored and intel-lab-lkp committed Sep 13, 2021
  8. drm/i915/gem: Break out some shmem backend utils

    Break out some shmem backend utils for future reuse by the TTM backend:
    shmem_alloc_st(), shmem_free_st() and __shmem_writeback() which we can
    use to provide a shmem-backed TTM page pool for cached-only TTM
    buffer objects.
    
    Main functional change here is that we now compute the page sizes using
    the dma segments rather than using the physical page address segments.
    
    Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Signed-off-by: Matthew Auld <matthew.auld@intel.com>
    Thomas Hellström authored and intel-lab-lkp committed Sep 13, 2021
  9. Merge remote-tracking branch 'drm-intel/topic/core-for-CI' into drm-tip

    # Conflicts:
    #	arch/x86/events/rapl.c
    #	mm/slub.c
    mlankhorst committed Sep 13, 2021
  10. Merge remote-tracking branch 'drm-intel/drm-intel-gt-next' into drm-tip

    # Conflicts:
    #	drivers/gpu/drm/i915/i915_module.c
    #	drivers/gpu/drm/ttm/ttm_bo_util.c
    mlankhorst committed Sep 13, 2021
  11. Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip

    # Conflicts:
    #	Documentation/gpu/drm-mm.rst
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
    #	drivers/gpu/drm/i915/gem/i915_gem_ttm.c
    mlankhorst committed Sep 13, 2021
  12. Merge remote-tracking branch 'drm/drm-next' into drm-tip

    # Conflicts:
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
    #	drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
    #	drivers/gpu/drm/i915/display/intel_display.c
    #	drivers/gpu/drm/i915/i915_globals.c
    #	drivers/gpu/drm/i915/i915_pci.c
    #	drivers/gpu/drm/i915/intel_device_info.c
    #	drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
    #	drivers/gpu/drm/msm/dp/dp_display.c
    #	drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
    mlankhorst committed Sep 13, 2021
  13. drm/meson: Make use of the helper function devm_platform_ioremap_reso…

    …urcexxx()
    
    Use the devm_platform_ioremap_resource_byname() helper instead of
    calling platform_get_resource_byname() and devm_ioremap_resource()
    separately
    
    Use the devm_platform_ioremap_resource() helper instead of
    calling platform_get_resource() and devm_ioremap_resource()
    separately
    
    Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
    Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210831135644.4576-1-caihuoqing@baidu.com
    Cai Huoqing authored and superna9999 committed Sep 13, 2021

Commits on Sep 12, 2021

  1. drm/panel-orientation-quirks: add Valve Steam Deck

    Valve's Steam Deck has a 800x1280 LCD screen.
    
    Signed-off-by: Simon Ser <contact@emersion.fr>
    Cc: Jared Baldridge <jrb@expunge.us>
    Cc: Emil Velikov <emil.l.velikov@gmail.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210911102430.253986-1-contact@emersion.fr
    emersion authored and jwrdegoede committed Sep 12, 2021
  2. drm: panel-orientation-quirks: Add quirk for the Chuwi HiBook

    The Chuwi HiBook uses a panel which has been mounted
    90 degrees rotated. Add a quirk for this.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Thierry Reding <treding@nvidia.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210905130501.32980-1-hdegoede@redhat.com
    jwrdegoede committed Sep 12, 2021

Commits on Sep 10, 2021

  1. drm/i915: Get PM ref before accessing HW register

    Seeing these errors when GT is likely in suspend state-
    "RPM wakelock ref not held during HW access"
    
    Ensure GT is awake before trying to access HW registers. Avoid
    reading the register if that is not the case.
    
    Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
    Fixes: 41e5c17 ("drm/i915/guc/slpc: Sysfs hooks for SLPC")
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210907232704.12982-1-vinay.belgaumkar@intel.com
    vsbelgaum authored and johnharr-intel committed Sep 10, 2021
  2. drm/i915: Use Transparent Hugepages when IOMMU is enabled

    Usage of Transparent Hugepages was disabled in 9987da4
    ("drm/i915: Disable THP until we have a GPU read BW W/A"), but since it
    appears majority of performance regressions reported with an enabled IOMMU
    can be almost eliminated by turning them on, lets just do that.
    
    To err on the side of safety we keep the current default in cases where
    IOMMU is not active, and only when it is default to the "huge=within_size"
    mode. Although there probably would be wins to enable them throughout,
    more extensive testing across benchmarks and platforms would need to be
    done.
    
    With the patch and IOMMU enabled my local testing on a small Skylake part
    shows OglVSTangent regression being reduced from ~14% (IOMMU on versus
    IOMMU off) to ~2% (same comparison but with THP on).
    
    More detailed testing done in the below referenced Gitlab issue by Eero:
    
    Skylake GT4e:
    
    Performance drops from enabling IOMMU:
    
        30-35% SynMark CSDof
        20-25% Unigine Heaven, MemBW GPU write, SynMark VSTangent
        ~20% GLB Egypt  (1/2 screen window)
        10-15% GLB T-Rex (1/2 screen window)
        8-10% GfxBench T-Rex, MemBW GPU blit
        7-8% SynMark DeferredAA + TerrainFly* + ZBuffer
        6-7% GfxBench Manhattan 3.0 + 3.1, SynMark TexMem128 & CSCloth
        5-6% GfxBench CarChase, Unigine Valley
        3-5% GfxBench Vulkan & GL AztecRuins + ALU2, MemBW GPU texture,
             SynMark Fill*, Deferred, TerrainPan*
        1-2% Most of the other tests
    
    With the patch drops become:
    
        20-25% SynMark TexMem*
        15-20% GLB Egypt (1/2 screen window)
        10-15% GLB T-Rex (1/2 screen window)
        4-7% GfxBench T-Rex, GpuTest Triangle
        1-8% GfxBench ALU2 (offscreen 1%, onscreen 8%)
        3% GfxBench Manhattan 3.0, SynMark CSDof
        2-3% Unigine Heaven + Valley, MemBW GPU texture
        1-3 GfxBench Manhattan 3.1 + CarChase + Vulkan & GL AztecRuins
    
    Broxton:
    
    Performance drops from IOMMU, without patch:
    
        30% MemBW GPU write
        25% SynMark ZBuffer + Fill*
        20% MemBW GPU blit
        15% MemBW GPU blend, GpuTest Triangle
        10-15% MemBW GPU texture
        10% GLB Egypt, Unigine Heaven (had hangs), SynMark TerrainFly*
        7-9% GLB T-Rex, GfxBench Manhattan 3.0 + T-Rex,
             SynMark Deferred* + TexMem*
        6-8% GfxBench CarChase, Unigine Valley,
             SynMark CSCloth + ShMapVsm + TerrainPan*
        5-6% GfxBench Manhattan 3.1 + GL AztecRuins,
             SynMark CSDof + TexFilterTri
        2-4% GfxBench ALU2, SynMark DrvRes + GSCloth + ShMapPcf + Batch[0-5] +
             TexFilterAniso, GpuTest GiMark + 32-bit Julia
    
    And with patch:
    
        15-20% MemBW GPU texture
        10% SynMark TexMem*
        8-9% GLB Egypt (1/2 screen window)
        4-5% GLB T-Rex (1/2 screen window)
        3-6% GfxBench Manhattan 3.0, GpuTest FurMark,
             SynMark Deferred + TexFilterTri
        3-4% GfxBench Manhattan 3.1 + T-Rex, SynMark VSInstancing
        2-4% GpuTest Triangle, SynMark DeferredAA
        2-3% Unigine Heaven + Valley
        1-3% SynMark Terrain*
        1-2% GfxBench CarChase, SynMark TexFilterAniso + ZBuffer
    
    Tigerlake-H:
    
        20-25% MemBW GPU texture
        15-20% GpuTest Triangle
        13-15% SynMark TerrainFly* + DeferredAA + HdrBloom
        8-10% GfxBench Manhattan 3.1, SynMark TerrainPan* + DrvRes
        6-7% GfxBench Manhattan 3.0, SynMark TexMem*
        4-8% GLB onscreen Fill + T-Rex + Egypt (more in onscreen than
             offscreen versions of T-Rex/Egypt)
        4-6% GfxBench CarChase + GLES AztecRuins + ALU2, GpuTest 32-bit Julia,
             SynMark CSDof + DrvState
        3-5% GfxBench T-Rex + Egypt, Unigine Heaven + Valley, GpuTest Plot3D
        1-7% Media tests
        2-3% MemBW GPU blit
        1-3% Most of the rest of 3D tests
    
    With the patch:
    
        6-8% MemBW GPU blend => the only regression in these tests (compared
             to IOMMU without THP)
        4-6% SynMark DrvState (not impacted) + HdrBloom (improved)
        3-4% GLB T-Rex
        ~3% GLB Egypt, SynMark DrvRes
        1-3% GfxBench T-Rex + Egypt, SynMark TexFilterTri
        1-2% GfxBench CarChase + GLES AztecRuins, Unigine Valley,
            GpuTest Triangle
        ~1% GfxBench Manhattan 3.0/3.1, Unigine Heaven
    
    Perf of several tests actually improved with IOMMU + THP, compared to no
    IOMMU / no THP:
    
        10-15% SynMark Batch[0-3]
        5-10% MemBW GPU texture, SynMark ShMapVsm
        3-4% SynMark Fill* + Geom*
        2-3% SynMark TexMem512 + CSCloth
        1-2% SynMark TexMem128 + DeferredAA
    
    As a summary across all platforms, these are the benchmarks where enabling
    THP on top of IOMMU enabled brings regressions:
    
     * Skylake GT4e:
       20-25% SynMark TexMem*
       (whereas all MemBW GPU tests either improve or are not affected)
    
     * Broxton J4205:
       7% MemBW GPU texture
       2-3% SynMark TexMem*
    
     * Tigerlake-H:
       7% MemBW GPU blend
    
    Other benchmarks show either lowering of regressions or improvements.
    
    v2:
     * Add Kconfig dependency to transparent hugepages and some help text.
     * Move to helper for easier handling of kernel build options.
    
    v3:
     * Drop Kconfig. (Daniel)
    
    v4:
     * Add some benchmark results to commit message.
    
    v5:
     * Add explicit regression summary to commit message. (Eero)
    
    References: b901bb8 ("drm/i915/gemfs: enable THP")
    References: 9987da4 ("drm/i915: Disable THP until we have a GPU read BW W/A")
    References: https://gitlab.freedesktop.org/drm/intel/-/issues/430
    Co-developed-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Cc: Eero Tamminen <eero.t.tamminen@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210909114448.508493-1-tvrtko.ursulin@linux.intel.com
    tursulin committed Sep 10, 2021
  3. drm: document drm_mode_create_lease object requirements

    validate_lease expects one CRTC, one connector and one plane.
    
    Signed-off-by: Simon Ser <contact@emersion.fr>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
    Cc: Keith Packard <keithp@keithp.com>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210903130000.1590-1-contact@emersion.fr
    emersion committed Sep 10, 2021
  4. drm/ttm: Fix a deadlock if the target BO is not idle during swap

    The ret value might be -EBUSY, caller will think lru lock is still
    locked but actually NOT. So return -ENOSPC instead. Otherwise we hit
    list corruption.
    
    ttm_bo_cleanup_refs might fail too if BO is not idle. If we return 0,
    caller(ttm_tt_populate -> ttm_global_swapout ->ttm_device_swapout) will
    be stuck as we actually did not free any BO memory. This usually happens
    when the fence is not signaled for a long time.
    
    Signed-off-by: xinhui pan <xinhui.pan@amd.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Fixes: ebd5985 ("drm/ttm: move swapout logic around v3")
    Link: https://patchwork.freedesktop.org/patch/msgid/20210907040832.1107747-1-xinhui.pan@amd.com
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    xinhui pan authored and airlied committed Sep 10, 2021
  5. Merge tag 'drm-misc-next-fixes-2021-09-09' of git://anongit.freedeskt…

    …op.org/drm/drm-misc into drm-next
    
    drm-misc-next-fixes for v5.15:
    - Make some dma-buf config options depend on DMA_SHARED_BUFFER.
    - Handle multiplication overflow of fbdev xres/yres in the core.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    
    From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/37c5fe2e-5be8-45c3-286b-d8d536a5cef2@linux.intel.com
    airlied committed Sep 10, 2021

Commits on Sep 9, 2021

  1. drm/panel-simple: Reorder logicpd_type_28 / mitsubishi_aa070mc01

    The "logicpd_type_28" panel data was splitting up the
    mitsubishi_aa070mc01 panel data. Reorganize it so that the panel descs
    and modes are kept together.
    
    This is a no-op code-cleanup change, found by code inspection.
    
    Signed-off-by: Douglas Anderson <dianders@chromium.org>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210901131531.v3.4.Ib2bdeceb8ce45d36c09f5d1ae62a2263276a0605@changeid
    dianders committed Sep 9, 2021
  2. drm/stm: ltdc: add layer alpha support

    Android Hardware Composer supports alpha values applied to layers.
    Enabling non-opaque layers for the STM CRTC could help offload GPU
    resources for screen composition.
    
    Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
    Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
    Reviewed-by: Yannick Fertre <yannick.fertre@foss.st.com>
    Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210907151534.6013-1-raphael.gallais-pou@foss.st.com
    Raphael Gallais-Pou authored and Philippe Cornu committed Sep 9, 2021
  3. drm/stm: ltdc: attach immutable zpos property to planes

    Defines plane ordering by hard-coding an immutable Z position from the
    first plane, used as primary layer, to the next ones as overlay in order
    of instantiation.
    
    This zpos is only an information as it is not possible to modify it,
    blending operations are still applied from the top to the bottom layer.
    
    This patch helps to remove a warning message from the Android
    Hardware Composer.
    
    Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
    Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
    Reviewed-by: Yannick Fertre <yannick.fertre@foss.st.com>
    Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210907151323.5850-1-raphael.gallais-pou@foss.st.com
    Raphael Gallais-Pou authored and Philippe Cornu committed Sep 9, 2021
  4. drm/ttm: enable TTM page pool kerneldoc

    Fix the remaining warnings and finally enable this.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-9-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  5. drm/ttm: enable TTM TT object kerneldoc v2

    Fix the remaining warnings and finally enable this.
    
    v2: add caching enum link
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-8-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  6. drm/ttm: enable TTM placement kerneldoc

    Fix the last remaining warning and finally enable this.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-7-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  7. drm/ttm: enable TTM resource object kerneldoc v2

    Fix the last two remaining warnings and finally enable this.
    
    v2: add caching enum link
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-6-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  8. drm/ttm: enable TTM device object kerneldoc v2

    Fix the remaining warnings, switch to inline structure documentation
    and finally enable this.
    
    v2: adjust based on suggestions from Alex
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-5-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  9. drm/ttm: add kerneldoc for enum ttm_caching

    Briefly describe what this is all about.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-4-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  10. drm/ttm: add some general module kerneldoc

    For now just a brief description of what TTM is all about.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-3-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  11. drm/ttm: remove the outdated kerneldoc section

    Clean up to start over with new and more accurate documentation.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-2-christian.koenig@amd.com
    ChristianKoenigAMD committed Sep 9, 2021
  12. drm/i915/dp: Add support for out-of-bound hotplug events

    On some Cherry Trail devices, DisplayPort over Type-C is supported through
    a USB-PD microcontroller (e.g. a fusb302) + a mux to switch the superspeed
    datalines between USB-3 and DP (e.g. a pi3usb30532). The kernel in this
    case does the PD/alt-mode negotiation itself, rather then everything being
    handled in firmware.
    
    So the kernel itself picks an alt-mode, tells the Type-C "dongle" to switch
    to DP mode and sets the mux accordingly. In this setup the HPD pin is not
    connected, so the i915 driver needs to respond to a software event and scan
    the DP port for changes manually.
    
    This commit adds support for this. Together with the recent addition of
    DP alt-mode support to the Type-C subsystem this makes DP over Type-C
    work on these devices.
    
    Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Lyude Paul <lyude@redhat.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210817215201.795062-7-hdegoede@redhat.com
    jwrdegoede committed Sep 9, 2021
Older