Re: [PATCH] drm/panfrost: Really power off GPU cores in panfrost_gpu_power_off()

2023-12-03 Thread Krzysztof Kozlowski
On 22/11/2023 10:29, Krzysztof Kozlowski wrote: > On 22/11/2023 10:06, AngeloGioacchino Del Regno wrote: > >> > > Hey Krzysztof, > > This is interesting. It might be about the cores that are missing from > the partial > core_mask raising interrupts, but an

[PATCH] drm/imagination: move update_logtype() into ifdef section

2023-12-03 Thread Arnd Bergmann
From: Arnd Bergmann This function is only used when debugfs is enabled, and otherwise causes a build warning: drivers/gpu/drm/imagination/pvr_fw_trace.c:135:1: error: 'update_logtype' defined but not used [-Werror=unused-function] Move the #ifdef check to include this function as well.

[PATCH] drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS

2023-12-03 Thread Arnd Bergmann
From: Arnd Bergmann A dependency on this feature was recently introduced: x86_64-linux-ld: vmlinux.o: in function `tc358768_bridge_pre_enable': tc358768.c:(.text+0xbe3dae): undefined reference to `drm_display_mode_to_videomode' Make sure this is always enabled. Fixes: e5fb21678136

linux-next: build warnings after merge of the drm-misc tree

2023-12-03 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (htmldocs) produced these warnings: include/drm/drm_plane.h:60: warning: expecting prototype for struct solid_fill_property. Prototype was for struct drm_solid_fill instead include/drm/drm_plane.h:833: warning: Function parameter

Re: [PATCH v3 2/2] drm/msm/dpu: Add mutex lock in control vblank irq

2023-12-03 Thread Bjorn Andersson
On Fri, Dec 01, 2023 at 11:43:36AM -0800, Abhinav Kumar wrote: > > > On 12/1/2023 8:22 AM, Bjorn Andersson wrote: > > On Fri, Dec 01, 2023 at 10:34:50AM +0200, Dmitry Baryshkov wrote: > > > On Fri, 1 Dec 2023 at 05:47, Bjorn Andersson > > > wrote: > > > > On Thu, Nov 30, 2023 at 05:40:55PM

Re: [PATCH v2 09/10] drm/bridge: tc358775: Add support for tc358765

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:04, Tony Lindgren wrote: > > The tc358775 bridge is pin compatible with earlier tc358765 according to > the tc358774xbg_datasheet_en_20190118.pdf documentation. Compared to the > tc358765, the tc358775 supports a STBY GPIO and higher data rates. > > The tc358765 has a

Re: [PATCH v2 10/10] drm/bridge: tc358775: Configure hs_rate and lp_rate

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:06, Tony Lindgren wrote: > > The hs_rate and lp_rate may be used by the dsi host for timing > calculations. The tc358775 has a maximum bit rate of 1 Gbps/lane, > tc358765 has maximurate of 800 Mbps per lane. > > Signed-off-by: Tony Lindgren > --- >

Re: [PATCH v2 08/10] drm/bridge: tc358775: Enable pre_enable_prev_first flag

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:03, Tony Lindgren wrote: > > Set pre_enable_prev_first to ensure the previous bridge is enabled > first. > > Signed-off-by: Tony Lindgren > --- > drivers/gpu/drm/bridge/tc358775.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Dmitry Baryshkov -- With best

Re: [PATCH v2 06/10] drm/bridge: tc358775: Get bridge data lanes instead of the DSI host lanes

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:01, Tony Lindgren wrote: > > The current code assumes the data-lanes property is configured on the > DSI host side instead of the bridge side, and assumes DSI host endpoint 1. > > Let's standardize on what the other bridge drivers are doing and parse the > data-lanes

Re: [PATCH v2 05/10] drm/bridge: tc358775: make standby GPIO optional

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:01, Tony Lindgren wrote: > > From: Michael Walle > > The stby pin is optional. It is only needed for power-up and down > sequencing. It is not needed, if the power rails cannot by dynamically > enabled. > > Because the GPIO is not optional, remove the error message. > >

Re: [RFC PATCH 0/6] Supporting GMEM (generalized memory management) for external memory devices

2023-12-03 Thread Alistair Popple
Christian König writes: > Am 01.12.23 um 06:48 schrieb Zeng, Oak: >> [SNIP] >> Besides memory eviction/oversubscription, there are a few other pain points >> when I use hmm: >> >> 1) hmm doesn't support file-back memory, so it is hard to share > memory b/t process in a gpu environment. You

Re: [PATCH 2/2] drm/panel: simple: Add BOE BP082WX1-100 8.2" panel

2023-12-03 Thread Dmitry Baryshkov
On Sat, 2 Dec 2023 at 10:13, Tony Lindgren wrote: > > The BOE BP082WX1-100 is a 8.2" panel similar to the 10.1" panel > BP101WX1-100. Both panels use the same timings. > > Signed-off-by: Tony Lindgren Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/panel/panel-simple.c | 20

Re: [PATCH v3] drm/atomic-helpers: Invoke end_fb_access while owning plane state

2023-12-03 Thread Alyssa Ross
Thomas Zimmermann writes: > Invoke drm_plane_helper_funcs.end_fb_access before > drm_atomic_helper_commit_hw_done(). The latter function hands over > ownership of the plane state to the following commit, which might > free it. Releasing resources in end_fb_access then operates on undefined >

Re: Radeon regression in 6.6 kernel

2023-12-03 Thread Phillip Susi
Alex Deucher writes: > Phillip, > > Can you test this patch? I was not able to repro the issue on the > navi2x card I had handy, but I think it should fix it. I pulled -rc4 and it still had the problem. I applied this patch, and yes, it fixed it!

Re: [Freedreno] [PATCH] drm: improve the documentation of connector hpd ops

2023-12-03 Thread Dmitry Baryshkov
On Sun, 3 Dec 2023 at 16:24, Laurent Pinchart wrote: > > Hi Abhinav, > > Thank you for the patch (and thank to Dmitry for pinging me on IRC, this > patch got burried in my inbox). > > On Wed, Sep 20, 2023 at 01:13:58PM -0700, Abhinav Kumar wrote: > > While making the changes in [1], it was noted

Re: (subset) [PATCH RFC v7 00/10] Support for Solid Fill Planes

2023-12-03 Thread Dmitry Baryshkov
On Sun, 3 Dec 2023 at 14:15, Simon Ser wrote: > > On Saturday, December 2nd, 2023 at 22:41, Dmitry Baryshkov > wrote: > > > On Fri, 27 Oct 2023 15:32:50 -0700, Jessica Zhang wrote: > > > > > Some drivers support hardware that have optimizations for solid fill > > > planes. This series aims to

Re: [PATCH v3 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller

2023-12-03 Thread Krzysztof Kozlowski
On 30/11/2023 15:16, Dario Binacchi wrote: > From: Michael Trimarchi > > Add documentation for "ilitek,ili9805" panel. > > Signed-off-by: Michael Trimarchi > Signed-off-by: Dario Binacchi > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 03/10] dt-bindings: display: bridge: tc358775: Add support for tc358765

2023-12-03 Thread Krzysztof Kozlowski
On 02/12/2023 08:54, Tony Lindgren wrote: > The tc358765 is similar to tc358775 except for the stdby-gpios. In what aspect "except for the stby-gpios"? Does not have them? If so, disallow them for that device (:false). Best regards, Krzysztof

Re: [PATCH v2 02/10] dt-bindings: display: bridge: tc358775: Add data-lanes

2023-12-03 Thread Krzysztof Kozlowski
On 02/12/2023 08:54, Tony Lindgren wrote: > The device uses a clock lane, and 1 to 4 DSI data lanes. Let's add the > data-lanes property starting at 1 similar to what the other bridge > bindings are doing. > > Let's also drop the data-lanes properties in the example for the DSI host > controller

Re: [PATCH v2 01/10] dt-bindings: display: bridge: tc358775: make stby gpio and vdd supplies optional

2023-12-03 Thread Krzysztof Kozlowski
On 02/12/2023 08:54, Tony Lindgren wrote: > From: Michael Walle > > For a normal operation, the vdd supplies nor the stby GPIO is needed. > There are boards, where these voltages are statically enabled during > board power-up. This means supply is still required. > > The reset pin is required

Re: [PATCH v2 2/5] ARM: dts: rockchip: Add power-controller for RK3128

2023-12-03 Thread Heiko Stübner
Hi Alex, Am Sonntag, 3. Dezember 2023, 17:05:47 CET schrieb Alex Bee: > Am 02.12.23 um 18:46 schrieb Heiko Stübner: > > Am Samstag, 2. Dezember 2023, 17:36:15 CET schrieb Alex Bee: > >> Am 02.12.23 um 16:51 schrieb Heiko Stübner: > >>> Am Samstag, 2. Dezember 2023, 13:51:41 CET schrieb Alex Bee:

Re: [PATCH v2 2/5] ARM: dts: rockchip: Add power-controller for RK3128

2023-12-03 Thread Alex Bee
Hi Heiko, Am 02.12.23 um 18:46 schrieb Heiko Stübner: Hi Alex, Am Samstag, 2. Dezember 2023, 17:36:15 CET schrieb Alex Bee: Am 02.12.23 um 16:51 schrieb Heiko Stübner: Am Samstag, 2. Dezember 2023, 13:51:41 CET schrieb Alex Bee: Add power controller and qos nodes for RK3128 in order to use

Re: [PATCH] drm: improve the documentation of connector hpd ops

2023-12-03 Thread Laurent Pinchart
Hi Abhinav, Thank you for the patch (and thank to Dmitry for pinging me on IRC, this patch got burried in my inbox). On Wed, Sep 20, 2023 at 01:13:58PM -0700, Abhinav Kumar wrote: > While making the changes in [1], it was noted that the documentation > of the enable_hpd() and disable_hpd() does

[PATCH v3 7/9] drm/i915: Use memcpy_from_page() in gt/uc/intel_uc_fw.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 9/9] drm/i915: Use kmap_local_page() in gem/i915_gem_execbuffer.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the calls from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 2/9] drm/i915: Use memcpy_[from/to]_page() in gem/i915_gem_pyhs.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() + memcpy() to memcpy_[from/to]_page(), which use kmap_local_page() to build local mapping and then do memcpy(). The main difference between atomic

[PATCH v3 3/9] drm/i915: Use kmap_local_page() in gem/i915_gem_shmem.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1]. The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the preemption is disabled for !PREEMPT_RT case, otherwise it only disables

[PATCH v3 8/9] drm/i915: Use kmap_local_page() in i915_cmd_parser.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 5/9] drm/i915: Use kmap_local_page() in gem/selftests/i915_gem_coherency.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 6/9] drm/i915: Use kmap_local_page() in gem/selftests/i915_gem_context.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption. With

[PATCH v3 4/9] drm/i915: Use kmap_local_page() in gem/selftests/huge_pages.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 1/9] drm/i915: Use kmap_local_page() in gem/i915_gem_object.c

2023-12-03 Thread Zhao Liu
From: Zhao Liu The use of kmap_atomic() is being deprecated in favor of kmap_local_page()[1], and this patch converts the call from kmap_atomic() to kmap_local_page(). The main difference between atomic and local mappings is that local mappings doesn't disable page faults or preemption (the

[PATCH v3 0/9] drm/i915: Replace kmap_atomic() with kmap_local_page()

