aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLi Ming <[email protected]>2025-04-10 02:45:21 +0000
committerDave Jiang <[email protected]>2025-04-18 16:33:56 +0000
commit25174d5cd22f0977034892672a0287f7febcec1c (patch)
treef62378461600313b2f953912dbff66a0df22bef9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentcxl: Fix devm host device for CXL fwctl initialization (diff)
downloadkernel-25174d5cd22f0977034892672a0287f7febcec1c.tar.gz
kernel-25174d5cd22f0977034892672a0287f7febcec1c.zip
cxl/feature: Update out_len in set feature failure case
CXL subsystem supports userspace to configure features via fwctl interface, it will configure features by using Set Feature command. Whatever Set Feature succeeds or fails, CXL driver always needs to return a structure fwctl_rpc_cxl_out to caller, and returned size is updated in a out_len parameter. The out_len should be updated not only when the set feature succeeds, but also when the set feature fails. Fixes: eb5dfcb9e36d ("cxl: Add support to handle user feature commands for set feature") Signed-off-by: Li Ming <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions