drm/xe: Nuke xe from xe_devcoredump
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 23 Jan 2024 20:44:48 +0000 (12:44 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 24 Jan 2024 18:53:38 +0000 (10:53 -0800)
xe is never set in xe_devcoredump but if xe_device is needed
devcoredump_to_xe_device() can be used.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123204454.246788-3-jose.souza@intel.com
drivers/gpu/drm/xe/xe_devcoredump_types.h

index 7fdad9c3d3dde62cb2aca573f7a8a404b52bd136..50106efcbc29d755d318b532efdadb915788c698 100644 (file)
@@ -44,8 +44,6 @@ struct xe_devcoredump_snapshot {
  * for reading the information.
  */
 struct xe_devcoredump {
-       /** @xe: Xe device. */
-       struct xe_device *xe;
        /** @captured: The snapshot of the first hang has already been taken. */
        bool captured;
        /** @snapshot: Snapshot is captured at time of the first crash */