Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34CDDD512 for ; Mon, 16 Sep 2024 04:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726461058; cv=none; b=gXb6i/UvJaNO6xvHonRclbaNLK2nxRhzS9/sxQaBECxWm4CwKeWU3BCZ6IqJRD8Wtkvn/iGzyCqi8I6LZWoRdiJfT3BVR4wjCbsK5cM7fTI1Udh0+SM/Np5uVXbfjZEvFe/8+P+1DHUwi2mYjYKbFKn2JSnuWHPw0AKrHWwjDEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726461058; c=relaxed/simple; bh=kGKwQsa5LY7zTU/w6kahcoUb6uO4yOJn+ssgNH3DOqA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ubOVkW75q/cMloukn9gGZAzToEYAt/m/bfgwLMOqdzGGnbXGK+paDT+a7NSxiU94dl/H+1zf0GNSiUaK6qempmBN24AawCvBFIOB1GBcwQTfnQ5sC75MhdQbCBmFMWuM2nspmkPhn4jmb6u2CrI4g5PKF/SfnTwyyYjEpULRudE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=UMfmKDI9; arc=none smtp.client-ip=198.175.65.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UMfmKDI9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726461056; x=1757997056; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kGKwQsa5LY7zTU/w6kahcoUb6uO4yOJn+ssgNH3DOqA=; b=UMfmKDI914ApbDK/JCzCRofoZUaI1v4S8sedP0j+FpRr3XANWciEXda/ dDOeBpo8LkEIM60diLmvQX2uYDEY4dV7QQDZhi22ETCLVTlDs6Vm3aX1p Pw/TnYqoc66djaUfoFUlOOPmO2kv6A8MT1MAFM2vu3TH/EFQWeLN1wSci cMJcoMyqgBy+SXbUk2EK98ES2ZQOLRmw9CySfqn8Z/umZr3u5MBEAgIdW TpLnaEBIVXVde9qJDF38OgJD4FmZX1e1U3FrJhOaM9Uhan9OpsUKIx5xL Ky24qWJjdLNOxv/khb1TVtb7XQbnFe8ym1d1CZgoM5rED7nrSc7P4qrWf Q==; X-CSE-ConnectionGUID: O4z09+dOQ1aPsr2f7qokKw== X-CSE-MsgGUID: EW0xtETTSq6UX8akZV/Sfg== X-IronPort-AV: E=McAfee;i="6700,10204,11196"; a="25408621" X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="25408621" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2024 21:30:54 -0700 X-CSE-ConnectionGUID: HX9MfthFQUe7lhJiZsCfPg== X-CSE-MsgGUID: xhk4qz6rTWiCFPYmrYmGPA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="68860743" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 15 Sep 2024 21:30:51 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1sq3Nx-0009O0-1N; Mon, 16 Sep 2024 04:30:49 +0000 Date: Mon, 16 Sep 2024 12:30:23 +0800 From: kernel test robot To: Mario Limonciello , Alex Hung , Alexander Deucher , Melissa Wen Cc: oe-kbuild-all@lists.linux.dev, kernel-dev@igalia.com, Mario Limonciello , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, harry.wentland@amd.com, sunpeng.li@amd.com, Mark Pearson Subject: Re: [PATCH v6 10/10] drm/amd/display: Fetch the EDID from _DDC if available for eDP Message-ID: <202409161225.xuQVKkoR-lkp@intel.com> References: <20240911213537.2338164-11-superm1@kernel.org> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240911213537.2338164-11-superm1@kernel.org> Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on amd-pstate/linux-next] [also build test WARNING on amd-pstate/bleeding-edge linus/master v6.11] [cannot apply to next-20240913] [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/Mario-Limonciello/drm-amd-display-switch-amdgpu_dm_connector-to-use-struct-drm_edid/20240912-093827 base: https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git linux-next patch link: https://lore.kernel.org/r/20240911213537.2338164-11-superm1%40kernel.org patch subject: [PATCH v6 10/10] drm/amd/display: Fetch the EDID from _DDC if available for eDP config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240916/202409161225.xuQVKkoR-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240916/202409161225.xuQVKkoR-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/202409161225.xuQVKkoR-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c: In function 'dm_helpers_probe_acpi_edid': >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c:883:28: warning: unused variable 'ddev' [-Wunused-variable] 883 | struct drm_device *ddev = connector->dev; | ^~~~ vim +/ddev +883 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c 878 879 static int 880 dm_helpers_probe_acpi_edid(void *data, u8 *buf, unsigned int block, size_t len) 881 { 882 struct drm_connector *connector = data; > 883 struct drm_device *ddev = connector->dev; 884 struct acpi_device *acpidev = ACPI_COMPANION(ddev->dev); 885 unsigned char start = block * EDID_LENGTH; 886 void *edid; 887 int r; 888 889 if (!acpidev) 890 return -ENODEV; 891 892 /* fetch the entire edid from BIOS */ 893 r = acpi_video_get_edid(acpidev, ACPI_VIDEO_DISPLAY_LCD, -1, &edid); 894 if (r < 0) { 895 DRM_DEBUG_KMS("Failed to get EDID from ACPI: %d\n", r); 896 return r; 897 } 898 if (len > r || start > r || start + len > r) { 899 r = -EINVAL; 900 goto cleanup; 901 } 902 903 memcpy(buf, edid + start, len); 904 r = 0; 905 906 cleanup: 907 kfree(edid); 908 909 return r; 910 } 911 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki