Skip to content

Commit 1b279f6

Browse files
vsbelgaumtursulin
authored andcommitted
drm/i915/guc/slpc: Correct the param count for unset param
SLPC unset param H2G only needs one parameter - the id of the param. Fixes: 025cb07 ("drm/i915/guc/slpc: Cache platform frequency limits") Suggested-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Signed-off-by: Ramalingam C <ramalingam.c@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220216181504.7155-1-vinay.belgaumkar@intel.com (cherry picked from commit 9648f1c) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
1 parent 7e57714 commit 1b279f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id)
110110
{
111111
u32 request[] = {
112112
GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST,
113-
SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 2),
113+
SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1),
114114
id,
115115
};
116116

0 commit comments

Comments
 (0)