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 56C493FE365; Wed, 20 May 2026 18:24:25 +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=1779301466; cv=none; b=o6QnMIZemrH2wVkj3xmxYHYq0MGsY+CiGHIPkYMW/+LtLnKjyG/lR7zfrQS33GHziCPAS6OQ/1JUwrlA7f8MzH68zPPlsCVBczFq2mElJqdQR+QEvDtuqQojFBCdq0khkB8V0cBBOjfncq2V5/uJYfpwRHyOg0cDdfWbPf9wVqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779301466; c=relaxed/simple; bh=Mq7ViwTslgl8iTK+D3smzJfiUX2RWl8HXmjksIznFdU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=owdVoVTQuJNWsKomKbIc7a73Xm7YcSEZ6jHCBM6SNClkOCQcbBPgo6yNLkdvCTtiRrAzY8EbOym2aS/bQSafMOKoJQwvcNvHunBd2RvA9ffOmaOip5jtRH5BP54xgMzh1EnllqG8r6/V2DdTE8TTsNcM9QtMSrkzzCFC5QcpbHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bIvczV/5; 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="bIvczV/5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 946F11F000E9; Wed, 20 May 2026 18:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779301465; bh=UBVScNZ4LdFWRX563Pkz/09AjxINDBAxKMDW1kYdltI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bIvczV/5Bp2JZLMFwAq6d7nwkTtdVoBKsDD1pMq+A/Rw1OmT515Zkwj9OOloRW49Y qEmKE3FBcCsAXWpSoSdECiZ+sxXfd8z6zn7bhMfCJRey2D37wS7JOIpDQT5Gnkx7cn OSVPaqaiwT1u9MBiIzqAQWXWmxEO1nupUikvt5uM= 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 6.12 563/666] drm/amdgpu/jpeg: set no_user_fence for JPEG v3.0 ring Date: Wed, 20 May 2026 18:22:54 +0200 Message-ID: <20260520162123.470331990@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162111.222830634@linuxfoundation.org> References: <20260520162111.222830634@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yinjie Yao [ Upstream commit a2baf12eec41f246689e6a3f8619af1200031576 ] JPEG rings do not support 64-bit user fence writes, reject CS submissions with user fences. Fixes: dfd57dbf44dd ("drm/amdgpu: add JPEG3.0 support for Sienna_Cichlid") Reviewed-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Yinjie Yao Signed-off-by: Alex Deucher (cherry picked from commit 4d7d774f100efb5089c86a1fb8c5bf47c63fc9ef) Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c index dd00daa1d7eda..27a27de6c6c3d 100644 --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c @@ -557,6 +557,7 @@ static const struct amd_ip_funcs jpeg_v3_0_ip_funcs = { static const struct amdgpu_ring_funcs jpeg_v3_0_dec_ring_vm_funcs = { .type = AMDGPU_RING_TYPE_VCN_JPEG, .align_mask = 0xf, + .no_user_fence = true, .get_rptr = jpeg_v3_0_dec_ring_get_rptr, .get_wptr = jpeg_v3_0_dec_ring_get_wptr, .set_wptr = jpeg_v3_0_dec_ring_set_wptr, -- 2.53.0