Re: [PATCH v6 01/10] drm/amd/display: switch amdgpu_dm_connector to use struct drm_edid

2024-09-15 Thread kernel test robot
//download.01.org/0day-ci/archive/20240915/202409151547.hcdvok5l-...@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/20240915/202409151547.hcdvok5l-...@intel.com/reproduce) If you fix the issue in a separate patch/c

[PATCH] drm/amd/display: Allow backlight to go below `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT`

2024-09-15 Thread Mario Limonciello
From: Mario Limonciello The issue with panel power savings compatibility below `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT` happens at `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT` as well. That issue will be fixed separately, so don't prevent the backlight brightness from going that low. Cc: Harry Wentland Cc: Thom

Re: [PATCH v6 10/10] drm/amd/display: Fetch the EDID from _DDC if available for eDP

2024-09-15 Thread kernel test robot
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

Kernel hang when amdgpu driver is loaded on old radeon card

2024-09-15 Thread Sitsofe Wheeler
Hello, (Apologies if I have CC'd the wrong people/places - I just went by what get_maintainer.pl -f drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c said) I recently upgraded from Ubuntu 20.04 (5.15.0-119.129~20.04.1-generic kernel) to Ubuntu 24.04 (6.8.0-44-generic kernel) and found that while booting th

[PATCH] drm/amd/display: Remove unused function bios_get_vga_enabled_displays

2024-09-15 Thread linux
From: "Dr. David Alan Gilbert" bios_get_vga_enabled_displays has been unused since commit 5a8132b9f606 ("drm/amd/display: remove dead dc vbios code") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c | 7 --- drivers/gpu/drm/am

[PATCH] drm/amd/display: Add NULL check for panel_cntl in dce110_edp_backlight_control

2024-09-15 Thread Mikhail Arkhipov
If link->panel_cntl is NULL, the function dce110_edp_backlight_control attempts to dereference it at line 1019, leading to a potential NULL pointer dereference and a kernel crash. This bug can manifest when the eDP panel is not correctly configured or initialized during certain power or display st