Received: by 10.223.176.5 with SMTP id f5csp3719867wra; Mon, 29 Jan 2018 18:22:33 -0800 (PST) X-Google-Smtp-Source: AH8x227mVYKiHn2cwQw+OgvboPM1S+XXW0YL0FwaGcU6g11lfzLLW52i7+HGBe0SYfiKGljelTnY X-Received: by 10.98.234.19 with SMTP id t19mr14101524pfh.74.1517278953757; Mon, 29 Jan 2018 18:22:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517278953; cv=none; d=google.com; s=arc-20160816; b=pi3TOL6frChaW5K3DGiSzgZorlGq2ZHdtnyGNwYL0KMZVPrOTe92Wq7+0qWRpv9Sym HykQ+fuCiEROkWrME/c0FzIdCWH4LOVnSlV5CQQk4k6aL+Zy1NjoMfFyxo+wP+lC4mNE gdW6fvmLsVkN6Krt3p7TXBBsFG6yuqwZtXPVn8FB1mUx5FYGji0fofqohIZRJL7i620u 9ZRRpvv8vZKD0zt7dq//e5bPHm2NpijDZp0myeQyjafoU2TGlr+/S9Soisn3a34J1njR On3FY5pGbN0SCPeZLRUWIZlI9Fxk0WdYHO6Ce250NmbeA6jXXbhhepJpw1OhF9k0j9SN ctAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:arc-authentication-results; bh=lGICfOmXMVjoGOk7JTtu5WxRwGVpj1KVYdlXYEgjBtA=; b=JK5FXhWLZIpPxeQHGdXHqcWaKFBXPTmWn6xtGM/K9RP90zeedpWl7mC+olF6JdmEsD m4xIP+oiPTPwUabJebDCqYe0M3zVFXPdQhZYcYEv9DxgAj/NXbU14DOtBNdvD7/IWwhS LiFjvEGwHyLFZpbIbDdCXR3Kayqso4GhOSpfECAQgh9xNrIp3/vadGuh2BZt1+FrmPnq y2oOjmXruJbqskfjQMN8MypKWDHrVLepWLwpAHRowGbZXTgzetRn+jaU3J4Yy3vkIeqf 90I7+G+zuv1m6mtcU2sIg6h6xhW51xxVaik4fyIt7lgOPw4F8gZ9W4+2lDUTeCRbed8l 6zfw== ARC-Authentication-Results: i=1; mx.google.com; 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 b10si1538613pge.738.2018.01.29.18.22.09; Mon, 29 Jan 2018 18:22:33 -0800 (PST) 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; 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 S1752507AbeA3CVf (ORCPT + 99 others); Mon, 29 Jan 2018 21:21:35 -0500 Received: from regular1.263xmail.com ([211.150.99.130]:38443 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbeA3CVd (ORCPT ); Mon, 29 Jan 2018 21:21:33 -0500 Received: from hjc?rock-chips.com (unknown [192.168.167.175]) by regular1.263xmail.com (Postfix) with ESMTP id C1C13B02C; Tue, 30 Jan 2018 10:21:24 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from [172.16.10.72] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id E2CBB3CB; Tue, 30 Jan 2018 10:21:17 +0800 (CST) X-RL-SENDER: hjc@rock-chips.com X-FST-TO: sandy.huang@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: hjc@rock-chips.com X-UNIQUE-TAG: <876510b40964230fddd0be7e64ef4f0a> X-ATTACHMENT-NUM: 0 X-SENDER: hjc@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.10.72] (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 26459U41AZ; Tue, 30 Jan 2018 10:21:21 +0800 (CST) Subject: Re: [PATCH v2 01/43] drm/rockchip: Get rid of unnecessary struct fields To: Thierry Escande , Archit Taneja , Inki Dae , Thierry Reding , Sean Paul , David Airlie , Tomasz Figa Cc: Zain Wang , Lin Huang , Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, =?UTF-8?Q?=c3=98rjan_Eide?= , Haixia Shi References: <20180126131710.7622-1-thierry.escande@collabora.com> <20180126131710.7622-2-thierry.escande@collabora.com> From: Sandy Huang Message-ID: <0450cb94-962e-7b17-3d3a-2cf3c8f504c4@rock-chips.com> Date: Tue, 30 Jan 2018 10:21:21 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180126131710.7622-2-thierry.escande@collabora.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2018/1/26 21:16, Thierry Escande ะด??: > From: Tomasz Figa > > This patch removes unused fields from vop structure. > > Signed-off-by: Tomasz Figa > Signed-off-by: Sean Paul > Signed-off-by: Thierry Escande > --- > drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > index ba7505292b78..7a137bc5708c 100644 > --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > @@ -95,9 +95,6 @@ struct vop { > struct drm_device *drm_dev; > bool is_enabled; > > - /* mutex vsync_ work */ > - struct mutex vsync_mutex; > - bool vsync_work_pending; > struct completion dsp_hold_completion; > > /* protected by dev->event_lock */ > @@ -1567,8 +1564,6 @@ static int vop_bind(struct device *dev, struct device *master, void *data) > spin_lock_init(&vop->reg_lock); > spin_lock_init(&vop->irq_lock); > > - mutex_init(&vop->vsync_mutex); > - > ret = devm_request_irq(dev, vop->irq, vop_isr, > IRQF_SHARED, dev_name(dev), vop); > if (ret) > Reviewed-by: Sandy huang