Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9132399pxu; Mon, 28 Dec 2020 07:25:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBa8yKtiKxToUvhBcP9evxVaqyH4fH8q4F/Ip1vJ2pW9KvRdiIS0sZQ1nF9ryIedLua7/M X-Received: by 2002:a05:6402:3049:: with SMTP id bu9mr42515099edb.127.1609169118937; Mon, 28 Dec 2020 07:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609169118; cv=none; d=google.com; s=arc-20160816; b=ve2mLJC6SQvfD9GBAOOXrY4iZw8yNob04EHHtb/bLNVJyGRYwhd5fpcBVlye7Mf+iU y5G8iws/WcNsDLi7gYbwiCqBPHqTkOYxXeL0uujn/DURh4EaOQ27+G4AVyD4bduUfPLf fmYkIWYlQP3H1nZEt5qZFW9FiF/+M7KVQRgBdVBwNqRBs96QBzfmHpMU+yoya4kxQHsk mkj/jekdUs+3R480T4mevTxOk0nfHjVRNdlRe1HDjmuCmSfcQfLITl9uLTS2+nT9cIwL DpRELrkNMLSyTH8XH+gsEaPG/kEyCBbQfNvJGrdqqHTKGm0dHzr0wFH3ujIPVcKWXDrn On+Q== 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=0CANmHQIwF7NXOn8xbBx2xX3hyaJGDUOARZeIZ+EKH8=; b=j2MqcAz/USOTwJbnU40IlcwSH1T+7q5OKoXgcaJvrdW9lBKIQ1l3SkCUY3N94jurpr v+bm5jNwD5AOwlbM/G64I/Ek7fEY61B45G+B5f02G0hbBvKS7W/MYBUSOKVAYHXFBQJB DbUODMHhl4E4lCrx0X92ORC/8dOYSlrjLeX2MjPI8Nqu8tpfC/5Z3uJUh0sEbzkLlK5A zCLrVAgbFemTjqLPh7XB/Y2fPDqc1Ixs0KynJjAC0bnL2sktvtuQt0nk8Vw6ithiL8Uy Ei5XqbUwzaGRJnvcQNbAxfdk4f7c2VZ12f2D9w1UqS5BmcxmRy2HfQTXtl2mqsObIap/ uBXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=whUMwF6I; 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 k3si20205098edr.372.2020.12.28.07.24.56; Mon, 28 Dec 2020 07:25:18 -0800 (PST) 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=whUMwF6I; 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 S2408072AbgL1OBZ (ORCPT + 99 others); Mon, 28 Dec 2020 09:01:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:34400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408003AbgL1OA4 (ORCPT ); Mon, 28 Dec 2020 09:00:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1790B207AB; Mon, 28 Dec 2020 14:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164041; bh=vSw5rw6Fpr1fBMWW2xn9lqLpppnGa1ffPchi8EClX20=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=whUMwF6IV66L2KhiEV6q5S4xzsH91qLof9QDCrRoOR8R1qCHcA2JO2FcpJGBtseMY 35ckYL8X2NuwcLEENUJUirh81sdrPX7V5hdSUjgADdoV2EC1IVtg1XTFd24XtNM8DE MCOCfPUDNVd40I048nr6oZUChMy+vIFyl++pM0qk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robin Murphy , Rob Clark , Rob Clark , Sasha Levin Subject: [PATCH 5.10 038/717] drm/msm: Add missing stub definition Date: Mon, 28 Dec 2020 13:40:36 +0100 Message-Id: <20201228125022.810951469@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@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: Robin Murphy [ Upstream commit a0b21e0ad29420b04911a98d360b9586168eeae5 ] DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub. Signed-off-by: Robin Murphy Reviewed-by: Rob Clark Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/msm_drv.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index b9dd8f8f48872..0b2686b060c73 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -423,6 +423,11 @@ static inline int msm_dp_display_disable(struct msm_dp *dp, { return -EINVAL; } +static inline int msm_dp_display_pre_disable(struct msm_dp *dp, + struct drm_encoder *encoder) +{ + return -EINVAL; +} static inline void msm_dp_display_mode_set(struct msm_dp *dp, struct drm_encoder *encoder, struct drm_display_mode *mode, -- 2.27.0