Re: [PATCH v3] firmware: coreboot: Don't register a pdev if screen_info data is present

2024-09-15 Thread kernel test robot
t config: riscv-randconfig-001-20240915 (https://download.01.org/0day-ci/archive/20240915/202409151528.ciwzrpbq-...@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/

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 v1 0/2] Modify the timing of three panels

2024-09-15 Thread Zhaoxiong Lv
Modify the power-off sequence of the Kingdisplay/Starry/Melfas panel. Zhaoxiong Lv (2): drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing drm/panel: boe-th101mb31ig002: Modify Starry panel timing drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 11 +-- drivers/gp

[PATCH v1 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-15 Thread Zhaoxiong Lv
In order to meet the timing, remove the delay between "backlight off" and "display off" Removing variables: display_off_to_enter_sleep_delay_ms Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/d

[PATCH v1 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-15 Thread Zhaoxiong Lv
In order to meet the timing, remove the delay between "backlight off" and "display off", and reduce the delay between "display_off" and "enter_sleep" Removing variables: display_off_to_enter_sleep_delay_ms Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 11

Re: [PATCH v4 0/5] Support alpha blending in MTK display driver

2024-09-15 Thread 宋孝謙

Re: [PATCH] drm/mediatek: ovl: Add fmt_support_man for MT8192 and MT8195

2024-09-15 Thread Alper Nebi Yasak
Hi, On 2024-09-14 23:18 +03:00, Jason-JH.Lin wrote: > OVL_CON_CLRFMT_MAN is an configuration for extending color format > settings of DISP_REG_OVL_CON(n). > It will change some of the original color format settings. > > Take the settings of (3 << 12) for example. > - If OVL_CON_CLRFMT_MAN = 0 mea

[PATCH] drm/i915: Fix typos

2024-09-15 Thread Andrew Kreimer
Fix typos in documentation. Reported-by: Matthew Wilcox Signed-off-by: Andrew Kreimer --- drivers/gpu/drm/i915/display/intel_psr.c | 2 +- drivers/gpu/drm/i915/gt/shaders/README | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/

[PATCH] drm/rockchip: Fix a typo

2024-09-15 Thread Andrew Kreimer
Fix a typo in comments. Reported-by: Matthew Wilcox Signed-off-by: Andrew Kreimer --- drivers/gpu/drm/rockchip/cdn-dp-reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/cdn-dp-reg.h b/drivers/gpu/drm/rockchip/cdn-dp-reg.h index 441248b7a79e..c778

[PATCH] drm/sun4i: Fix a typo

2024-09-15 Thread Andrew Kreimer
Fix a typo in comments. Reported-by: Matthew Wilcox Signed-off-by: Andrew Kreimer --- drivers/gpu/drm/sun4i/sun8i_mixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.h b/drivers/gpu/drm/sun4i/sun8i_mixer.h index d7898c9c9cc0..0b24a5e3ac

Re: [PATCH v3] firmware: coreboot: Don't register a pdev if screen_info data is present

2024-09-15 Thread Tzung-Bi Shih
On Fri, Sep 13, 2024 at 11:32:29PM +0200, Javier Martinez Canillas wrote: > @@ -27,8 +28,10 @@ static int framebuffer_probe(struct coreboot_device *dev) > int i; > u32 length; > struct lb_framebuffer *fb = &dev->framebuffer; > + const struct screen_info *si = &screen_info; >

Re: [PATCH v2 1/3] drm/nouveau/tegra: Use iommu_paging_domain_alloc()

2024-09-15 Thread Jason Gunthorpe
On Thu, Sep 05, 2024 at 12:26:31PM -0400, Lyude Paul wrote: > I did take the one patch - but I'm happy to push the others to drm-misc > (provided they all get reviewed. 2/3 seems to be reviewed already but not 3/3) Did it get lost? $ git reset --hard next-20240913 $ git grep 'iommu_domain_alloc('

[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

Re: [PATCH] drm/mediatek: ovl: Add fmt_support_man for MT8192 and MT8195

2024-09-15 Thread 林睿祥

Re: [PATCH v6 1/5] drm/panthor: introduce job cycle and timestamp accounting

2024-09-15 Thread kernel test robot
https://lore.kernel.org/r/20240913124857.389630-2-adrian.larumbe%40collabora.com patch subject: [PATCH v6 1/5] drm/panthor: introduce job cycle and timestamp accounting config: i386-buildonly-randconfig-003-20240915 (https://download.01.org/0day-ci/archive/20240915/202409152243.r3t2jdoj-...

[PATCH v2] drm/mediatek: ovl: Add fmt_support_man for MT8192 and MT8195

2024-09-15 Thread Jason-JH . Lin
OVL_CON_CLRFMT_MAN is an configuration for extending color format settings of DISP_REG_OVL_CON(n). It will change some of the original color format settings. Take the settings of (3 << 12) for example. - If OVL_CON_CLRFMT_MAN = 0 means OVL_CON_CLRFMT_RGBA. - If OVL_CON_CLRFMT_MAN = 1 means OVL

[PATCH] drm/scheduler: correct comments relate to scheduler

2024-09-15 Thread Shuicheng Lin
function drm_sched_entity_push_job doesn't have return value, remove the return value description for it. Correct several other typo errors. Signed-off-by: Shuicheng Lin --- drivers/gpu/drm/scheduler/sched_entity.c | 8 +++- drivers/gpu/drm/scheduler/sched_main.c | 4 ++-- include/drm/gp

Re: [PATCH v6 1/5] drm/panthor: introduce job cycle and timestamp accounting

2024-09-15 Thread kernel test robot
https://lore.kernel.org/r/20240913124857.389630-2-adrian.larumbe%40collabora.com patch subject: [PATCH v6 1/5] drm/panthor: introduce job cycle and timestamp accounting config: i386-buildonly-randconfig-002-20240915 (https://download.01.org/0day-ci/archive/20240916/202409160050.m7ved3py-...@intel.

Re: [PATCH 1/5] drm/meson: drop unused staitc dw_hdmi_dwc_write_bits

2024-09-15 Thread Martin Blumenstingl
On Sun, Sep 8, 2024 at 4:21 PM Krzysztof Kozlowski wrote: > > static inline dw_hdmi_dwc_write_bits() function is not used at all: > > drivers/gpu/drm/meson/meson_dw_hdmi.c:276:20: error: unused function > 'dw_hdmi_dwc_write_bits' [-Werror,-Wunused-function] > > Signed-off-by: Krzysztof Kozlowsk

Re: [PATCH 6/8] drm/meson: dw-hdmi: annotate dw_hdmi_dwc_write_bits() with __maybe_unused

2024-09-15 Thread Martin Blumenstingl
Hi Jani, On Tue, Sep 10, 2024 at 12:08 PM Jani Nikula wrote: > > Building with clang and and W=1 leads to warning about unused > dw_hdmi_dwc_write_bits(). Fix by annotating it with __maybe_unused. > > See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static > inline functions for

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: 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

linux-next: manual merge of the drm tree with Linus' tree

2024-09-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c between commit: e835d5144f5e ("drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct()") from Linus' tree and commit: be7a6a517164 ("drm/amd/d

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

Re: [PATCH v1 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-15 Thread Dmitry Baryshkov
On Sun, 15 Sept 2024 at 10:10, Zhaoxiong Lv wrote: > > In order to meet the timing, remove the delay between "backlight off" > and "display off" > > Removing variables: display_off_to_enter_sleep_delay_ms This is not enough. If this is a fix, then describe why the original commit is incorrect, pr

Re: [PATCH v1 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-15 Thread Dmitry Baryshkov
Same comment as the one that I've provided to the other patch, plus: On Sun, 15 Sept 2024 at 10:11, Zhaoxiong Lv wrote: > > In order to meet the timing, remove the delay between "backlight off" > and "display off", and reduce the delay between "display_off" and > "enter_sleep" Separate commit, s

Re: [EXT] Re: [PATCH v16 4/8] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2024-09-15 Thread Dmitry Baryshkov
On Fri, 13 Sept 2024 at 11:46, Sandor Yu wrote: > > > > Subject: Re: [EXT] Re: [PATCH v16 4/8] drm: bridge: Cadence: Add MHDP8501 > > DP/HDMI driver > > > > On Fri, Sep 06, 2024 at 02:50:08AM GMT, Sandor Yu wrote: > > > > On Tue, Sep 03, 2024 at 06:07:25AM GMT, Sandor Yu wrote: > > > > > > -Or

Re: [PATCH v3] firmware: coreboot: Don't register a pdev if screen_info data is present

2024-09-15 Thread Thomas Zimmermann
register a pdev if screen_info data is present config: riscv-randconfig-001-20240915 (https://download.01.org/0day-ci/archive/20240915/202409151528.ciwzrpbq-...@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reprodu

[PATCH] fbcon: Fix a NULL pointer dereference issue in fbcon_putcs

2024-09-15 Thread Qianqiang Liu
syzbot has found a NULL pointer dereference bug in fbcon [1]. This issue is caused by ops->putcs being a NULL pointer. We need to check the pointer before using it. [1] https://syzkaller.appspot.com/bug?extid=3d613ae53c031502687a Cc: sta...@vger.kernel.org Reported-and-tested-by: syzbot+3d613ae5