From patchwork Wed Jun 9 21:17:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 456834 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp5675423jae; Wed, 9 Jun 2021 14:17:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW0mcYu/jIPoJT/2s077LZHQ+LJXwM5Opc3JCMig2AroNyJ7IVc8GHN26otd//ysOuoxiD X-Received: by 2002:a17:90a:7188:: with SMTP id i8mr12616183pjk.189.1623273466502; Wed, 09 Jun 2021 14:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623273466; cv=none; d=google.com; s=arc-20160816; b=u5fZjeGi5jg+tCIRXZnledyd/AVtOldrBNlKFHKyuegj15yKejTrWUGwW3E566PU7r vr9CNBfcdSPDlyWLrt4GS7M1++8I9uucvHXSINQZ6tNTHfhGC3yBo/D7bxzOKcoOzZw0 0TbEw9iYHrq/q05kWwFYTJVZCukDqDQoe/L8N5BQ5kpJI7vucvig2u40r0Zw/4huXk0P wT3hyhD9ZjS4lxOJ46lVLc+KtuT6zl2SDLBUtszZJyuJFNn8XTidHwhk2KuZxv5b++fB HwSUNP1OI8N5UADPT1l2xUqnRZ4UfwmSawiwfETOUDmKnE0kqrh0iXMwVG/Y9JMaSu1u FNnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=7I80h9aVhqiz7KKnY4LfQ8riY+ihQMK3yCgtkJKzH/0=; b=LgVPk56eNhmEpVFoD5YwuHrqiN3aGRJTJNGwqlZ7d002fNiMJBlsx5dsKBjQwIPYlB ZdT9acFb69OKzaA10hnS/0Hoxzo01yCAzfBpD6GegtHJqogZClM57aHXcs3V4QrziHPv A7Xfx8951gnSPiJ1oecV/galqRP79COz5rkVxcm9E0queHePBEbfYHWFt1cv5FGR+H8U vm9TCCMXMn/0Ygbq5qv5kTIp8eyRxqtxJiLX0Ps8e3erNsU49qA1wYEK9Dtd8MSFD0Cf jYLsE7a8Dfyr6gVn2svvRizwToBorcm0wiHFgwGA0SvEGAS9vAtGGa7i36oZAgnVhQlN TJ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fv1cLJSI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id n186si1092313pfd.311.2021.06.09.14.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 14:17:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fv1cLJSI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AC886EA55; Wed, 9 Jun 2021 21:17:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by gabe.freedesktop.org (Postfix) with ESMTPS id A465E6EB23 for ; Wed, 9 Jun 2021 21:17:33 +0000 (UTC) Received: by mail-lf1-x12c.google.com with SMTP id n12so33267814lft.10 for ; Wed, 09 Jun 2021 14:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7I80h9aVhqiz7KKnY4LfQ8riY+ihQMK3yCgtkJKzH/0=; b=fv1cLJSI3524YDZiumnkJfXc6sFqc6WWnUb1zi0ZoQ6nZx8UbjsJRkvdH4d0t52wAU RkQ/tclAVDbWuPCy+RcYD3+7hvMy9LWZgGEREbMEmL29hRg6J+j5DyOPjr7CUZgfGAZC fXiTMeGeEKjOWpvz2dhFDlOEfPDTKXNC1naJ8DBq8/NyhLOeIy2ePURzarCgMa7QpGG6 KfWRWePz5EN1EV7OTWXV1nxNRjdfCFezqlI72OoRxfj1qNBfV4zKIEgHm9GKMkr2tkPL OgbGUun88yDH+/Ml9C5z2iF1J0yn73tKmMPfYZWR4LZCH6aZ9iJD83+WQ6frZ+BHomzV 7DOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7I80h9aVhqiz7KKnY4LfQ8riY+ihQMK3yCgtkJKzH/0=; b=DdL+NMD//8Z4bXp0wVPjnmFoFuCQ5MsDbiw20FcibECPcca9E89d/q+/ebj/zSpA4F tio+NLeDBigVnDJOZwkaiYxA/Pkw726Nlax/Y5VwmGEup7TZVQ0aXrnPCW+l0g5FrhfL CRh8dW2wo7kHGiYNL642d7QSjfHRs0+R6ERWaSCJ+OAMC6GYzGCN7POvLwq9GcvDm1XE VBjWpPXOTWy9ERkSCKbZX8yDU8rKQFCi23tpLHdZE5lbOo8vtv7+3fmRVIYwezpwuFWf Vr17ptjNxMkmfwdmSy3CBS8I4Rw2129L2iMHXw9wUbSCJvTd2CTUFyop+MrfQeKexouX 1CWw== X-Gm-Message-State: AOAM531mPXr+95MCtMfX7B1wRuUqUrgGE+AhSRimRzZ5FiM/y/vwbhXX 1ggtBHqgcYbEZ31vFrHx6OLxQQ== X-Received: by 2002:a05:6512:20d9:: with SMTP id u25mr866893lfr.452.1623273450612; Wed, 09 Jun 2021 14:17:30 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id z20sm95329ljk.50.2021.06.09.14.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 14:17:30 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [RFC 6/6] drm/msm/kms: drop set_encoder_mode callback Date: Thu, 10 Jun 2021 00:17:23 +0300 Message-Id: <20210609211723.2565105-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210609211723.2565105-1-dmitry.baryshkov@linaro.org> References: <20210609211723.2565105-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Marek , Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" set_encoder_mode callback is completely unused now. Drop it from msm_kms_func(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_kms.h | 3 --- 1 file changed, 3 deletions(-) -- 2.30.2 diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index 086a2d59b8c8..9484e8b62630 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -117,9 +117,6 @@ struct msm_kms_funcs { struct drm_encoder *encoder, struct drm_encoder *slave_encoder, bool is_cmd_mode); - void (*set_encoder_mode)(struct msm_kms *kms, - struct drm_encoder *encoder, - bool cmd_mode); /* cleanup: */ void (*destroy)(struct msm_kms *kms);