Re: [PATCH 1/2] drm/msm: don't free the IRQ if it was not requested

2022-05-07 Thread Abhinav Kumar
On 5/6/2022 6:00 PM, Dmitry Baryshkov wrote: As msm_drm_uninit() is called from the msm_drm_init() error path, additional care should be necessary as not to call the free_irq() for the IRQ that was not requested before (because an error occured earlier than the request_irq() call). This

Re: [Freedreno] [PATCH] drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

2022-05-07 Thread Abhinav Kumar
On 5/7/2022 4:40 AM, Dmitry Baryshkov wrote: There is no need to check that kfree() argument is not NULL. Remove extra check and call kfree() unconditionally. Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar ---

[PATCH v2 3/3] drm/msm: stop storing the array of CRTCs in struct msm_drm_private

2022-05-07 Thread Dmitry Baryshkov
Handling the array of CRTC duplicate the struct msm_drm_private duplicates a list of CRTCs in the drm_device. Drop it and use the existing list for CRTC enumeration. Signed-off-by: Dmitry Baryshkov Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov --- Changes since v1: -

[PATCH v2 2/3] drm/msm/mdp5: convert to drm_crtc_handle_vblank()

2022-05-07 Thread Dmitry Baryshkov
Stop using deprecated drm_handle_vblank(), use drm_crtc_handle_vblank() instead. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/mdp5/mdp5_irq.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_irq.c

[PATCH v2 1/3] drm/msm/mdp4: convert to drm_crtc_handle_vblank()

2022-05-07 Thread Dmitry Baryshkov
Stop using deprecated drm_handle_vblank(), use drm_crtc_handle_vblank() instead. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/mdp4/mdp4_irq.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_irq.c

Re: [PATCH] fbdev: efifb: Fix a use-after-free due early fb_info cleanup

2022-05-07 Thread Javier Martinez Canillas
Hello Lucas, On 5/7/22 18:20, Lucas De Marchi wrote: > On Fri, May 06, 2022 at 03:22:25PM +0200, Javier Martinez Canillas wrote: >> Commit d258d00fb9c7 ("fbdev: efifb: Cleanup fb_info in .fb_destroy rather >> than .remove") attempted to fix a use-after-free error due driver freeing >> the fb_info

Re: [PATCH] fbdev: efifb: Fix a use-after-free due early fb_info cleanup

2022-05-07 Thread Lucas De Marchi
On Fri, May 06, 2022 at 03:22:25PM +0200, Javier Martinez Canillas wrote: Commit d258d00fb9c7 ("fbdev: efifb: Cleanup fb_info in .fb_destroy rather than .remove") attempted to fix a use-after-free error due driver freeing the fb_info in the .remove handler instead of doing it in .fb_destroy.

Re: [PATCH 2/3] dt-bindings: display: Add bindings for EBBG FT8719

2022-05-07 Thread Krzysztof Kozlowski
On 06/05/2022 14:17, Joel Selvaraj wrote: > Add bindings for the EBBG FT8719 6.18" 2246x1080 DSI video mode panel, > which can be found on some Xiaomi Poco F1 phones. The backlight is > managed through the QCOM WLED driver. > > Signed-off-by: Joel Selvaraj > --- >

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for EBBG

2022-05-07 Thread Krzysztof Kozlowski
On 06/05/2022 14:17, Joel Selvaraj wrote: > Add a prefix for EBBG. They manufacture displays which are used in some > Xiaomi phones, but I could not find much details about the company. > > Signed-off-by: Joel Selvaraj Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

[PATCH 1/2] dma-buf: Add an API for exporting sync files (v14)

2022-05-07 Thread Jason Ekstrand
Modern userspace APIs like Vulkan are built on an explicit synchronization model. This doesn't always play nicely with the implicit synchronization used in the kernel and assumed by X11 and Wayland. The client -> compositor half of the synchronization isn't too bad, at least on intel, because we

[PATCH 0/2] dma-buf: Add an API for exporting sync files (v14)

2022-05-07 Thread Jason Ekstrand
Modern userspace APIs like Vulkan are built on an explicit synchronization model. This doesn't always play nicely with the implicit synchronization used in the kernel and assumed by X11 and Wayland. The client -> compositor half of the synchronization isn't too bad, at least on intel, because we

Re: [BUG] Warning and NULL-ptr dereference in amdgpu driver with 5.18

2022-05-07 Thread Jörg Rödel
On Fri, May 06, 2022 at 08:30:13AM +0200, Jörg Rödel wrote: > [81829.087101] [ cut here ] > [81829.087105] WARNING: CPU: 4 PID: 644 at > drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce110/dce110_clk_mgr.c:140 > dce110_fill_display_configs+0x4a/0x150 [amdgpu] Same

[PATCH 2/2] dma-buf: Add an API for importing sync files (v9)

2022-05-07 Thread Jason Ekstrand
This patch is analogous to the previous sync file export patch in that it allows you to import a sync_file into a dma-buf. Unlike the previous patch, however, this does add genuinely new functionality to dma-buf. Without this, the only way to attach a sync_file to a dma-buf is to submit a batch

Re: [PATCH v2 -next] drm/rockchip: Fix Kconfig dependencies

2022-05-07 Thread Andy Yan
Hi Zhijie: On 5/7/22 18:09, Ren Zhijie wrote: drivers/gpu/drm/rockchip/cdn-dp-core.o: In function `cdn_dp_connector_mode_valid': cdn-dp-core.c:(.text+0x1e1): undefined reference to `drm_dp_bw_code_to_link_rate' cdn-dp-core.c:(.text+0x1f4): undefined reference to `drm_dp_bw_code_to_link_rate'

Re: [PATCH 40/48] ARM: pxa: tosa: use gpio lookup for battery

2022-05-07 Thread Linus Walleij
On Tue, Apr 19, 2022 at 6:44 PM Arnd Bergmann wrote: > From: Arnd Bergmann > > The battery driver uses a lot of GPIO lines, hardcoded from a > machine header file. > > Change it to use a gpiod lookup table instead. > > Reviewed-by: Sebastian Reichel > Acked-by: Sebastian Reichel > Cc:

Re: [PATCH 3/3] drm/msm: stop storing the array of CRTCs in struct msm_drm_private

2022-05-07 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-mdp4-convert-to-drm_crtc_handle_vblank/20220507-090522 base:38a288f5941ef03752887ad86f2d85442358c99a config

[PATCH 2/2] drm/msm/dpu: drop enum msm_display_caps

2022-05-07 Thread Dmitry Baryshkov
After the commit c46f0d69039c ("drm/msm: remove unused hotplug and edid macros from msm_drv.h") the msm_display_caps enum contains two bits describing whether the encoder should work in video or command mode. Drop the enum and replace capabilities field in struct msm_display_info with boolean

[PATCH 1/2] drm/msm/dpu: dont_use IS_ERR_OR_NULL for encoder phys backends

2022-05-07 Thread Dmitry Baryshkov
The functions dpu_encoder_phys_foo_init() can not return NULL. Replace corresponding IS_ERR_OR_NULL() checks with just IS_ERR(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH] drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

2022-05-07 Thread Dmitry Baryshkov
There is no need to check that kfree() argument is not NULL. Remove extra check and call kfree() unconditionally. Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()

2022-05-07 Thread Jani Nikula
On Fri, 06 May 2022, Ville Syrjälä wrote: > On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote: >> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads) >> +{ >> +struct drm_edid drm_edid = { >> +.edid = edid, >> +.size = edid_size(edid), >> +

Re: [PATCH v2 0/4] drm/nvdla: Add driver support for NVDLA

2022-05-07 Thread Cai Huoqing
On 02 5月 22 19:04:13, Thierry Reding wrote: > On Fri, Apr 29, 2022 at 11:28:10AM +0800, Cai Huoqing wrote: > > On 28 4月 22 18:56:07, Mikko Perttunen wrote: > > > On 4/28/22 17:10, Thierry Reding wrote: > > > > On Tue, Apr 26, 2022 at 02:07:57PM +0800, Cai Huoqing wrote: > > > > > The NVIDIA Deep

Re: [PATCH v5 8/9] drm: vkms: Adds XRGB_16161616 and ARGB_1616161616 formats

2022-05-07 Thread Thomas Zimmermann
Hi Am 04.04.22 um 22:45 schrieb Igor Torrente: This will be useful to write tests that depends on these formats. ARGB and XRGB follows the a similar implementation of the former formats. Just adjusting for 16 bits per channel. V3: Adapt the handlers to the new format introduced in patch 7 V3.

Re: [PATCH RFC v6 00/21] DEPT(Dependency Tracker)

2022-05-07 Thread Hyeonggon Yoo
On Fri, May 06, 2022 at 09:11:35AM +0900, Byungchul Park wrote: > Linus wrote: > > > > On Wed, May 4, 2022 at 1:19 AM Byungchul Park > > wrote: > > > > > > Hi Linus and folks, > > > > > > I've been developing a tool for detecting deadlock possibilities by > > > tracking wait/event rather than

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2022-05-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 --- Comment #39 from MasterCATZ (masterc...@hotmail.com) --- h.264 is fine any h.265 does it do not know why my dmesg logs do not contain all the spam when the gpu resets -- You may reply to this email to add a comment. You are receiving

Re: [PATCH -next] drm/rockchip: Fix Kconfig dependencies

2022-05-07 Thread Andy Yan
Hi Zhijie: On 5/7/22 09:00, Ren Zhijie wrote: If CONFIG_ROCKCHIP_ANALOGIX_DP is not set, the rockchip drm driver will fail to link: drivers/gpu/drm/rockchip/cdn-dp-core.o: In function `cdn_dp_connector_mode_valid': cdn-dp-core.c:(.text+0x1e1): undefined reference to

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2022-05-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 --- Comment #38 from MasterCATZ (masterc...@hotmail.com) --- amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125 AMD Radeon R9 200 Series (hawaii, LLVM 14.0.0, DRM 3.42, 5.15.34-051534-generic) OpenGL version string: 4.6