2023-12-03 Thread Zhao Liu
From: Zhao Liu Hi all, I refreshed this v3 by rebasing v2 [1] on the commit 968f35f4ab1c ("Merge tag 'v6.7-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/ cifs-2.6"). Based on the current code, I rechecked the substitutions in v2 and they still stand and are valid, so no code change in

Re: [RFC PATCH 2/6] mm/gmem: add arch-independent abstraction to track address mapping status

2023-12-03 Thread Pedro Falcato
On Fri, Dec 1, 2023 at 9:23 AM David Hildenbrand wrote: > > On 28.11.23 13:50, Weixi Zhu wrote: > > This patch adds an abstraction layer, struct vm_object, that maintains > > per-process virtual-to-physical mapping status stored in struct gm_mapping. > > For example, a virtual page may be mapped

Re: [Nouveau] Thinkpad P17 gen 2 kernel 6.4 and 6.6 lack of support for nvidia GA104GLM [RTX A5000 Mobile] and missing module firmware

2023-12-03 Thread Marc MERLIN
On Sat, Dec 02, 2023 at 06:08:01PM +, Timur Tabi wrote: > On Sat, 2023-12-02 at 09:13 -0800, Marc MERLIN wrote: > > [    3.184525] nouveau: unknown parameter 'modset' ignored > > For starters, you misspelled "modeset" That was a previous boot in dmesg where I failed to turn off the module,

Thinkpad P17 gen 2 kernel 6.4 and 6.6 lack of support for nvidia GA104GLM [RTX A5000 Mobile] and missing module firmware

2023-12-03 Thread Marc MERLIN
Howdy, I'm trying a Thnkpad P17 gen2, the last thinkpad that still comes in 17" 4K (newer ones are 16" only, so I'm looking for other worthwhile linux laptops with 17" or bigger LCD that also does 4K, the alienware I saw was 18" but not 4K) Unfortunately I seem to need the nouveau driver to turn

Re: (subset) [PATCH RFC v7 00/10] Support for Solid Fill Planes

2023-12-03 Thread Simon Ser
On Saturday, December 2nd, 2023 at 22:41, Dmitry Baryshkov wrote: > On Fri, 27 Oct 2023 15:32:50 -0700, Jessica Zhang wrote: > > > Some drivers support hardware that have optimizations for solid fill > > planes. This series aims to expose these capabilities to userspace as > > some compositors

[PATCH RESEND v2 2/3] drm/bridge: migrate bridge_chains to per-encoder file

2023-12-03 Thread Dmitry Baryshkov
Instead of having a single file with all bridge chains, list bridges under a corresponding per-encoder debugfs directory. While we are at it, also slightly improve the formatting of the bridge data: split a single line entry into multiple lines, include the symbol name of the bridge funcs and add

[PATCH RESEND v2 1/3] drm/encoder: register per-encoder debugfs dir

2023-12-03 Thread Dmitry Baryshkov
Each of connectors and CRTCs used by the DRM device provides debugfs directory, which is used by several standard debugfs files and can further be extended by the driver. Add such generic debugfs directories for encoder. Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov ---

[PATCH RESEND v2 3/3] drm/msm/dpu: move encoder status to standard encoder debugfs dir

2023-12-03 Thread Dmitry Baryshkov
Now as we have standard per-encoder debugfs directory, move DPU encoder status file to that directory. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 45 +++-- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git

[PATCH RESEND v2 0/3] drm: introduce per-encoder debugfs directory

2023-12-03 Thread Dmitry Baryshkov
Resending, patch 1 needs review from DRM core maintainers, but it got no attention since October. Each of connectors and CRTCs used by the DRM device provides debugfs directory, which is used by several standard debugfs files and can further be extended by the driver. Add such generic debugfs

[PATCH RESEND 5/6] soc: qcom: pmic-glink: switch to DRM_AUX_HPD_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Use the freshly defined DRM_AUX_HPD_BRIDGE instead of open-coding the same functionality for the DRM bridge chain termination. Reviewed-by: Bjorn Andersson Acked-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/Kconfig | 1 +

[PATCH RESEND 6/6] usb: typec: qcom-pmic-typec: switch to DRM_AUX_HPD_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Use the freshly defined DRM_AUX_HPD_BRIDGE instead of open-coding the same functionality for the DRM bridge chain termination. Acked-by: Bryan O'Donoghue Signed-off-by: Dmitry Baryshkov --- drivers/usb/typec/tcpm/Kconfig| 1 + drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 41

[PATCH RESEND 4/6] drm/bridge: implement generic DP HPD bridge

2023-12-03 Thread Dmitry Baryshkov
Several USB-C controllers implement a pretty simple DRM bridge which implements just the HPD notification operations. Add special helper for creating such simple bridges. Acked-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/Kconfig | 8 ++

[PATCH RESEND 2/6] phy: qcom: qmp-combo: switch to DRM_AUX_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Switch to using the new DRM_AUX_BRIDGE helper to create the transparent DRM bridge device instead of handcoding corresponding functionality. Acked-by: Vinod Koul Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/Kconfig | 2 +- drivers/phy/qualcomm/phy-qcom-qmp-combo.c |

[PATCH RESEND 3/6] usb: typec: nb7vpq904m: switch to DRM_AUX_BRIDGE

2023-12-03 Thread Dmitry Baryshkov
Switch to using the new DRM_AUX_BRIDGE helper to create the transparent DRM bridge device instead of handcoding corresponding functionality. Reviewed-by: Heikki Krogerus Acked-by: Greg Kroah-Hartman Signed-off-by: Dmitry Baryshkov --- drivers/usb/typec/mux/Kconfig | 2 +-

[PATCH RESEND 0/6] drm: simplify support for transparent DRM bridges

2023-12-03 Thread Dmitry Baryshkov
Greg, could you please ack the last patch to be merged through the drm-misc tree? You have acked patch 3, but since that time I've added patches 4-6. Supporting DP/USB-C can result in a chain of several transparent bridges (PHY, redrivers, mux, etc). All attempts to implement DP support in a

[PATCH RESEND 1/6] drm/bridge: add transparent bridge helper

2023-12-03 Thread Dmitry Baryshkov
Define a helper for creating simple transparent bridges which serve the only purpose of linking devices into the bridge chain up to the last bridge representing the connector. This is especially useful for DP/USB-C bridge chains, which can span across several devices, but do not require any

Re: [PATCH v2 4/7] drm/msm/gem: Split out submit_unpin_objects() helper

