Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp662884pxj; Tue, 18 May 2021 11:17:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymQovJQFQ3he5NFkeQUa1hTCm77YzfjXjIlgK3hEak4GxvHbA3wWB9mS1xL3qI8ZzdOblY X-Received: by 2002:a05:6402:128f:: with SMTP id w15mr8739683edv.354.1621361833519; Tue, 18 May 2021 11:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621361833; cv=none; d=google.com; s=arc-20160816; b=WilB5FIyLST7dOKm91IlWjUyxHb3CKuxHFhqU4edZ2M6uXcy0hUbqDV7fg6CQBh2LK tAahSRql2WZAjWLet5pCHX3a4j80HZiWUMMtkw9kj6Ftf7jrqB9cVBGNXcGq0rbdZlhd OeyrL8q1AwTuGSqO58Us+JjUimjpA10fwiT2VZq0dLy4NCqL22eIZl6VWeo9wRB7hPKx VaU4WQWlorLfm2tXjjCWHnhZG1Xdz6ZCmi/1srU8/6CAJh0nSIsQHfmhCk2CyZgVH6n4 e2AvSLxvsfn6UMXf/AE/TTJCcB8p7tXVhYZkYV2jQU7QnCC7mGhAm5LUcKe+fGw3gK2U C5eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TUF1jYgLV912iG7d2Wjt+qMMC2fIXmvemLJcxw4+QYM=; b=pvPdhQUHZHtHFmeq5CVMDnU8A2gOdS9wHgLindnHz79UfA86jGHVofGeJzI3Eyq0p8 k9wSTghPmqUyVPkPdJ2lK6zTbUU/s1xezLYLXD3qPjH0dj85gv0eHOyDWczGvPu9++kB CbP+F2u1vMeO3HpMLyPLWryttUJR4IvQS4HKJhW5/9UfKjXvlKQaya3yB+UBT9YwVFNC hJoMIM+zGKLpiB0YJyFWiM7V6L5rCIXyBxJkBYb8mHZJet84+Pxwv9OiE5qIBcIPO1r8 z98hFaTzaMpndq5CPrqKNhy7RQLmjMJaVaP99BPBr6qUH5fx45Sph71bvS5EPLafSzeM KCBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="HZhw9/1E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si21016305eje.99.2021.05.18.11.16.50; Tue, 18 May 2021 11:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="HZhw9/1E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345521AbhEQQNY (ORCPT + 99 others); Mon, 17 May 2021 12:13:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:36648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245653AbhEQPtK (ORCPT ); Mon, 17 May 2021 11:49:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FFBC61D42; Mon, 17 May 2021 14:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262721; bh=xIkwhePiryFcUnU0bjDbu9xs30xh5TtKFtizbJnmH/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HZhw9/1E7yobn+S/GyftwMu3Q9jWCtomFTGLhoaIoGm5uSvvj95k+xN2iXLOrqHjJ bl/RSWSBLauRSVvpXw9UeIkafqRe7AGWXlPAsa/kXq/AzlaE4laYJ8wihv7KlHsYLN jZ/CuaX4AkpRgLCN8GZeSKOpB5qzJreRpna7/nxs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tvrtko Ursulin , Chris Wilson , Matthew Auld , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Jani Nikula Subject: [PATCH 5.10 279/289] drm/i915/overlay: Fix active retire callback alignment Date: Mon, 17 May 2021 16:03:24 +0200 Message-Id: <20210517140314.529606569@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tvrtko Ursulin commit a915fe5e9601c632417ef5261af70788d7d23a8a upstream. __i915_active_call annotation is required on the retire callback to ensure correct function alignment. Signed-off-by: Tvrtko Ursulin Fixes: a21ce8ad12d2 ("drm/i915/overlay: Switch to using i915_active tracking") Cc: Chris Wilson Cc: Matthew Auld Reviewed-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20210429083530.849546-1-tvrtko.ursulin@linux.intel.com (cherry picked from commit d8e44e4dd221ee283ea60a6fb87bca08807aa0ab) Signed-off-by: Jani Nikula Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/display/intel_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/display/intel_overlay.c +++ b/drivers/gpu/drm/i915/display/intel_overlay.c @@ -382,7 +382,7 @@ static void intel_overlay_off_tail(struc i830_overlay_clock_gating(dev_priv, true); } -static void +__i915_active_call static void intel_overlay_last_flip_retire(struct i915_active *active) { struct intel_overlay *overlay =