[PATCH 0/1] drm/xe: Add null pointer check for xe_migrate_copy

Zhanjun Dong zhanjun.dong at intel.com
Wed Sep 18 22:09:59 UTC 2024


Add null pointer check for parameter src.
Update lack source flag to include resource is null case in xe_bo_move
before xe_migrate_copy called.

Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>

Zhanjun Dong (1):
  drm/xe: Add null pointer check for xe_migrate_copy

 drivers/gpu/drm/xe/xe_bo.c      |  4 ++--
 drivers/gpu/drm/xe/xe_migrate.c | 24 ++++++++++++++++--------
 2 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list