From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 750E2364E89; Wed, 20 May 2026 17:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296881; cv=none; b=M6AY35/Qx4FD7TzBNepM8zzQiX/6PNSs/EO2akmkyX7+jNfQhQ+FGPxjPdhPPfKHq3SKU48vdf4G/D//g6fvvjpytqtOxd3a/rZV0pSiw5EAtWWHJQjs9PprVtVq0brlWptik6VyiXUJBzb33eEkCFbNIrE5q+oH1B7NwySopPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296881; c=relaxed/simple; bh=vTxmVEomq0JdXoyntcwG9IiA9pNC9CIKwi1IqFbm2Vg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=typJyFueKwFcXb74GvGv1nys8ngbTNgmk5xL6APEIuxDyHZPVzAmO00bxudQUHOVevT+wAd1b28kw2K8Xe4VvNH9kwl/icxWBuEjl9yKhuztOTQLejckLZH1tKiCu6zNGaqMVsseEd+Dbe0HIR7ZfHYkLVCU2aVGoMbEq6ie02Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HM9Dsl9N; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HM9Dsl9N" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D828E1F000E9; Wed, 20 May 2026 17:07:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779296880; bh=SgKkirF085lRjxdLW0dbWhXvgFbzMcWOOr4k5fqIXtQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=HM9Dsl9NiEVJZSrAgATsBaIMXwgKOzJuWHqQLMtDVW/pGBPrCJkNAeE+3tSdae4LV itTZfOtCuzjoi+B9JILn2orBRVfnbSxGCIUiQdd3hGvMiHwwYAaDO8vHEXSN7RiAbb B1nBOIhqYePdp8Y/aKeLyzsEB+dBpGh7idygdRaY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Christian=20K=C3=B6nig?= , Alex Deucher , Yinjie Yao , Sasha Levin Subject: [PATCH 7.0 0968/1146] drm/amdgpu/vcn: set no_user_fence for VCN v4.0.5 enc ring Date: Wed, 20 May 2026 18:20:18 +0200 Message-ID: <20260520162210.136441071@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yinjie Yao [ Upstream commit 589a254bf3e88204c8402b9cbccd5e23a0af990f ] VCN encoder and decoder rings do not support 64-bit user fence writes, reject CS submissions with user fences. Fixes: 547aad32edac ("drm/amdgpu: add VCN4 ip block support") Reviewed-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Yinjie Yao Signed-off-by: Alex Deucher (cherry picked from commit 084d94ac93707bdda07efb5cee786f632de4219b) Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c index 1f6a22983c0dd..1571cc5a148c8 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c @@ -1483,6 +1483,7 @@ static struct amdgpu_ring_funcs vcn_v4_0_5_unified_ring_vm_funcs = { .type = AMDGPU_RING_TYPE_VCN_ENC, .align_mask = 0x3f, .nop = VCN_ENC_CMD_NO_OP, + .no_user_fence = true, .get_rptr = vcn_v4_0_5_unified_ring_get_rptr, .get_wptr = vcn_v4_0_5_unified_ring_get_wptr, .set_wptr = vcn_v4_0_5_unified_ring_set_wptr, -- 2.53.0