Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp227712pxj; Tue, 18 May 2021 01:52:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT7wbMknmdESuEC0eQCwsEcW+7yvDDhLZ1DfOa6AV24hzfFHlAQTXP2zrT6i992F6B7Sne X-Received: by 2002:a05:6602:8d0:: with SMTP id h16mr3341735ioz.145.1621327939225; Tue, 18 May 2021 01:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621327939; cv=none; d=google.com; s=arc-20160816; b=biuwFoX1NnVQ7U9zZxKOPxrJ3H+mtOkp94dvbbwp87RV5fFMQdP9dZRemf26tRwKNG LvA9tbNshgLYV8gvFCPx2c9oS0t5TyNOCvhLhKyRL0Ucf0xJAh6kR9vlKOY5JdOT+Wdk smM05Ng4thWK7lZM9eYBDk4QW3h6Uo4DGJM4sYZxcu5z9E0uOa/YIh+5gvXUB7x577sF KGXyBU4uxdgMaTAPIWcX5OCue2qJDiXjS+ighg+Bu0Tmx2wia/SNDG6r2tk9gOtp1INr vwAxpZvoXQKMQVN+wfBzvCvRr/1jWs1qekGBFR+1kwdSEvHNqLehH5Gyt6v8ruY2+pH+ 995Q== 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=EVLRMidwlMrevdleq88u4zaaETCnYSP5xvyrGTpLIgY=; b=w8rAKvv5RyA5Msr9cihXH3JLsCBM2MGnEkOidsfX9ShL04+sxRL+O9zEuhizactgQK jkjR6tk4ktch1R87qSeWQ37QL9dYpUkdtTUsRC4BT/WaH68KgjIQfgQ2zysFkKJet3/Z itOpICux+LMqgPzqnXOjQTyJNe6veeRJUrgFBHyMHqYaeYxDQIqh/piXnDr/PO1NXzo9 xdaFXDIXZfuJfCwlyunH/TEUCGg/VFZ1HcbTY97AOnl3+Z+5njw04AYHvhyJ9fpjteTH SFYhvussxSUGRXNWPuSlsHoWXHN+oSupECZkPVhuFbPZ6zP/oYuI7b2M7TWFmXGTIwE7 xFTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tz18yQxX; 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 g9si6386043ila.105.2021.05.18.01.52.05; Tue, 18 May 2021 01:52:19 -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=tz18yQxX; 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 S242518AbhEQPCw (ORCPT + 99 others); Mon, 17 May 2021 11:02:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:49170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240504AbhEQOwo (ORCPT ); Mon, 17 May 2021 10:52:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A3361619AF; Mon, 17 May 2021 14:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261441; bh=Yfd5w6FeNX3JHwOoNN9ps/qfTtOFNmsKlV/pbgU3fHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tz18yQxX7Y1vkfadGDe5KAUtKOiAOkH0o+rUdoQOjorSql0A113qoPEKRN6OBS1Fm WqOyi/2lVxfFVua7RXhUqNYcQchdQjFgOajnk+SSoCyz14zn7QTHIJswO/fz/cVNw3 eBMvxxlKlIWmpJylIXpFCvokpOgolzwkouNIVdMc= 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.12 346/363] drm/i915/overlay: Fix active retire callback alignment Date: Mon, 17 May 2021 16:03:32 +0200 Message-Id: <20210517140314.294750757@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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 @@ -383,7 +383,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 =