drm/xe: Use q->xef for accessing xe file
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 18 Dec 2024 05:31:22 +0000 (21:31 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 21 Dec 2024 00:44:34 +0000 (16:44 -0800)
commit2054d38ccf708e1add482c6345f7f349059b56e0
treeb86ffef77c37776f8cfb2cf921af0259519d855f
parent4ca1fd418338d4d135428a0eb1e16e3b3ce17ee8
drm/xe: Use q->xef for accessing xe file

No need to traverse through the vm object as each exec queue maintains a
reference to xe_file. Also improve/simplify the comment on why xef is
checked.

Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218053122.2730195-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_exec_queue.c