On Tue, Feb 04, 2025 at 08:59:08AM +0100, Christian König wrote:
> Am 26.01.25 um 10:32 schrieb Zhaoyu Liu:
> > TTM always uses pin_count and ttm_resource_is_swapped() together to
> > determine whether a BO is unevictable.
> > Now use ttm_resource_unevictable() to replace them.
> >
> > Signed-off-
> From: "Zhaoyu Liu" > Date: Sun, Jan 26,
2025, 17:33 > Subject: [PATCH] drm/ttm: use ttm_resource_unevictable() to
replace pin_count and swapped > To: , <
ray.hu...@amd.com>, , ,
, , > Cc: <
dri-devel@lists.freedesktop.org>, > TTM
always uses pin_coun
Am 26.01.25 um 10:32 schrieb Zhaoyu Liu:
TTM always uses pin_count and ttm_resource_is_swapped() together to
determine whether a BO is unevictable.
Now use ttm_resource_unevictable() to replace them.
Signed-off-by: Zhaoyu Liu
Reviewed-by: Christian König
I will pick this up for drm-misc-nex
TTM always uses pin_count and ttm_resource_is_swapped() together to
determine whether a BO is unevictable.
Now use ttm_resource_unevictable() to replace them.
Signed-off-by: Zhaoyu Liu
---
drivers/gpu/drm/ttm/ttm_resource.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)