Skip to content

Commit 562b198

Browse files
author
Jocelyn Falempe
committed
drm/i915/dg1: Fix power gate sequence.
JIRA: https://issues.redhat.com/browse/RHEL-53571 Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git (v6.12.9) commit a0360b9 Author: Rodrigo Vivi <rodrigo.vivi@intel.com> AuthorDate: Thu Dec 19 16:00:19 2024 -0500 Commit: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CommitDate: Thu Jan 9 13:33:39 2025 +0100 [ Upstream commit 20e7c53 ] sub-pipe PG is not present on DG1. Setting these bits can disable other power gates and cause GPU hangs on video playbacks. VLK: 16314, 4304 Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13381 Fixes: 85a12d7 ("drm/i915/tgl: Fix Media power gate sequence.") Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241219210019.70532-1-rodrigo.vivi@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> (cherry picked from commit de70619) Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
1 parent ff705d5 commit 562b198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_rc6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void gen11_rc6_enable(struct intel_rc6 *rc6)
133133
GEN9_MEDIA_PG_ENABLE |
134134
GEN11_MEDIA_SAMPLER_PG_ENABLE;
135135

136-
if (GRAPHICS_VER(gt->i915) >= 12) {
136+
if (GRAPHICS_VER(gt->i915) >= 12 && !IS_DG1(gt->i915)) {
137137
for (i = 0; i < I915_MAX_VCS; i++)
138138
if (HAS_ENGINE(gt, _VCS(i)))
139139
pg_enable |= (VDN_HCP_POWERGATE_ENABLE(i) |

0 commit comments

Comments
 (0)