2023-12-03 Thread Dmitry Baryshkov
On 21/11/2023 02:38, Rob Clark wrote: From: Rob Clark Untangle unpinning from unlock/unref loop. The unpin only happens in error paths so it is easier to decouple from the normal unlock path. Since we never have an intermediate state where a subset of buffers are pinned (ie. we never bail

Re: [PATCH v2 5/7] drm/msm/gem: Cleanup submit_cleanup_bo()

2023-12-03 Thread Dmitry Baryshkov
On 21/11/2023 02:38, Rob Clark wrote: From: Rob Clark Now that it only handles unlock duty, drop the superfluous arg and rename it. Signed-off-by: Rob Clark Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_gem_submit.c | 15 +-- 1 file changed, 5 insertions(+),

Re: [PATCH v2 1/7] drm/msm/gem: Remove "valid" tracking

2023-12-03 Thread Dmitry Baryshkov
On 21/11/2023 02:38, Rob Clark wrote: From: Rob Clark This was a small optimization for pre-soft-pin userspace. But mesa switched to soft-pin nearly 5yrs ago. So lets drop the optimization and simplify the code. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem.h| 2 --

Re: [PATCH] drm/msm/dpu: Correct UBWC settings for sc8280xp

2023-12-03 Thread Dmitry Baryshkov
On Thu, 30 Nov 2023 11:21:18 -0800, Rob Clark wrote: > The UBWC settings need to match between the display and GPU. When we > updated the GPU settings, we forgot to make the corresponding update on > the display side. > > Applied, thanks! [1/1] drm/msm/dpu: Correct UBWC settings for

Re: [PATCH v9 0/7] incorporate pm runtime framework and eDP clean up

2023-12-03 Thread Dmitry Baryshkov
On Fri, 01 Dec 2023 15:19:42 -0800, Kuogee Hsieh wrote: > The purpose of this patch series is to incorporate pm runtime framework > into MSM eDP/DP driver so that eDP panel can be detected by DRM eDP panel > driver during system probe time. During incorporating procedure, original > customized

Re: [PATCH] drm/msm/dpu: enable smartdma on sm8350

2023-12-03 Thread Dmitry Baryshkov
On Fri, 08 Sep 2023 12:33:13 -0700, Abhinav Kumar wrote: > To support high resolutions on sm8350, enable smartdma > in its catalog. > > Applied, thanks! [1/1] drm/msm/dpu: enable smartdma on sm8350 https://gitlab.freedesktop.org/lumag/msm/-/commit/921e32bf6c0c Best regards, -- Dmitry

Re: [PATCH v2 1/2] drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits

2023-12-03 Thread Dmitry Baryshkov
On Mon, 11 Sep 2023 15:16:26 -0700, Abhinav Kumar wrote: > Currently, dpu_plane_atomic_check() does not check whether the > plane can process the image without exceeding the per chipset > limits for MDP clock. This leads to underflow issues because the > SSPP is not able to complete the

Re: [PATCH] dt-bindings: display/msm: qcom, sm8250-mdss: add DisplayPort controller node

2023-12-03 Thread Dmitry Baryshkov
On Tue, 07 Nov 2023 11:36:00 +0100, Krzysztof Kozlowski wrote: > Document the DisplayPort controller node in MDSS binding, already used > in DTS: > > sm8250-xiaomi-elish-boe.dtb: display-subsystem@ae0: Unevaluated > properties are not allowed ('displayport-controller@ae9' was

Re: [PATCH] drm/msm/mdp4: flush vblank event on disable

2023-12-03 Thread Dmitry Baryshkov
On Tue, 28 Nov 2023 00:54:01 +0300, Dmitry Baryshkov wrote: > Flush queued events when disabling the crtc. This avoids timeouts when > we come back and wait for dependencies (like the previous frame's > flip_done). > > Applied, thanks! [1/1] drm/msm/mdp4: flush vblank event on disable

Re: [PATCH] drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalog

2023-12-03 Thread Dmitry Baryshkov
On Thu, 30 Nov 2023 16:35:01 -0800, Bjorn Andersson wrote: > Similar to SC8280XP, the misconfigured SAFE logic causes rather > significant delays in __arm_smmu_tlb_sync(), resulting in poor > performance for things such as USB. > > Introduce appropriate SAFE values for SC8180X to correct this.

Re: [PATCH v3] drm/msm/dpu: Capture dpu snapshot when frame_done_timer timeouts

2023-12-03 Thread Dmitry Baryshkov
On Thu, 30 Nov 2023 14:47:37 -0800, Paloma Arellano wrote: > Trigger a devcoredump to dump dpu registers and capture the drm atomic > state when the frame_done_timer timeouts. > > v2: Optimize the format in which frame_done_timeout_cnt is incremented > v3: Describe parameter

Re: [PATCH v2 0/2] DSIPHY RPM

2023-12-03 Thread Dmitry Baryshkov
On Tue, 20 Jun 2023 13:43:19 +0200, Konrad Dybcio wrote: > Some recent SoCs use power rails that we model as GENPDs to power the > DSIPHY. This series attempts to make such configurations suspendable. > > Tested on SM6375. > > Applied, thanks! [1/2] drm/msm/dsi: Use

Re: [PATCH] drm/msm/dpu: enable SmartDMA on SM8450

2023-12-03 Thread Dmitry Baryshkov
On Mon, 09 Oct 2023 19:56:27 +0300, Dmitry Baryshkov wrote: > Enable the SmartDMA / multirect support on the SM8450 platform to > support higher resoltion modes. > > Applied, thanks! [1/1] drm/msm/dpu: enable SmartDMA on SM8450

Re: [PATCH v3 00/12] RB1/QCM2290 features

2023-12-03 Thread Dmitry Baryshkov
On Wed, 29 Nov 2023 15:43:57 +0100, Konrad Dybcio wrote: > This series brings: > - interconnect plumbing > - display setup > > for QCM2290/QRB2210 and > > - CAN bus controller > - HDMI display > - wifi fw variant name > > [...] Applied, thanks! [01/12] dt-bindings: display: msm:

Re: [PATCH] dt-bindings: display/msm: qcom, sm8150-mdss: correct DSI PHY compatible

2023-12-03 Thread Dmitry Baryshkov
On Sat, 11 Nov 2023 15:20:17 +0100, Krzysztof Kozlowski wrote: > Qualcomm SM8150 MDSS comes with a bit different 7nm DSI PHY with its own > compatible. DTS already use it: > > sa8155p-adp.dtb: display-subsystem@ae0: phy@ae94400:compatible:0: > 'qcom,dsi-phy-7nm' was expected > >

Re: [PATCH] drm/msm/dp: cleanup debugfs handling

2023-12-03 Thread Dmitry Baryshkov
On Thu, 19 Oct 2023 13:44:19 +0300, Dmitry Baryshkov wrote: > Currently there are two subdirs for DP debugfs files, e.g. DP-1, created > by the drm core for the connector, and the msm_dp-DP-1, created by the > DP driver itself. Merge those two, so that there are no extraneous > connector-related

Re: [PATCH 00/17] drm/msm/mdp[45]: use managed memory allocations

2023-12-03 Thread Dmitry Baryshkov
On Sat, 08 Jul 2023 04:03:50 +0300, Dmitry Baryshkov wrote: > Follow the DPU patchset ([1]) and use devm_ and drmm_ functions to > allocate long-living data structures in mdp4 and mdp5 drivers. > > [1] https://patchwork.freedesktop.org/series/120366/ > > Dmitry Baryshkov (17): > drm/msm: add

Re: [PATCH] drm/msm/a6xx: add QMP dependency

2023-12-03 Thread Dmitry Baryshkov
On Mon, 16 Oct 2023 22:04:03 +0200, Arnd Bergmann wrote: > When QMP is in a loadable module, the A6xx GPU driver fails to link > as built-in: > > x86_64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gmu.o: in function > `a6xx_gmu_resume': > a6xx_gmu.c:(.text+0xd62): undefined reference to

Re: [PATCH 1/2] dt-bindings: display: simple: Add boe,bp082wx1-100 8.2" panel

2023-12-03 Thread Conor Dooley
On Sat, Dec 02, 2023 at 10:11:52AM +0200, Tony Lindgren wrote: > This panel is found on Motorola mapphone tablets mz607 to mz609. Acked-by: Conor Dooley Cheers, Conor. > > Signed-off-by: Tony Lindgren > --- > .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ > 1 file

Re: [PATCH] driver: gpu: Fix warning directly dereferencing a rcu pointer

2023-12-03 Thread Abhinav Singh
On 11/30/23 05:22, Danilo Krummrich wrote: Hi Abhinav, Thanks for sending this follow-up patch. On 11/26/23 15:57, Abhinav Singh wrote: Fix a sparse warning with this message "warning:dereference of noderef expression". In this context it means we are dereferencing a __rcu tagged pointer