]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: Remove NULL check of lrc->bo in xe_lrc_snapshot_capture()
authorApoorva Singh <apoorva.singh@intel.com>
Fri, 16 Aug 2024 08:03:55 +0000 (13:33 +0530)
committerNirmoy Das <nirmoy.das@intel.com>
Mon, 26 Aug 2024 08:27:33 +0000 (10:27 +0200)
commit65112db0c21022cb1caed5a03c6392eaaf984c14
tree879890afcb657185a2800a0ec05509cb9ac36f1e
parentff9c674d1127e768050fe418470e74586985c87b
drm/xe: Remove NULL check of lrc->bo in xe_lrc_snapshot_capture()

- lrc->bo NULL check is not needed in xe_lrc_snapshot_capture() as
  its already been taken care of in xe_lrc_init().

Signed-off-by: Apoorva Singh <apoorva.singh@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240816080355.897256-1-apoorva.singh@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_lrc.c