FAILED: patch "[PATCH] drm/amdgpu: Add sriov vf check for VCN per queue reset" failed to apply to 6.17-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 6.17-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.17.y
git checkout FETCH_HEAD
git cherry-pick -x c156c7f27ecdb7b89dbbeaaa1f40d9fadc3c1680
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2025112435-frequency-flashing-6d4e@gregkh' --subject-prefix 'PATCH 6.17.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From c156c7f27ecdb7b89dbbeaaa1f40d9fadc3c1680 Mon Sep 17 00:00:00 2001
From: Shikang Fan <[email protected]>
Date: Wed, 19 Nov 2025 18:05:10 +0800
Subject: [PATCH] drm/amdgpu: Add sriov vf check for VCN per queue reset
support.
Add SRIOV check when setting VCN ring's supported reset mask.
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c +1 -1
@@ -141,7 +141,7 @@ static int vcn_v4_0_3_late_init(struct amdgpu_ip_block *ip_block) adev->vcn.supported_reset =amdgpu_get_soft_full_reset_mask (&adev->vcn.inst[0 ].ring_enc[0 ]); -if (amdgpu_dpm_reset_vcn_is_supported (adev)) +if (amdgpu_dpm_reset_vcn_is_supported (adev) && !amdgpu_sriov_vf (adev)) adev->vcn.supported_reset |=AMDGPU_RESET_TYPE_PER_QUEUE ;return 0 ;
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c +3 -1
@@ -122,7 +122,9 @@ static int vcn_v5_0_1_late_init(struct amdgpu_ip_block *ip_block)switch (amdgpu_ip_version (adev,MP0_HWIP ,0 )) {case IP_VERSION (13 ,0 ,12 ): -if ((adev->psp.sos.fw_version >=0x00450025 ) &&amdgpu_dpm_reset_vcn_is_supported (adev)) +if ((adev->psp.sos.fw_version >=0x00450025 ) && +amdgpu_dpm_reset_vcn_is_supported (adev) && + !amdgpu_sriov_vf (adev)) adev->vcn.supported_reset |=AMDGPU_RESET_TYPE_PER_QUEUE ;break ;default :