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 9A4CD367B69; Wed, 20 May 2026 16:39:14 +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=1779295156; cv=none; b=q0B512rL1f9Yi76NhJn/0EnXYKrKO7781zyZx7KT2vs8S53WZ4cin1XKQKBLVL5GM4YJ8f4fjp4RkdzYprFsyM0kJ6PHbO5c/BfGFHechQ3SuH8sd6Bf2KGeBgpp0CvttF5lRrfU+fIJjAgA8J/fVSLyTCYqsgpPcGrFHBMICO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295156; c=relaxed/simple; bh=EEW20dVS/X8fQVcvWgE2sPj8ha/168uT3qNoyJcv5pI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AJPh28QolSO00Ea1PhFYVDl4YOB/YEdG9dZHiXtFfVd0Dmp3l+kRBMBbu2yNB7U51IoU+9Y7us6QLbli3d7kCLYJLSh8ylcAu33+vhLo+MaO7l4D+x39vlJiCxawoA3QP3dZ53Nw7+8FvnxkipW8mkCwAH3ElSHzOZ0MgWkvktM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Tirtdava; 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="Tirtdava" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C51131F00893; Wed, 20 May 2026 16:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779295153; bh=+9Mo2WtKRUDwHJpJ4Ak09D5QBYagWtcIOyFJDaoXfQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TirtdavaWISgnAbUSMZKashLcNNm0Y/wNDcFhw4pmHsI5BR8Qlo84GsGN6YXP7xhN RhOszsO5UaPnlu+1k5zFeHOh+leCfr5HisKnw+HPep6by5BrYzly/Gg3yCLTPNFo7M d1asOBTh5RcAHC8cMDOvdE3w9qD8cyiB7Y5ZTgE4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alex Deucher , Sasha Levin Subject: [PATCH 7.0 0312/1146] drm/amdgpu/gfx11: look at the right prop for gfx queue priority Date: Wed, 20 May 2026 18:09:22 +0200 Message-ID: <20260520162155.261698051@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: 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 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher [ Upstream commit f9a4e81bcbd04e6f967d851f9fe69d8bb3cc08b3 ] Look at hqd_queue_priority rather than hqd_pipe_priority. In practice, it didn't matter as both were always set for kernel queues, but that will change in the future. Fixes: 2e216b1e6ba2 ("drm/amdgpu/gfx11: handle priority setup for gfx pipe1") Reviewed-by:Jesse Zhang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index 8d73193de06f7..0f783adb93351 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -4093,7 +4093,7 @@ static void gfx_v11_0_gfx_mqd_set_priority(struct amdgpu_device *adev, /* set up default queue priority level * 0x0 = low priority, 0x1 = high priority */ - if (prop->hqd_pipe_priority == AMDGPU_GFX_PIPE_PRIO_HIGH) + if (prop->hqd_queue_priority == AMDGPU_GFX_QUEUE_PRIORITY_MAXIMUM) priority = 1; tmp = regCP_GFX_HQD_QUEUE_PRIORITY_DEFAULT; -- 2.53.0