Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp379755rwb; Sun, 6 Nov 2022 07:20:13 -0800 (PST) X-Google-Smtp-Source: AMsMyM6E2y9nXSNd2/ltMukyoNbYRXy6mGDidimbX3UuTeNHfCcV8VJAb7d/xXUkitd2jJXjQLrN X-Received: by 2002:a17:906:8a48:b0:7ad:aaee:cbec with SMTP id gx8-20020a1709068a4800b007adaaeecbecmr44645974ejc.36.1667748013667; Sun, 06 Nov 2022 07:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667748013; cv=none; d=google.com; s=arc-20160816; b=GeNCpHxpJhsD0kC9pinW3TWXaMZVcyvtLzMJTQwClCCRnXtAR+bMPHulbh8lUQPxof KQMheLaqpgcvYrHMS9ccOxdqoOiTb0X2qHGtk6VzZt8ikx0v1EGZnOIVYLoQRhniQ/35 eGiFxZFrP2rnxTVulvnGXcmfQKNgI+5Gdusqwi21yrHMIYFzu/iSzh5yIj2E+CyPEfVb SVBW/G5nAyEsAffTB+vaCW/EbhLzACajS2F262zaa+L+OBVDg/wh720zztImI/PtYIQN BWcnPyS2YPIG8Mv1j7zpI81yyI6g1EF7N/FFqdKa3VRYzlJYIiXuo+hbKu3lwdp2P1m7 1l2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=o0jKqNdz6bIwJzqEZ61DVpd8g/TYDmkjr36iueTyae0=; b=d1Pboi7BSwDhmt5SRVMxJqsS3C2K8BofKZVkTq24SsCKsGdZ+KhQ8SyZWSOylRrDH/ fIrv4JGUIC0L8uyMB2iQA/moMUYTj/+8XN/juVHqtvVdig87mRswyIfxrTz0uV2LQDqU Zy7yehQ1mSUP978I8ixPEc2aiCJa68t+381mfcMOfUX7meNpehJOnEs/3YW1yiKT49X9 VGuH40YK88ZTE15Vz2uyzE86/7gJwO4ldrpOcWDEjElqtaifU6W0aA4YMwpo2J+SismW U82kIVzutGfwYqFFUePkDiRdr7DCR+HXOJICoetVV0zqm+91yz75LdwkI7mlF8uScMIG TYdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw8-20020a170907a0c800b007a087cce094si6033926ejc.512.2022.11.06.07.19.47; Sun, 06 Nov 2022 07:20:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiKFOq6 (ORCPT + 97 others); Sun, 6 Nov 2022 09:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbiKFOq4 (ORCPT ); Sun, 6 Nov 2022 09:46:56 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8650FDFCD for ; Sun, 6 Nov 2022 06:46:38 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 6 Nov 2022 22:41:50 +0800 (GMT+08:00) X-Originating-IP: [182.148.13.29] Date: Sun, 6 Nov 2022 22:41:50 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, HaoPing.Liu@amd.com, alex.hung@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/display: Simplify bool conversion X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.1 build 20210329(c53f3fee) Copyright (c) 2002-2022 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <4fa201a6.bf.1844d6400c6.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3C+Kux2djlYsBAA--.54W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQACB2FEYx0CyAAFsQ X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_PBL,RDNS_NONE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rml4IHRoZSBmb2xsb3dpbmcgY29jY2ljaGVjayB3YXJuaW5nOgoKZHJpdmVycy9ncHUvZHJtL2Ft ZC9kaXNwbGF5L2FtZGdwdV9kbS9hbWRncHVfZG1fY3J0Yy5jOjEwOTo1Mi01NzoKV0FSTklORzog Y29udmVyc2lvbiB0byBib29sIG5vdCBuZWVkZWQgaGVyZQoKU2lnbmVkLW9mZi1ieTogS2FpTG9u ZyBXYW5nIDx3YW5na2FpbG9uZ0BqYXJ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