diff options
author | Thomas Hellström <[email protected]> | 2023-06-26 11:14:48 +0200 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2023-06-27 10:35:36 +0200 |
commit | 731f4ab5d59e4b5a452664bd74390edab98daf52 (patch) | |
tree | 83ca5360221c52e2bd9abd77433122062e766f6e /drivers/gpu/drm/ast/ast_main.c | |
parent | 701d2054fa317188cd4039c84e72c73254013b23 (diff) |
drm/ttm: Don't shadow the operation context
ttm_bo_swapout() shadows the ttm operation context which may cause
major confusion in driver callbacks when swapping out !TTM_PL_SYSTEM
memory. Fix this by reusing the operation context argument to
ttm_bo_swapout().
Cc: "Christian König" <[email protected]>
Cc: Roger He <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Acked-by: Matthew Brost <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions