[PATCH v2 0/4] drm/ttm: Fixes around resources and bulk moves

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Jun 27 09:05:45 UTC 2023


On 6/26/23 11:14, Thomas Hellström wrote:
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> A couple of ttm fixes for issues that either were hit while developing the
> xe driver or, for the resource leak patches, discovered during code
> inspection.
>
> v2:
> - Avoid a goto in patch 3 (Andi Shyti)
> - Add some RB's
>
> Thomas Hellström (4):
>    drm/ttm: Fix ttm_lru_bulk_move_pos_tail()
>    drm/ttm: Don't shadow the operation context
>    drm/ttm: Don't leak a resource on eviction error
>    drm/ttm: Don't leak a resource on swapout move error
>
>   drivers/gpu/drm/ttm/ttm_bo.c       | 26 +++++++++++++-------------
>   drivers/gpu/drm/ttm/ttm_resource.c |  2 ++
>   2 files changed, 15 insertions(+), 13 deletions(-)
>
Pushed 2/4 to drm-misc-next, 3/4 & 4/4 to drm-misc-fixes.

/Thomas




More information about the dri-devel mailing list