drm/i915: fix regression with uncore refactoring.
authorDave Airlie <airlied@redhat.com>
Mon, 4 Oct 2021 00:31:33 +0000 (10:31 +1000)
committerJani Nikula <jani.nikula@intel.com>
Mon, 4 Oct 2021 07:21:48 +0000 (10:21 +0300)
This was causing infinite recursion on snb/ivb.

Fixes: 5716c8c6f4b6 ("drm/i915/uncore: split the fw get function into separate vfunc")
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211004003133.2279446-1-airlied@gmail.com
drivers/gpu/drm/i915/intel_uncore.c

index 2dac69d..f1b816e 100644 (file)
@@ -346,7 +346,7 @@ static void __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncore)
 static void fw_domains_get_with_thread_status(struct intel_uncore *uncore,
                                              enum forcewake_domains fw_domains)
 {
-       fw_domains_get(uncore, fw_domains);
+       fw_domains_get_normal(uncore, fw_domains);
 
        /* WaRsForcewakeWaitTC0:snb,ivb,hsw,bdw,vlv */
        __gen6_gt_wait_for_thread_c0(uncore);