Re: [PATCH] drm/bridge: it6505: Add lock for it6505 i2c bank

2023-03-26 Thread Hsin-Yi Wang
On Sat, Mar 25, 2023 at 2:17 PM Hsin-Yi Wang wrote: > > On Fri, Mar 24, 2023 at 11:34 PM Hsin-Yi Wang wrote: > > > > On Fri, Mar 24, 2023 at 8:18 PM Andrzej Hajda > > wrote: > > > > > > > > > > > > On 24.03.2023 08:29, Hsin-Yi Wang wrote: > > > > From: xiazhengqiao > > > > > > > > When the i2c

[PATCH] drm/bridge: it6505: Add range and selector_reg

2023-03-26 Thread Hsin-Yi Wang
There are 2 banks on it6505, and when writing to different bank, REG_BANK_SEL needs to be set to the targeted bank. The current code set this additionally, which causes a race condition when a process is writing bank 0 registers while another process set the bank to 1. Set ranges in regmap config s

Re: [PATCH v14 14/14] drm/msm/dp: set self refresh aware based on PSR support

2023-03-26 Thread Dmitry Baryshkov
On Sun, 26 Mar 2023 at 19:24, Bjorn Andersson wrote: > > On Thu, Mar 02, 2023 at 10:03:17PM +0530, Vinod Polimera wrote: > > For the PSR to kick in, self_refresh_aware has to be set. > > Initialize it based on the PSR support for the eDP interface. > > > > When I boot my sc8280xp devices (CRD and

Re: [PATCH] drm/msm: Rename drm_msm_gem_submit_reloc::or in C++ code

2023-03-26 Thread Dmitry Baryshkov
On Sun, 26 Mar 2023 at 19:38, Rob Clark wrote: > > From: Danylo Piliaiev > > Clashes with C++ `or` keyword > > Signed-off-by: Danylo Piliaiev > Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

[PATCH 6.2 regression fix] drm/nouveau/kms: Fix backlight registration

2023-03-26 Thread Hans de Goede
The nouveau code used to call drm_fb_helper_initial_config() from nouveau_fbcon_init() before calling drm_dev_register(). This would probe all connectors so that drm_connector->status could be used during backlight registration which runs from nouveau_connector_late_register(). After commit 4a16dd

[PATCH 4/4] dt-bindings: display: sitronix, st7701: document port and rotation

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one port (defined in panel-common.yaml binding) and can have also rotation: rk3326-odroid-go3.dtb: panel@0: 'port', 'rotation' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/display/panel/sitronix,st7701.yaml

[PATCH 2/4] dt-bindings: display: feiyang, fy07024di26a30d: document port

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one port (defined in panel-common.yaml binding): rk3399-rockpro64.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/display/panel/feiyang,fy07024di26a30d.yaml | 8 1 file changed

[PATCH 3/4] dt-bindings: display: elida, kd35t133: document port and rotation

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one port (defined in panel-common.yaml binding) and can have also rotation: rk3326-odroid-go2.dtb: panel@0: 'port', 'rotation' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/display/panel/elida,kd35t133.yaml

[PATCH 1/4] dt-bindings: display: xinpeng,xpp055c272: document port

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one port (defined in panel-common.yaml binding): px30-evb.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/display/panel/xinpeng,xpp055c272.yaml| 8 1 file changed, 8 inse

[PATCH] dt-bindings: display: sitronix,st7789v: document dc-gpios

2023-03-26 Thread Krzysztof Kozlowski
The device comes with DCX pin which is already used in canaan/sipeed_maixduino.dts (although not in Linux driver). Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetre

[PATCH] drm/msm: Rename drm_msm_gem_submit_reloc::or in C++ code

2023-03-26 Thread Rob Clark
From: Danylo Piliaiev Clashes with C++ `or` keyword Signed-off-by: Danylo Piliaiev Signed-off-by: Rob Clark --- This is a port of a C++ compat fix that was made in mesa's copy of the drm uapi headers. include/uapi/drm/msm_drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/

Re: [PATCH v14 14/14] drm/msm/dp: set self refresh aware based on PSR support

2023-03-26 Thread Bjorn Andersson
On Sun, Mar 26, 2023 at 09:27:23AM -0700, Bjorn Andersson wrote: > On Thu, Mar 02, 2023 at 10:03:17PM +0530, Vinod Polimera wrote: > > For the PSR to kick in, self_refresh_aware has to be set. > > Initialize it based on the PSR support for the eDP interface. > > > > When I boot my sc8280xp device

Re: [PATCH v14 14/14] drm/msm/dp: set self refresh aware based on PSR support

2023-03-26 Thread Bjorn Andersson
On Thu, Mar 02, 2023 at 10:03:17PM +0530, Vinod Polimera wrote: > For the PSR to kick in, self_refresh_aware has to be set. > Initialize it based on the PSR support for the eDP interface. > When I boot my sc8280xp devices (CRD and X13s) to console with this patch included I get a login prompt, an

[PATCH 5/6] dt-bindings: display: visionox,rm69299: document reg

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one reg. This fixes dtbs_check warnings like: sc7180-idp.dtb: panel@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../display/panel/visionox,rm69299.yaml | 25 +-- 1 file changed, 17 inse

[PATCH 6/6] dt-bindings: display: boe, tv101wum-nl6: document rotation

2023-03-26 Thread Krzysztof Kozlowski
Allow 'rotation' property (coming from panel-common.yaml) already used in DTS: sc7180-trogdor-quackingstick-r0.dtb: panel@0: 'rotation' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml

[PATCH 2/6] dt-bindings: display: novatek, nt36672a: correct VDDIO supply

2023-03-26 Thread Krzysztof Kozlowski
The nt36672a bindings were added with a mistake on VDDIO supply calling it in one place vddio and in other vddi0. Typical name is rather vddio which is also now used by DTS (sdm845-xiaomi-beryllium-common.dtsi) and Linux driver. Fixes: c2abcf30efb8 ("dt-bindings: display: novatek,nt36672a: Fix un

[PATCH 3/6] dt-bindings: display: panel-simple-dsi: allow vddio variant

2023-03-26 Thread Krzysztof Kozlowski
Few panels like Samsung s6e3fc2x01 and sofef00 use vddio-supply instead of power-supply (in DTS and Linux driver), so allow it to fix: sdm845-oneplus-enchilada.dtb: panel@0: 'power-supply' is a required property Signed-off-by: Krzysztof Kozlowski --- .../display/panel/panel-simple-dsi.yaml

[PATCH 4/6] dt-bindings: display: panel-simple-dsi: document port

2023-03-26 Thread Krzysztof Kozlowski
Panels are supposed to have one port (coming from panel-common.yaml binding): msm8916-samsung-a3u-eur.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../display/panel/samsung,s6e88a0-ams452ef01.yaml | 8 1 file

[PATCH 1/6] dt-bindings: display: panel-simple: merge Innolux p120zdg-bf1

2023-03-26 Thread Krzysztof Kozlowski
There is nothing special in Innolux p120zdg-bf1 panel, so just like other Innolux panels it can be made part of panel-simple. Signed-off-by: Krzysztof Kozlowski --- .../display/panel/innolux,p120zdg-bf1.yaml| 43 --- .../bindings/display/panel/panel-simple.yaml | 2 + 2 fil

Re: [PATCH] drm/i915/guc: Disable PL1 power limit when loading GuC firmware

2023-03-26 Thread Rodrigo Vivi
On Fri, Mar 24, 2023 at 04:31:22PM -0700, Dixit, Ashutosh wrote: > On Fri, 24 Mar 2023 11:15:02 -0700, Belgaumkar, Vinay wrote: > > > > Hi Vinay, > > Thanks for the review. Comments inline below. > > > On 3/15/2023 8:59 PM, Ashutosh Dixit wrote: > > > On dGfx, the PL1 power limit being enabled a

Re: [PATCH v2 1/2] docs: process: allow Closes tags with links

2023-03-26 Thread Thorsten Leemhuis
On 24.03.23 19:52, Matthieu Baerts wrote: > Making sure a bug tracker is up to date is not an easy task. For > example, a first version of a patch fixing a tracked issue can be sent a > long time after having created the issue. But also, it can take some > time to have this patch accepted upstream

Re: [PATCH v6 5/8] drm/i915/pxp: Add ARB session creation and cleanup

2023-03-26 Thread Rodrigo Vivi
On Sat, Mar 25, 2023 at 02:19:21AM -0400, Teres Alexis, Alan Previn wrote: > alan:snip > > > > @@ -353,8 +367,20 @@ int intel_pxp_start(struct intel_pxp *pxp) > alan:snip > > > + if (HAS_ENGINE(pxp->ctrl_gt, GSC0)) { > > > + /* > > > + * GSC-fw loading, GSC-proxy init (requiring

Re: [PATCH RESEND] drm/tests: Suballocator test

2023-03-26 Thread Michał Winiarski
On Thu, Mar 02, 2023 at 09:34:22AM +0100, Thomas Hellström wrote: > Add a suballocator test to get some test coverage for the new drm > suballocator, and perform some basic timing (elapsed time). > > Signed-off-by: Thomas Hellström > --- > drivers/gpu/drm/Kconfig | 1 + > dri

Re: [PATCH v13 01/10] drm/shmem-helper: Switch to reservation lock

2023-03-26 Thread Christian König
Am 25.03.23 um 15:58 schrieb Dmitry Osipenko: On 3/15/23 16:46, Dmitry Osipenko wrote: On 3/14/23 05:26, Dmitry Osipenko wrote: @@ -633,7 +605,10 @@ int drm_gem_shmem_mmap(struct drm_gem_shmem_object *shmem, struct vm_area_struct return ret; } + dma_resv_lock(shmem->