]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Add support for encap/decap of bitstream to/from packet
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 12 Nov 2025 13:22:03 +0000 (14:22 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Thu, 13 Nov 2025 10:48:19 +0000 (11:48 +0100)
commit1ed30397c0b92b97381dbd11362fdbbf93e046d2
tree1f4ac141f54a3f30b1738570accf650c68fecc04
parent644a699e6980d9fda947319e157b028f96ee3050
drm/xe/pf: Add support for encap/decap of bitstream to/from packet

Add debugfs handlers for migration state and handle bitstream
.read()/.write() to convert from bitstream to/from migration data
packets.
As descriptor/trailer are handled at this layer - add handling for both
save and restore side.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20251112132220.516975-8-michal.winiarski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/xe_sriov_packet.c
drivers/gpu/drm/xe/xe_sriov_packet.h
drivers/gpu/drm/xe/xe_sriov_pf_control.c
drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c
drivers/gpu/drm/xe/xe_sriov_pf_migration.c
drivers/gpu/drm/xe/xe_sriov_pf_migration.h
drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h