diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@igalia.com> | 2026-02-27 12:49:01 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:15:20 +0100 |
| commit | 1cb24af7df3b754721dde493bfa21502893cae9c (patch) | |
| tree | 0a1e399cc4f19cc0551ce44ed0e68828fa99da73 /include/net/aligned_data.h | |
| parent | fec3d72923aec0de8018f582c8d397209f49531d (diff) | |
drm/ttm: Fix ttm_pool_beneficial_order() return type
commit 6e3f4514e3b432871ac81717d24f56b441857f77 upstream.
Fix a nasty copy and paste bug, where the incorrect boolean return type of
the ttm_pool_beneficial_order() helper had a consequence of avoiding
direct reclaim too eagerly for drivers which use this feature (currently
amdgpu).
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Fixes: 7e9c548d3709 ("drm/ttm: Allow drivers to specify maximum beneficial TTM pool size")
Cc: Christian König <christian.koenig@amd.com>
Cc: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v6.19+
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20260227124901.3177-1-tvrtko.ursulin@igalia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
