Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3277871imm; Mon, 6 Aug 2018 01:41:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf3KnuKGv6NJl9XoWS2UU9heAEgIDISaUePnGfGjZITeZnYVSXeQy8ItKW1PYrH4heXsH3M X-Received: by 2002:a62:8d84:: with SMTP id p4-v6mr16355410pfk.251.1533544897877; Mon, 06 Aug 2018 01:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533544897; cv=none; d=google.com; s=arc-20160816; b=yk7/skBcMoj/+/fX9LXn/ZE1Rdb4bJ9Mny4Yolc9B/gdFVBu6skFsl7NtGO/WbwLgx tdMIuo+9cX2VxzYI8NOIU6+RChV2sQnGYIGgR55ISwEpEOtj0ClNhSQcpsyyuqd3W1J3 Cfqa6gtGh3VCbj0wgcLUeZP/uukt5j2C63Ne76JM9HaiH33zkcqpPdCpla5kHnrvNuAQ si26NMg6nV/64eHp7YJDR6cHzSKl5vbHrBYn4Vb1Q696nWkcJGdp+B7fQtQz9rAtPiZb OLbv9dSuNZh3F5XKpCU2rAX1cB9096A9X0j0fRdv7E64525suHViAYfJFbM4xWBk90p/ dZcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KvZ2rQrBfvE1jRF1chd3Ge/9IAkQCD+b8XTWZVZMKqI=; b=vjTOg+HAdVyUQrZMtIUvNH7An1QLySUedsr33J8n18euWEJqbCI3z978stYHz9zK+8 ZlRGFYjWc/+V8Thv+sEhwW3uCMZBNryfEaXpz2NG7hiQ8t138N1sZyP80IJioxHMKh2T hR3B8P1RY2aMqFHXmmWR9tpLqmMzND4hMNgfS9wUpVnM9lw1mJj9AL0dLx8u4SIHlW/P cxwgRZCpOgX/Ue50dOkuKIcjs/exEtdy8ziHzZ8RRK964K8sU+HzNOY+NhD4awKywtnd w3QkfSaeUSfS24yOxVwiOq4KJxXd7KymZSBGueia1yRii5ZAB7K3wNXjmi+i2KzX3ewT f8TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=i3j6l3gV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si11935563pff.370.2018.08.06.01.41.22; Mon, 06 Aug 2018 01:41:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=i3j6l3gV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbeHFKrf (ORCPT + 99 others); Mon, 6 Aug 2018 06:47:35 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:46434 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbeHFKrf (ORCPT ); Mon, 6 Aug 2018 06:47:35 -0400 Received: by mail-ed1-f68.google.com with SMTP id o8-v6so4718480edt.13 for ; Mon, 06 Aug 2018 01:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=KvZ2rQrBfvE1jRF1chd3Ge/9IAkQCD+b8XTWZVZMKqI=; b=i3j6l3gVGV7LWmIX0qa5gj47iRlsn6ieJ4Rr4ydGKH9y83lVwFv0VSUtCJ2PjJgTue nKA0F+oJO5mKM0Xq+3MIzRt9lY9UNSfVO5XMAhhOIkc2oDU30+lYUOQ9wicxBov7KX49 mIuVH1SuyCzmh4XFf7IMuh6g7nmmJR1UhAwvY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=KvZ2rQrBfvE1jRF1chd3Ge/9IAkQCD+b8XTWZVZMKqI=; b=QKuSca9Fgt1r/4MOA826KvuCuIZf3NsNbUyWfWB5LBpOR/ay6nkQc0avGHr938gOUi 2VmTYMnRd4RpYqm2AFh9ICaSbL55B0dOox5C77Od33laJPk+r6fNBN42Gh2ujmnTyDjG Ov9xuKDrMNEnmm6mljIqJbQDHmdZo8731vkUkO7G/5+xClsrD2dzbODTcWOhmUTEmdyx oUwVr+r3N5dqKtLZoiJWVuQRDWfbErojU8yDMBk4fHkD3t9I31G3/mkYQdevpMjZcxnq 15bgEyVV58qxj6S8OrLIf7iLNh1Zc1nH8YUViqQi0YFDVurNd5n244IzsVS9jm/A6Q8w +CbQ== X-Gm-Message-State: AOUpUlGOUesZqqRIpPqhhxK28ZiO8k07lKMEdMuIRIrXkOY19gnMIaOl ffbHuEYDtH0ckEwsOoikET4o8Q== X-Received: by 2002:a50:9286:: with SMTP id k6-v6mr17434128eda.66.1533544774232; Mon, 06 Aug 2018 01:39:34 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:56fc:0:d707:d7d8:b180:96e5]) by smtp.gmail.com with ESMTPSA id i3-v6sm4855407edt.42.2018.08.06.01.39.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Aug 2018 01:39:32 -0700 (PDT) Date: Mon, 6 Aug 2018 10:39:30 +0200 From: Daniel Vetter To: Souptick Joarder Cc: gustavo@padovan.org, maarten.lankhorst@linux.intel.com, seanpaul@chromium.org, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm: Remove drm_fbdev_cma_set_suspend() Message-ID: <20180806083930.GJ3008@phenom.ffwll.local> Mail-Followup-To: Souptick Joarder , gustavo@padovan.org, maarten.lankhorst@linux.intel.com, seanpaul@chromium.org, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20180730192326.GA31354@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180730192326.GA31354@jordon-HP-15-Notebook-PC> X-Operating-System: Linux phenom 4.14.0-3-amd64 User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 12:53:26AM +0530, Souptick Joarder wrote: > drm_fbdev_cma_set_suspend() is not getting called from > any other places. If there is no plan to use it in future > we can remove this API. > > Signed-off-by: Souptick Joarder cma version of fbdev helpers are indeed getting subsumed by fbdev helpers at large, so this makes sense I think. Applied for 4.20, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_fb_cma_helper.c | 15 --------------- > include/drm/drm_fb_cma_helper.h | 1 - > 2 files changed, 16 deletions(-) > > diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c > index 186d00a..4c283d9 100644 > --- a/drivers/gpu/drm/drm_fb_cma_helper.c > +++ b/drivers/gpu/drm/drm_fb_cma_helper.c > @@ -516,21 +516,6 @@ void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma) > EXPORT_SYMBOL_GPL(drm_fbdev_cma_hotplug_event); > > /** > - * drm_fbdev_cma_set_suspend - wrapper around drm_fb_helper_set_suspend > - * @fbdev_cma: The drm_fbdev_cma struct, may be NULL > - * @state: desired state, zero to resume, non-zero to suspend > - * > - * Calls drm_fb_helper_set_suspend, which is a wrapper around > - * fb_set_suspend implemented by fbdev core. > - */ > -void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, bool state) > -{ > - if (fbdev_cma) > - drm_fb_helper_set_suspend(&fbdev_cma->fb_helper, state); > -} > -EXPORT_SYMBOL(drm_fbdev_cma_set_suspend); > - > -/** > * drm_fbdev_cma_set_suspend_unlocked - wrapper around > * drm_fb_helper_set_suspend_unlocked > * @fbdev_cma: The drm_fbdev_cma struct, may be NULL > diff --git a/include/drm/drm_fb_cma_helper.h b/include/drm/drm_fb_cma_helper.h > index d532f88a..52f09dc 100644 > --- a/include/drm/drm_fb_cma_helper.h > +++ b/include/drm/drm_fb_cma_helper.h > @@ -32,7 +32,6 @@ struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev, > > void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma); > void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma); > -void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, bool state); > void drm_fbdev_cma_set_suspend_unlocked(struct drm_fbdev_cma *fbdev_cma, > bool state); > > -- > 1.9.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch