Re: [PATCH v2] accel/habanalabs: Make use of rhashtable

2023-04-29 Thread Oded Gabbay
On Fri, Apr 28, 2023 at 5:49 PM Cai Huoqing wrote: > > Using rhashtable to accelerate the search for userptr by address, > instead of using a list. > > Preferably, the lookup complexity of a hash table is O(1). > > This patch will speedup the method > hl_userptr_is_pinned by rhashtable_lookup_fast

[PATCH v3] drm/msm/dpu: drop unused SSPP sub-block information

2023-04-29 Thread Dmitry Baryshkov
The driver doesn't support hsic/memcolor and pcc SSPP subblocks. Drop corresponding definitions. Signed-off-by: Dmitry Baryshkov --- Changes since v2: - Fixed commit message to remove igc block mention. Changes since v1: - Rebased on top of https://patchwork.freedesktop.org/patch/534725/?ser

[PATCH v2] drm/msm/dpu: drop unused SSPP sub-block information

2023-04-29 Thread Dmitry Baryshkov
The driver doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions. Signed-off-by: Dmitry Baryshkov --- Changes since v1: - Rebased on top of https://patchwork.freedesktop.org/patch/534725/?series=117130&rev=1 --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalo

Re: [Freedreno] [PATCH v2 5/7] drm/msm/dpu: add DPU_PINGPONG_DSC feature PP_BLK and PP_BLK_TE

2023-04-29 Thread Dmitry Baryshkov
On 29/04/2023 23:23, Abhinav Kumar wrote: On 4/29/2023 12:45 PM, Dmitry Baryshkov wrote: On Sat, 29 Apr 2023 at 11:43, Abhinav Kumar wrote: On 4/28/2023 9:35 PM, Dmitry Baryshkov wrote: On 29/04/2023 07:04, Abhinav Kumar wrote: On 4/28/2023 8:21 PM, Dmitry Baryshkov wrote: On Sat, 29

Re: [Freedreno] [PATCH v2 5/7] drm/msm/dpu: add DPU_PINGPONG_DSC feature PP_BLK and PP_BLK_TE

2023-04-29 Thread Abhinav Kumar
On 4/29/2023 12:45 PM, Dmitry Baryshkov wrote: On Sat, 29 Apr 2023 at 11:43, Abhinav Kumar wrote: On 4/28/2023 9:35 PM, Dmitry Baryshkov wrote: On 29/04/2023 07:04, Abhinav Kumar wrote: On 4/28/2023 8:21 PM, Dmitry Baryshkov wrote: On Sat, 29 Apr 2023 at 05:50, Abhinav Kumar wrote:

Re: [Freedreno] [PATCH v2 5/7] drm/msm/dpu: add DPU_PINGPONG_DSC feature PP_BLK and PP_BLK_TE

2023-04-29 Thread Dmitry Baryshkov
On Sat, 29 Apr 2023 at 11:43, Abhinav Kumar wrote: > > > > On 4/28/2023 9:35 PM, Dmitry Baryshkov wrote: > > On 29/04/2023 07:04, Abhinav Kumar wrote: > >> > >> > >> On 4/28/2023 8:21 PM, Dmitry Baryshkov wrote: > >>> On Sat, 29 Apr 2023 at 05:50, Abhinav Kumar > >>> wrote: > > > >

Re: [PATCH] drm/msm/dpu: drop unused SSPP sub-block information

2023-04-29 Thread Dmitry Baryshkov
On Sat, 29 Apr 2023 at 11:46, Abhinav Kumar wrote: > > > > On 4/28/2023 9:30 PM, Dmitry Baryshkov wrote: > > On 29/04/2023 07:29, Abhinav Kumar wrote: > >> > >> > >> On 4/28/2023 7:42 PM, Dmitry Baryshkov wrote: > >>> The driver doesn't support hsic/memcolor, pcc and igc SSPP subblocks. > >>> Dro

Re: [PATCH v3 4/7] arm64: dts: allwinner: a64: reset pll-video0 rate

2023-04-29 Thread Frank Oltmanns
Hi Jernej, On 2023-04-28 at 08:43:29 +0200, Jernej Škrabec wrote: > Dne četrtek, 27. april 2023 ob 11:16:08 CEST je Roman Beranek napisal(a): >> With pll-mipi as its source clock, the exact rate to which TCON0's data >> clock can be set to is constrained by the current rate of pll-video0. >> Unl

Re: [PATCH v2 5/5] fbdev: Define framebuffer I/O from Linux' I/O functions

2023-04-29 Thread Arnd Bergmann
On Sat, Apr 29, 2023, at 14:26, Thomas Zimmermann wrote: > Am 28.04.23 um 15:17 schrieb Arnd Bergmann: >> The only implementations in fbdev are >> >> 1) sparc sbus >> 2) __raw_writel >> 3) direct pointer dereference >> >> But none use the byte-swapping writel() implementations, and >> the o

Re: [PATCH v2 5/5] fbdev: Define framebuffer I/O from Linux' I/O functions

2023-04-29 Thread Thomas Zimmermann
Hi Sam Am 28.04.23 um 18:54 schrieb Sam Ravnborg: Hi Thomas, On Fri, Apr 28, 2023 at 04:18:38PM +0200, Thomas Zimmermann wrote: I'd be happy to have fb_() wrappers that are I/O helpers without ordering guarantees. I'd just wouldn't want them in How about throwing them into a new drm_fb.h he

Re: [PATCH v2 5/5] fbdev: Define framebuffer I/O from Linux' I/O functions

2023-04-29 Thread Thomas Zimmermann
Hi Am 28.04.23 um 15:17 schrieb Arnd Bergmann: On Fri, Apr 28, 2023, at 13:27, Geert Uytterhoeven wrote: On Fri, Apr 28, 2023 at 2:18 PM Robin Murphy wrote: On 2023-04-28 10:27, Thomas Zimmermann wrote: - -#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || \ -

[PATCH 4/4] arm64: dts: adapt to LP855X bindings changes

2023-04-29 Thread Artur Weber
Change underscores in ROM node names to dashes, and remove deprecated pwm-period property. Signed-off-by: Artur Weber --- arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dt

[PATCH 1/4] dt-bindings: backlight: lp855x: convert to YAML and modernize

2023-04-29 Thread Artur Weber
Notable changes: - ROM child nodes use dashes instead of underscores; the driver reads all child nodes regardless of their names, so this doesn't break ABI. - pwm-period argument is deprecated, as it effectively duplicates the period value provided in pwms. The driver continues to accept th

[PATCH 2/4] video: backlight: lp855x: get PWM for PWM mode during probe

2023-04-29 Thread Artur Weber
Also deprecate the pwm-period DT property, as it is now redundant (pwms property already contains period value). Signed-off-by: Artur Weber --- drivers/video/backlight/lp855x_bl.c | 48 - 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/drivers/video/ba

[PATCH 3/4] ARM: dts: adapt to LP855X bindings changes

2023-04-29 Thread Artur Weber
Change underscores in ROM node names to dashes, and remove deprecated pwm-period property. Signed-off-by: Artur Weber --- .../dts/qcom-apq8026-samsung-matisse-wifi.dts | 1 - ...-msm8974pro-sony-xperia-shinano-castor.dts | 23 ++- 2 files changed, 12 insertions(+), 12 deletions(

[PATCH 0/4] video: backlight: lp855x: modernize bindings

2023-04-29 Thread Artur Weber
Convert TI LP855X backlight controller bindings from TXT to YAML and, while we're at it, rework some of the code related to PWM handling. Also correct existing DTS files to avoid introducing new dtb_check errors. Signed-off-by: Artur Weber Artur Weber (4): dt-bindings: backlight: lp855x: conve

Re: [PATCH v3 0/5] drm/i915: Allow user to set cache at BO creation

2023-04-29 Thread Intel
On 4/28/23 19:43, Yang, Fei wrote: >> On 4/28/23 17:19, Yang, Fei wrote: >>> On 4/28/23 07:47, fei.y...@intel.com wrote: From: Fei Yang The first three patches in this series are taken from https://patchwork.freedesktop.org/series/116868/ These patches are included here

Re: [PATCH] drm/msm/dpu: drop unused SSPP sub-block information

2023-04-29 Thread Abhinav Kumar
On 4/28/2023 9:30 PM, Dmitry Baryshkov wrote: On 29/04/2023 07:29, Abhinav Kumar wrote: On 4/28/2023 7:42 PM, Dmitry Baryshkov wrote: The driver  doesn't support hsic/memcolor, pcc and igc SSPP subblocks. Drop corresponding definitions. Signed-off-by: Dmitry Baryshkov ---   drivers/gpu/d

Re: [Freedreno] [PATCH v2 5/7] drm/msm/dpu: add DPU_PINGPONG_DSC feature PP_BLK and PP_BLK_TE

2023-04-29 Thread Abhinav Kumar
On 4/28/2023 9:35 PM, Dmitry Baryshkov wrote: On 29/04/2023 07:04, Abhinav Kumar wrote: On 4/28/2023 8:21 PM, Dmitry Baryshkov wrote: On Sat, 29 Apr 2023 at 05:50, Abhinav Kumar wrote: On 4/28/2023 6:41 PM, Dmitry Baryshkov wrote: On 29/04/2023 04:08, Abhinav Kumar wrote: On 4/28/