1. 23 Jul, 2024 1 commit
  2. 16 Jul, 2024 2 commits
  3. 12 Jul, 2024 3 commits
  4. 11 Jul, 2024 2 commits
  5. 10 Jul, 2024 2 commits
    • Daniel Vetter's avatar
      Merge tag 'drm-intel-next-2024-06-28' of... · dbf35b4d
      Daniel Vetter authored
      Merge tag 'drm-intel-next-2024-06-28' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
      
      drm/i915 feature pull #2 for v6.11:
      
      Features and functionality:
      - More eDP Panel Replay enabling (Jouni)
      - Add async flip and flip done tracepoints (Ville)
      
      Refactoring and cleanups:
      - Clean up BDW+ pipe interrupt register definitions (Ville)
      - Prep work for DSB based plane programming (Ville)
      - Relocate encoder suspend/shutdown helpers (Imre)
      - Polish plane surface alignment handling (Ville)
      
      Fixes:
      - Enable more fault interrupts on TGL+/MTL+ (Ville)
      - Fix CMRR 32-bit build (Mitul)
      - Fix PSR Selective Update Region Scan Line Capture Indication (Jouni)
      - Fix cursor fb unpinning (Maarten, Ville)
      - Fix Cx0 PHY PLL state verification in TBT mode (Imre)
      - Fix unnecessary MG DP programming on MTL+ Type-C (Imre)
      
      DRM changes:
      - Rename drm_plane_check_pixel_format() to drm_plane_has_format() and export
        (Ville)
      - Add drm_vblank_work_flush_all() (Maarten)
      
      Xe driver changes:
      - Call encoder .suspend_complete() hook also on Xe (Imre)
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/875xttazx2.fsf@intel.com
      dbf35b4d
    • Thomas Zimmermann's avatar
      drm/qxl: Pin buffer objects for internal mappings · c537fb4e
      Thomas Zimmermann authored
      Add qxl_bo_pin_and_vmap() that pins and vmaps a buffer object in one
      step. Update callers of the regular qxl_bo_vmap(). Fixes a bug where
      qxl accesses an unpinned buffer object while it is being moved; such
      as with the monitor-description BO. An typical error is shown below.
      
      [    4.303586] [drm:drm_atomic_helper_commit_planes] *ERROR* head 1 wrong: 65376256x16777216+0+0
      [    4.586883] [drm:drm_atomic_helper_commit_planes] *ERROR* head 1 wrong: 65376256x16777216+0+0
      [    4.904036] [drm:drm_atomic_helper_commit_planes] *ERROR* head 1 wrong: 65335296x16777216+0+0
      [    5.374347] [drm:qxl_release_from_id_locked] *ERROR* failed to find id in release_idr
      
      Commit b33651a5 ("drm/qxl: Do not pin buffer objects for vmap")
      removed the implicit pin operation from qxl's vmap code. This is the
      correct behavior for GEM and PRIME interfaces, but the pin is still
      needed for qxl internal operation.
      
      Also add a corresponding function qxl_bo_vunmap_and_unpin() and remove
      the old qxl_bo_vmap() helpers.
      
      Future directions: BOs should not be pinned or vmapped unnecessarily.
      The pin-and-vmap operation should be removed from the driver and a
      temporary mapping should be established with a vmap_local-like helper.
      See the client helper drm_client_buffer_vmap_local() for semantics.
      
      v2:
      - unreserve BO on errors in qxl_bo_pin_and_vmap() (Dmitry)
      Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Fixes: b33651a5 ("drm/qxl: Do not pin buffer objects for vmap")
      Reported-by: default avatarDavid Kaplan <david.kaplan@amd.com>
      Closes: https://lore.kernel.org/dri-devel/ab0fb17d-0f96-4ee6-8b21-65d02bb02655@suse.de/Tested-by: default avatarDavid Kaplan <david.kaplan@amd.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Zack Rusin <zack.rusin@broadcom.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: virtualization@lists.linux.dev
      Cc: spice-devel@lists.freedesktop.org
      Reviewed-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
      Reviewed-by: default avatarZack Rusin <zack.rusin@broadcom.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240708142208.194361-1-tzimmermann@suse.de
      c537fb4e
  6. 09 Jul, 2024 1 commit
  7. 08 Jul, 2024 1 commit
  8. 05 Jul, 2024 10 commits
  9. 04 Jul, 2024 2 commits
  10. 03 Jul, 2024 16 commits