Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2294231rdf; Mon, 6 Nov 2023 09:48:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBxsrcmveeuqmR44sEc1Ktiy1acDSVJpr4Bdm9TxnhuS+o0/vtHO74jfhiKxhfeRKyywO3 X-Received: by 2002:a05:6358:7e12:b0:169:65a1:655c with SMTP id o18-20020a0563587e1200b0016965a1655cmr29143659rwm.18.1699292886205; Mon, 06 Nov 2023 09:48:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699292886; cv=none; d=google.com; s=arc-20160816; b=ODq3LU0zkjpbGxOGYd7D3vLOEra5DGMQKAt3YGxC/A7H9CU02z/Bljzm3XV+QrNjyN aJoOb70e4WJy+ODCWKnaKy19ZM61D0NQTxQ9aaQ/ziziDrQ73ce4Iz+QQMkdY+DMQIwx Ud3rRwXcP3Pk6S4gEq7ZNmMn2TPNiuS1Va5Y8SRq2YW17bisWxvRatHy9zwlSeBKEn35 o2YNXcm2hh4X/UvxZ18Rj05oq/EEnG/LqWHnFxWBJ4ewi9BmGuRjYS6DZHPS69OEKNEu r8Q+StIpfGMP3znWfD6kwLLa/P/Kbi0LR6TqT3YRrWn4gJPI41vKlwA0QaWwISw3+yWX 2rww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8PjEfJIWz6OL3shRlRBIZT+L6VuUkMYEePdKNbs62WI=; fh=YfW6CcScN7vUTDXd+9CTZmfBQXDIfqDORGnALDOBP7c=; b=xe1RcHEFGxmXc225Nyu6+Uhm5iojgf1M/mfTbp0dfgyL3XBxx7QkDWg8YXEP7loFA6 uZc6EFZjo/Fe3ukouIxu1gAj3blcfFjo+LyDkK0lSCB4qmOYF2XauRz4t5cRcY4a508I ubozH5mwyiuvfjxsM/bIMr9NbfJjP4vOI80vjXm84QOiZQpQlY2R5hiDutxLFUL4jCfL toejnpaBWq5jZpqdiMUdubJ4b6pUQmGuW1uoaTw/mu0u14b5Nu72VJ8iciqMo0bMWyRG waKptWFi7cxc7JzCbLMoTRben+O1Dd3AnUOTxIZIYqZbWiPxJBL/7Km+eCseRVpj1KUL vMnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EpCmvF0z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 22-20020a631856000000b005b9b68add85si144666pgy.254.2023.11.06.09.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 09:48:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EpCmvF0z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3132A8021296; Mon, 6 Nov 2023 09:48:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbjKFRr5 (ORCPT + 99 others); Mon, 6 Nov 2023 12:47:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231980AbjKFRry (ORCPT ); Mon, 6 Nov 2023 12:47:54 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A1F1D49 for ; Mon, 6 Nov 2023 09:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699292870; x=1730828870; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wf+4bViPMJ/wLn9iYcrNdVmT0wr1Bw6+m9MBBvTNPMQ=; b=EpCmvF0z9dOhR3NKtkvzu9JVB66d3z0VYt8MUfRDvZn/OxT9f/2gq5Ir d5kGrONaTdIVRMtfXOkcEQhQK9JJIGZPQt2/6J1ikbvUtZwWn/PeQB1B3 836GF1URJAyYIfiEUzxlA+Oxi6SfOk0T/N015TeUfXMd+6iXOFMgUpy3z E6w3aVLU3SfEGUpnP03qQgK+busEavMom1pWngb+S9Ubh2LuTt60Y49in dmIlZ/mj1peWRk2dLXPzTxhBLUqvMPSw34bULhYmZweGG0hxeew0ACNQD 8DJhqsoDvuq/1rFj10NdPJ2BmLF349pUmyr7pVZlVq3baVeEijE1E+krB g==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="392204343" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="392204343" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 09:47:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="791533609" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="791533609" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 06 Nov 2023 09:47:47 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r03hR-0006cO-0T; Mon, 06 Nov 2023 17:47:45 +0000 Date: Tue, 7 Nov 2023 01:46:18 +0800 From: kernel test robot To: Sui Jingfeng , Maxime Ripard , Thomas Zimmermann Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/8] drm/loongson: Using vbios for the LS7A2000 output initialization Message-ID: <202311070048.L62vVvHE-lkp@intel.com> References: <20231029194607.379459-6-suijingfeng@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231029194607.379459-6-suijingfeng@loongson.cn> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 09:48:04 -0800 (PST) Hi Sui, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.6 next-20231106] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sui-Jingfeng/drm-loongson-Introduce-a-minimal-support-for-Loongson-VBIOS/20231030-034730 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231029194607.379459-6-suijingfeng%40loongson.cn patch subject: [PATCH 5/8] drm/loongson: Using vbios for the LS7A2000 output initialization config: x86_64-randconfig-122-20231102 (https://download.01.org/0day-ci/archive/20231107/202311070048.L62vVvHE-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311070048.L62vVvHE-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311070048.L62vVvHE-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/loongson/lsdc_output_7a2000.c:567:31: sparse: sparse: symbol 'ls7a2000_query_output_configuration' was not declared. Should it be static? vim +/ls7a2000_query_output_configuration +567 drivers/gpu/drm/loongson/lsdc_output_7a2000.c 559 560 /* 561 * For LS7A2000, the built-in VGA encoder is transparent. If there are 562 * external encoder exist, then the internal HDMI encoder MUST be enabled 563 * and initialized. As the internal HDMI encoder is always connected, so 564 * only the transmitters which take HDMI signal (such as HDMI to eDP, HDMI 565 * to LVDS, etc) are usable with. 566 */ > 567 const struct lsdc_output_desc * 568 ls7a2000_query_output_configuration(struct drm_device *ddev, unsigned int pipe) 569 { 570 enum loongson_vbios_encoder_name encoder_name = 0; 571 bool ret; 572 573 ret = loongson_vbios_query_encoder_info(ddev, pipe, NULL, 574 &encoder_name, NULL); 575 if (!ret) 576 goto bailout; 577 578 if (pipe == 0) { 579 switch (encoder_name) { 580 case ENCODER_CHIP_INTERNAL_HDMI: 581 return &ls7a2000_hdmi_pipe0; 582 583 /* 584 * For LS7A2000, the built-in VGA encoder is transparent. 585 */ 586 case ENCODER_CHIP_INTERNAL_VGA: 587 return &ls7a2000_vga_pipe0; 588 589 /* 590 * External display bridge exists, the internal HDMI encoder 591 * MUST be enabled and initialized. Please add a drm bridge 592 * driver, and attach to this encoder. 593 */ 594 default: 595 return &ls7a2000_hdmi_pipe0; 596 } 597 } 598 599 if (pipe == 1) { 600 switch (encoder_name) { 601 case ENCODER_CHIP_INTERNAL_HDMI: 602 return &ls7a2000_hdmi_pipe1; 603 604 /* 605 * External display bridge exists, the internal HDMI encoder 606 * MUST be enabled and initialized. Please add a drm bridge 607 * driver, and attach it to this encoder. 608 */ 609 default: 610 return &ls7a2000_hdmi_pipe1; 611 } 612 } 613 614 bailout: 615 if (pipe == 0) 616 return &ls7a2000_vga_pipe0; 617 618 if (pipe == 1) 619 return &ls7a2000_hdmi_pipe1; 620 621 return NULL; 622 } 623 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki