Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp514551ybl; Wed, 8 Jan 2020 00:59:38 -0800 (PST) X-Google-Smtp-Source: APXvYqysS2TUtK3GA2Bizca2iuXSpG53L9tIlfyB98XEEAKn3ySeAFbYnZZpZy7gPyTBF0xDS2Yp X-Received: by 2002:a9d:74d8:: with SMTP id a24mr3563352otl.100.1578473978769; Wed, 08 Jan 2020 00:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578473978; cv=none; d=google.com; s=arc-20160816; b=BmLQHouy666LZIOwh8cQH+opXzYXrnaVtezKlV31Ocazm2MUu9GBkKlZtWv30SYxEA BTB9HUHFeqeGYA3VvAUANJTvNmbXVOl9dgyfdhw0Mby4Uy0ABUq9KhaUwzC254WnSq0c BjwTUy1CSPuO8w8J1mzu48cCXqs1+jF1p8HXN9MarW/XbNnHIA3QK6etVOolCu13bUCW CvAqcuGBQGLgq2J3xfrxAwNOomHHiFLjK7XhOoClbGNY08uIDL1rrG2zgDg5yOhYGtsv MX8J54tzN3TqQ8iWJTzFlDrcoPeOhjsMiUj4zT9+DZ1V97tuXUMMIBmV8+Ue5Lya9e/N F9sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=VVLkcWK7qVhnH6bY2+CS225iv2U4pC9J+5nWMR8ssc0=; b=esxeZh5hB4WMTLP4jgBzPHCw2cTFyzvq7l02/hA0InOuAIvGuvPNXOkgce2cS3jrD+ tfBJ57OBwIxGuzM/aW3YTF1wQG80lyl5FhrkWaLT/lhRneu2OQbrvwj+WS75f5wQBbim pEMbxYiKO386CR2EaqFrkFU5m4eJo0UuHggyBRRjpOx7X7ykpQqlMl3Y/kHkW/LU9e66 WdntvEpM8IUDBNpbZv4KocCaYfrP+9gLBKJAqkJn1VDxLeknUeF7yBkfXYIIks5Nn5qT SJUTY7eoLCbd/BiJDvBImQsywrESyY2VGPkqSXzaalr2QgXdzwqOtDjG8l88X1S+lkXG SBaQ== 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 x20si1514210otq.222.2020.01.08.00.59.26; Wed, 08 Jan 2020 00:59:38 -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 S1727518AbgAHI6W (ORCPT + 99 others); Wed, 8 Jan 2020 03:58:22 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:2983 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727483AbgAHI6V (ORCPT ); Wed, 8 Jan 2020 03:58:21 -0500 Received: from DGGEMM402-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id E73017C2A6CED79D2CF4; Wed, 8 Jan 2020 16:58:19 +0800 (CST) Received: from dggeme710-chm.china.huawei.com (10.1.199.106) by DGGEMM402-HUB.china.huawei.com (10.3.20.210) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Jan 2020 16:58:19 +0800 Received: from dggeme759-chm.china.huawei.com (10.3.19.105) by dggeme710-chm.china.huawei.com (10.1.199.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 8 Jan 2020 16:58:19 +0800 Received: from dggeme759-chm.china.huawei.com ([10.7.64.73]) by dggeme759-chm.china.huawei.com ([10.7.64.73]) with mapi id 15.01.1713.004; Wed, 8 Jan 2020 16:58:19 +0800 From: "tiantao (H)" To: Thomas Zimmermann , "Chenfeng (puck)" , "airlied@linux.ie" , "daniel@ffwll.ch" , "kraxel@redhat.com" , "alexander.deucher@amd.com" , "tglx@linutronix.de" , "dri-devel@lists.freedesktop.org" , "xinliang.liu@linaro.org" , "linux-kernel@vger.kernel.org" CC: Linuxarm Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0hdIGRybS9oaXNpbGljb246IGFkZCB0aGUgbW9kZV92?= =?utf-8?Q?alid_function?= Thread-Topic: [PATCH] drm/hisilicon: add the mode_valid function Thread-Index: AQHVxfxbpD+5L/GN/0KaWTRqEuV1/aff7sEAgACHSsA= Date: Wed, 8 Jan 2020 08:58:19 +0000 Message-ID: <53780a8769c44f5484a97882a0c8b642@hisilicon.com> References: <1578471540-43322-1-git-send-email-tiantao6@hisilicon.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.57.60.129] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVGhvbWFzIFppbW1lcm1hbm46DQoNCglJIHdpbGwgbW9kaWZ5IHRoaXMgcGF0Y2ggYW5kIHNl bmQgdjIgYXMgeW91IHN1Z2dlc3RlZC4NCglUaGFuayB5b3UgdmVyeSBtdWNoLg0KDQpCZXN0DQoN Ci0tLS0t6YKu5Lu25Y6f5Lu2LS0tLS0NCuWPkeS7tuS6ujogVGhvbWFzIFppbW1lcm1hbm4gW21h aWx0bzp0emltbWVybWFubkBzdXNlLmRlXSANCuWPkemAgeaXtumXtDogMjAyMOW5tDHmnIg45pel IDE2OjQ5DQrmlLbku7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