Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 7EDB9134AB for ; Thu, 19 Sep 2024 04:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726718714; cv=none; b=MVsmt2rjyFMTRs14eYvjOpCyw3/utI7K0YJ2FfEztMGIe+C8PNQyVJv5pH/4EwlCs7pSvODYenOG5mcF2SDEqEpRLQcMhuxt02233z9D7cmcxyD+5xnNHREv+laTdVsJCqiWpzwQXI3Pa1a86ZdHWFpPxi4VliA0m8qv30UiajA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726718714; c=relaxed/simple; bh=wTHnD7Gvi9qJW3/ug+em7TPU7wZwVhLkr75aYfMV7Rk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V9/UKNGQyEsS+pOTBJJsTVTZ4jJZaYAj82MYxhX28nGwyY99PJ1Z03hfi5RWe1tUadzFX1trROBv1yCIIhAJT2DD5aZghA25Vwqq6XvTgnbgwE8NUtN3vKNxEr3jdiu8UNOCeIX+X0rjmXLTzmmGpEDlrQVvNEEDCm7igpjwE2Y= 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=GFA+K4mU; arc=none smtp.client-ip=192.198.163.11 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="GFA+K4mU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726718712; x=1758254712; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wTHnD7Gvi9qJW3/ug+em7TPU7wZwVhLkr75aYfMV7Rk=; b=GFA+K4mUju5BuqRY/aAQLYrJs8D2KOZWaYf8LyrOyZtdmLZYzTo014Ol kaelAlwSCVCIbW+3alb3D8EmFOUHjRefMdZUPUU43fWG9p0+MRRNUBBCJ xho+N6/iL5FRTxjQd1mXo1/aHGl5EZXuc5ekZ4l0/xN8Oi2Oq77a3EdBN O8u1S0VJ42GXgavtsurvrZ+/s/Wpx58bDmYrGcSTt2XM8X91ni+GHDhKh X06/YwsVO4NYCf1WmcC5aKcSLLGkn7dlYbb51Wh7iGVAPg4zKbZKBDOHI 4REU5wkaYGc6/qZsKGAqa0jbjUP/KAfHQgRfAcWs98ISp0PjOEz5CVpGG w==; X-CSE-ConnectionGUID: NYXeeeW5QHC5azdwdiSrJA== X-CSE-MsgGUID: Qi/LLAKnTHGEk93wfbx3cQ== X-IronPort-AV: E=McAfee;i="6700,10204,11199"; a="36244157" X-IronPort-AV: E=Sophos;i="6.10,240,1719903600"; d="scan'208";a="36244157" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2024 21:05:12 -0700 X-CSE-ConnectionGUID: 5uXZqJYzTTmTcNytw/lJug== X-CSE-MsgGUID: pUI1d4+OTH6lOJ+7aFuhVg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,240,1719903600"; d="scan'208";a="69401890" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 18 Sep 2024 21:05:08 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1sr8Pi-000CsG-24; Thu, 19 Sep 2024 04:05:06 +0000 Date: Thu, 19 Sep 2024 12:05:06 +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: <202409191128.4bvJysve-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 errors: [auto build test ERROR on amd-pstate/linux-next] [also build test ERROR on amd-pstate/bleeding-edge linus/master v6.11] [cannot apply to next-20240918] [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: arm64-randconfig-003-20240918 (https://download.01.org/0day-ci/archive/20240919/202409191128.4bvJysve-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240919/202409191128.4bvJysve-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/202409191128.4bvJysve-lkp@intel.com/ All errors (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: error: unused variable 'ddev' [-Werror=unused-variable] 883 | struct drm_device *ddev = connector->dev; | ^~~~ cc1: all warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] Selected by [m]: - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m [=m] 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