Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 701D6C54EAA for ; Mon, 30 Jan 2023 16:24:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236641AbjA3QYg (ORCPT ); Mon, 30 Jan 2023 11:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236434AbjA3QYb (ORCPT ); Mon, 30 Jan 2023 11:24:31 -0500 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C8D93B0C2 for ; Mon, 30 Jan 2023 08:24:30 -0800 (PST) Received: by mail-vs1-xe2f.google.com with SMTP id y8so13104350vsq.0 for ; Mon, 30 Jan 2023 08:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=criticallink.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TNjcl9ue4Yo+C3qXNF3I2IXLdPdV2VfDLb5UgrGwaNI=; b=WtpdVSeOyj3NqmS8x1J7iyhRv/V7ha9AnHL68DNjFluRRqNbJK88sYdxcMnhkY8t6X IFa4EfhuyatIkNKRKGkm9n+gDO0OX36QOSZ+tNcPWDzSffM3emrKCn8Da45DzuF8dJUT ZmZlwopPfGtyO1AJaR6YCWLepNYkHtk3IFMrqL8qZfnPi86PsUI6yQ0X3Z9Lf7Fdgw4B J6p5P3SBEf8maYUzvmVH64dIuvoot3NyC4rVF+MRJ+jiqD9lVJN7osAxX7oQ5ZEChSJX Fisw6C68uToeMVoQj26/eL1mp7XloiMme5kZB+/UcvnYm07/ovfa4VCRT31K7f3vvLZJ BrtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TNjcl9ue4Yo+C3qXNF3I2IXLdPdV2VfDLb5UgrGwaNI=; b=6/QnpjcfiZg22vayScr6Ri29xMFNVlvieeu01oh1P/FTN+1gGA0ozxkBzlG0gOh8+5 QcoTQciZJ5HyhNWHaQAsGX89LxF6POrwc5rDV7+YFrAJ+5XlIlvnILi3xo8qpQrDQr+y 56/7HeD8Zkpk5624s595hU9h8/LTtZGh06cTe8E3HBaXp7opY2f/YcmCvSJMa8YI+Kmn az0qoOSyDRdg4mQaHHYrFbNduhiGL4mwjflSa3/LCiVlTm3r+M8xK+2MEaMhtwqfzIzI 2xicfB4eFazMDxhPRUBe22IlS9F6qCAZ3UmYkDNqAe6BYlN54XZ5ex6sDCx3N+EJX/8/ QngA== X-Gm-Message-State: AFqh2ko69W9sq+3opHWHrP6DsS/6ubLIAItvHYoUxdQivSK1NpCm0q3/ RAKmIMETeCNCFd8GYf0NRCXt7dGcjrphbgDXnU7jSw== X-Google-Smtp-Source: AMrXdXvS2Xawh4TMY7nGcG42X6+jgpIxV+dRdppy1YUwAh+MSFiMtT/oSRraGGu4VgjT0QR7HOIsuVThWjRInNDG+YU= X-Received: by 2002:a05:6102:5587:b0:3d1:2167:11ad with SMTP id dc7-20020a056102558700b003d1216711admr6493306vsb.2.1675095869214; Mon, 30 Jan 2023 08:24:29 -0800 (PST) MIME-Version: 1.0 References: <20230125-tfp410_i2c-v1-4-66a4d4e390b7@criticallink.com> <202301290803.ouS19eab-lkp@intel.com> In-Reply-To: <202301290803.ouS19eab-lkp@intel.com> From: Jon Cormier Date: Mon, 30 Jan 2023 11:24:18 -0500 Message-ID: Subject: Re: [PATCH 4/4] DRM: BRIDGE: TFP410: If connected, use I2C for polled HPD status. To: kernel test robot Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Tomi Valkeinen , Jyri Sarha , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Williamson , Bob Duke Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 28, 2023 at 7:47 PM kernel test robot wrote: > > Hi Jonathan, > > Thank you for the patch! Perhaps something to improve: Good bot. > > [auto build test WARNING on 93f875a8526a291005e7f38478079526c843cbec] > > url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Cormier/dt-bindings-display-bridge-tfp410-Add-tfp410-i2c-example/20230128-183627 > base: 93f875a8526a291005e7f38478079526c843cbec > patch link: https://lore.kernel.org/r/20230125-tfp410_i2c-v1-4-66a4d4e390b7%40criticallink.com > patch subject: [PATCH 4/4] DRM: BRIDGE: TFP410: If connected, use I2C for polled HPD status. > config: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20230129/202301290803.ouS19eab-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/c4659fa4c02b62087c095ca99978e5eac8b490de > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Jonathan-Cormier/dt-bindings-display-bridge-tfp410-Add-tfp410-i2c-example/20230128-183627 > git checkout c4659fa4c02b62087c095ca99978e5eac8b490de > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/bridge/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/gpu/drm/bridge/ti-tfp410.c:111:6: warning: unused variable 'val' [-Wunused-variable] > u32 val; > ^ > 1 warning generated. This has already been fixed in V2 of the patch series. > > > vim +/val +111 drivers/gpu/drm/bridge/ti-tfp410.c > > 106 > 107 static enum drm_connector_status > 108 tfp410_connector_detect(struct drm_connector *connector, bool force) > 109 { > 110 struct tfp410 *dvi = drm_connector_to_tfp410(connector); > > 111 u32 val; > 112 unsigned int ret; > 113 > 114 if (dvi->i2c) { > 115 ret = regmap_test_bits(dvi->regmap, TFP410_REG_CTL_2_MODE, TFP410_BIT_HTPLG); > 116 if (ret < 0) > 117 dev_err(dvi->dev, "%s failed to read HTPLG bit : %d\n", __func__, ret); > 118 else > 119 return ret ? connector_status_connected : connector_status_disconnected; > 120 } > 121 > 122 return drm_bridge_detect(dvi->next_bridge); > 123 } > 124 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests