From bba4866dce1efee812f038180e5510e043d408d1 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 7 Apr 2022 07:57:39 +0000 Subject: [PATCH] drm/i915/guc/slpc: Correct the param count for unset param From Vinay Belgaumkar d675c05b792e166a5dd6ab9498a137bfd9bc8570 in linux 5.15.y/5.15.27 1b279f6ad467535c3b8a66b4edefaca2cdd5bdc3 in mainline linux --- sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c b/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c index 65a3e7fdb2b..95ff630157b 100644 --- a/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c +++ b/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c @@ -133,7 +133,7 @@ static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id) { u32 request[] = { GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST, - SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 2), + SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1), id, }; -- 2.20.1