[PATCH] dma-buf: fix dma_buf_export init order v2

2022-12-08 Thread Christian König
The init order and resulting error handling in dma_buf_export was pretty messy. Subordinate objects like the file and the sysfs kernel objects were initializing and wiring itself up with the object in the wrong order resulting not only in complicating and partially incorrect error handling, but al

[PATCH] drm/bridge: anx7625: keep last configure timing

2022-12-08 Thread Xin Ji
Sometimes kernel may resume back quickly after suspend, and DRM not call .mode_set() to re-config display timing before calling .atomic_enable(), bridge driver with this patch to keep last configure timing. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 - 1 file changed

Re: [PATCH v5 00/12] drm/msm: Add SC8280XP support

2022-12-08 Thread Steev Klimaszewski
On Wed, Dec 7, 2022 at 4:00 PM Bjorn Andersson wrote: > > This introduces support for the SC8280XP platform in the MDSS, DPU and > DP driver. It reworks the HDP handling in the DP driver to support > external HPD sources - such as the dp-connector, or USB Type-C altmode. > > It then introduces the

Re: [git pull] drm fixes for 6.1 final

2022-12-08 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Dec 2022 10:51:00 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-12-09 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0d1409e4ff08aa4a9a254d3f723410db32aa7552 Thank you! -- Deet-doot-dot, I am a bot. https://ko

[git pull] drm fixes for 6.1 final

2022-12-08 Thread Dave Airlie
Hi Linus, Last set of fixes for final, scattered bunch of fixes, two amdgpu, one vmwgfx, and some misc others. Dave. drm-fixes-2022-12-09: drm fixes for 6.1-rc9 amdgpu: - S0ix fix - DCN 3.2 array out of bounds fix shmem: - Fixes to shmem-helper error paths. bridge: - Fix polarity bug in bridg

Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Dmitry Baryshkov
On 09/12/2022 02:22, Kuogee Hsieh wrote: On 12/8/2022 4:11 PM, Dmitry Baryshkov wrote: On 09/12/2022 01:38, Kuogee Hsieh wrote: On 12/8/2022 3:33 PM, Dmitry Baryshkov wrote: On 09/12/2022 00:36, Kuogee Hsieh wrote: Add both data-lanes and link-frequencies property into endpoint Changes in

Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Kuogee Hsieh
On 12/8/2022 4:11 PM, Dmitry Baryshkov wrote: On 09/12/2022 01:38, Kuogee Hsieh wrote: On 12/8/2022 3:33 PM, Dmitry Baryshkov wrote: On 09/12/2022 00:36, Kuogee Hsieh wrote: Add both data-lanes and link-frequencies property into endpoint Changes in v7: -- split yaml out of dtsi patch -- li

Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Dmitry Baryshkov
On 09/12/2022 01:38, Kuogee Hsieh wrote: On 12/8/2022 3:33 PM, Dmitry Baryshkov wrote: On 09/12/2022 00:36, Kuogee Hsieh wrote: Add both data-lanes and link-frequencies property into endpoint Changes in v7: -- split yaml out of dtsi patch -- link-frequencies from link rate to symbol rate -- d

Re: [PATCH] dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY

2022-12-08 Thread Dmitry Baryshkov
On Wed, 30 Nov 2022 at 15:58, Konrad Dybcio wrote: > > On some SoCs (hello SM6115) vcca-supply is not wired to any smd-rpm > or rpmh regulator, but instead powered by the VDD_MX line, which is > voted for in the DSI ctrl node. > > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bin

Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Kuogee Hsieh
On 12/8/2022 3:33 PM, Dmitry Baryshkov wrote: On 09/12/2022 00:36, Kuogee Hsieh wrote: Add both data-lanes and link-frequencies property into endpoint Changes in v7: -- split yaml out of dtsi patch -- link-frequencies from link rate to symbol rate -- deprecation of old data-lanes property Ch

Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Dmitry Baryshkov
On 09/12/2022 00:36, Kuogee Hsieh wrote: Add both data-lanes and link-frequencies property into endpoint Changes in v7: -- split yaml out of dtsi patch -- link-frequencies from link rate to symbol rate -- deprecation of old data-lanes property Changes in v8: -- correct Bjorn mail address to ker

Re: [PATCH v5 03/12] drm/msm: Introduce SC8280XP MDSS

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson Add compatible for the SC8280XP Mobile Display Subsystem and initialization for version 8.0.0. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov Reviewed-by: Kuogee Hsieh --- C

Re: [PATCH v5 02/12] drm/msm/dpu: Introduce SC8280XP

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson The Qualcomm SC8280XP platform contains DPU version 8.0.0, has 9 interfaces, 2 DSI controllers and 4 DisplayPort controllers. Extend the necessary definitions and describe the DPU in the SC8280XP. Signed-off-by: Bjorn Anderss

Re: [PATCH v11 4/5] drm/msm/dp: parser link-frequencies as property of dp_out endpoint

2022-12-08 Thread Dmitry Baryshkov
On 09/12/2022 00:36, Kuogee Hsieh wrote: Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint. Changes in v6: -- second patch after split parser patch into two patches Changes in v7: -- without checking cnt against DP_MAX_NUM_DP_LANE

Re: [PATCH v5 09/12] drm/msm/dp: Implement hpd_notify()

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson The DisplayPort controller's hot-plug mechanism is based on pinmuxing a physical signal on a GPIO pin into the controller. This is not always possible, either because there aren't dedicated GPIOs available or because the hot-p

Re: [PATCH v5 04/12] dt-bindings: msm/dp: Add SDM845 and SC8280XP compatibles

2022-12-08 Thread Dmitry Baryshkov
On 08/12/2022 00:00, Bjorn Andersson wrote: From: Bjorn Andersson Add compatibles for the DisplayPort and Embedded DisplayPort blocks in Qualcomm SDM845 and SC8280XP platforms. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Acked-by: Krzysztof Kozlowski --- Changes since v4:

Re: [PATCH v5 08/12] drm/msm/dp: Rely on hpd_enable/disable callbacks

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson The DisplayPort controller's internal HPD interrupt handling is used for cases where the HPD signal is connected to a GPIO which is pinmuxed into the DisplayPort controller. In other configurations the HPD notification might b

Re: [PATCH v5 07/12] drm/msm/dp: Add SDM845 DisplayPort instance

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson The Qualcomm SDM845 platform has a single DisplayPort controller, with the same design as SC7180, so add support for this by reusing the SC7180 definition. Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov Signed

Re: [PATCH v5 06/12] drm/msm/dp: Add DP and EDP compatibles for SC8280XP

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson The SC8280XP platform has four DisplayPort controllers, per MDSS instance, all with widebus support. The first two are defined to be DisplayPort only, while the latter pair (of each instance) can be either DisplayPort or Embe

Re: [PATCH v5 05/12] drm/msm/dp: Stop using DP id as index in desc

2022-12-08 Thread Kuogee Hsieh
On 12/7/2022 2:00 PM, Bjorn Andersson wrote: From: Bjorn Andersson In the SC8280XP platform there are two identical MDSS instances, each with the same set of DisplayPort instances, at different addresses. By not relying on the index to define the instance id it's possible to describe them bo

[PATCH v11 5/5] drm/msm/dp: add support of max dp link rate

2022-12-08 Thread Kuogee Hsieh
By default, HBR2 (5.4G) is the max link link be supported. This patch uses the actual limit specified by DT and removes the artificial limitation to 5.4 Gbps. Supporting HBR3 is a consequence of that. Changes in v2: -- add max link rate from dtsi Changes in v3: -- parser max_data_lanes and max_dp

[PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property

2022-12-08 Thread Kuogee Hsieh
Add both data-lanes and link-frequencies property into endpoint Changes in v7: -- split yaml out of dtsi patch -- link-frequencies from link rate to symbol rate -- deprecation of old data-lanes property Changes in v8: -- correct Bjorn mail address to kernel.org Changes in v10: -- add menu item t

[PATCH v11 3/5] drm/msm/dp: parser data-lanes as property of dp_out endpoint

2022-12-08 Thread Kuogee Hsieh
Add capability to parser data-lanes as property of dp_out endpoint. Also retain the original capability to parser data-lanes as property of mdss_dp node to handle legacy case. Changes in v6: -- first patch after split parser patch into two Changes in v7: -- check "data-lanes" from endpoint first

[PATCH v11 4/5] drm/msm/dp: parser link-frequencies as property of dp_out endpoint

2022-12-08 Thread Kuogee Hsieh
Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint. Changes in v6: -- second patch after split parser patch into two patches Changes in v7: -- without checking cnt against DP_MAX_NUM_DP_LANES to retrieve link rate Changes in v9: --

[PATCH v11 1/5] arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint

2022-12-08 Thread Kuogee Hsieh
Move data-lanes property from mdss_dp node to dp_out endpoint. Also add link-frequencies property into dp_out endpoint as well. The last frequency specified at link-frequencies will be the max link rate supported by DP. Changes in v5: -- revert changes at sc7180.dtsi and sc7280.dtsi -- add &dp_out

[PATCH v11 0/5] Add data-lanes and link-frequencies to dp_out endpoint

2022-12-08 Thread Kuogee Hsieh
Add DP both data-lanes and link-frequencies property to dp_out endpoint and support functions to DP driver. Kuogee Hsieh (5): arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint dt-bindings: msm/dp: add data-lanes and link-frequencies property drm/msm/dp: parser da

Re: [PATCH v7 4/6] clk: qcom: gpucc-sc7280: Add cx collapse reset support

2022-12-08 Thread Bjorn Andersson
On Thu, Dec 08, 2022 at 08:54:39PM +0530, Akhil P Oommen wrote: > On 12/7/2022 9:16 PM, Ulf Hansson wrote: > > On Wed, 5 Oct 2022 at 11:08, Akhil P Oommen > > wrote: > >> Allow a consumer driver to poll for cx gdsc collapse through Reset > >> framework. > > Would you mind extending this commit me

Re: [PATCH v7 0/6] clk/qcom: Support gdsc collapse polling using 'reset' interface

2022-12-08 Thread Bjorn Andersson
On Thu, Dec 08, 2022 at 02:40:55PM +0100, Ulf Hansson wrote: > On Wed, 7 Dec 2022 at 17:55, Bjorn Andersson wrote: > > > > On Wed, Dec 07, 2022 at 05:00:51PM +0100, Ulf Hansson wrote: > > > On Thu, 1 Dec 2022 at 23:57, Bjorn Andersson wrote: > > > > > > > > On Wed, Oct 05, 2022 at 02:36:58PM +053

Re: [PATCH v1] drm/bridge: lt8912b: Add hot plug detection

2022-12-08 Thread Robert Foss
On Mon, 28 Nov 2022 12:23:20 +0100, Francesco Dolcini wrote: > From: Stefan Eichenberger > > Enable hot plug detection when it is available on the HDMI port. > Without this connecting to a different monitor with incompatible timing > before the 10 seconds poll period will lead to a broken display

Re: [PATCH v12 1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915

2022-12-08 Thread Ceraolo Spurio, Daniele
On 12/8/2022 10:05 AM, Alan Previn wrote: Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only

Re: [PATCH] drm/display: Include missing DPCD definitions from DP2.0 spec

2022-12-08 Thread Alex Deucher
+ dri-devel On Thu, Dec 8, 2022 at 2:25 PM Sung Joon Kim wrote: > > The missing DPCD defintions from DP2.0 spec is as follows: > > DOWNSPREAD_CTRL (107h): > ADAPTIVE_SYNC_SDP_EN (bit 6) > For sink devices that support Adaptive-Sync operation > and Panel Rep

[PULL] drm-misc-fixes

2022-12-08 Thread Maarten Lankhorst
Hey Dave, drm-misc-fixes for v6.1 final. A bit late, hopefully just in time. drm-misc-fixes-2022-12-08: drm-misc-fixes for v6.1 final?: - Fix polarity bug in bridge/ti-sn65dsi86. - Prefer 8-bit RGB fallback before any YUV mode in dw-hdmi, since some panels lie about YUV support. - Fixes t

Re: [PATCH 5/6] drm/i915: Extract VESA DSC bpp alignment to separate function

2022-12-08 Thread Navare, Manasi
On Wed, Nov 23, 2022 at 12:05:51PM +0200, Stanislav Lisovskiy wrote: > We might to use that function separately from intel_dp_dsc_compute_config > for DP DSC over MST case, because allocating bandwidth in that > case can be a bit more tricky. So in order to avoid code copy-pasta > lets extract this

[PATCH v12 1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915

2022-12-08 Thread Alan Previn
Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only one of the tiles is used for control events pe

Re: [PATCH] drm/amdgpu: Retry DDC probing on DVI on failure if we got an HPD interrupt

2022-12-08 Thread Alex Deucher
On Wed, Dec 7, 2022 at 3:09 AM xurui wrote: > > HPD signals on DVI ports can be fired off before the pins required for > DDC probing actually make contact, due to the pins for HPD making > contact first. This results in a HPD signal being asserted but DDC > probing failing, resulting in hotpluggin

Re: [Intel-gfx] [PATCH v11 1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915

2022-12-08 Thread Teres Alexis, Alan Previn
On Thu, 2022-12-08 at 09:29 +, Tvrtko Ursulin wrote: > Just some small comments and questions below. > > On 08/12/2022 05:01, Alan Previn wrote: > > Starting with MTL, there will be two GT-tiles, a render and media > > Alan:[snip] > IMO this looks great now - pretty self-documenting, all th

Re: [PATCH 019/606] drm/bridge: chrontel-ch7033: Convert to i2c's .probe_new()

2022-12-08 Thread Robert Foss
On Wed, 7 Dec 2022 at 15:15, Uwe Kleine-König wrote: > > Hello dear drm/bridge maintainers, > > On Fri, Nov 18, 2022 at 11:35:53PM +0100, Uwe Kleine-König wrote: > > From: Uwe Kleine-König > > > > The probe function doesn't make use of the i2c_device_id * parameter so it > > can be trivially conv

Re: [PATCH linux-next v2 00/10] drm: Remove some obsolete drivers(tdfx, mga, i810, savage, r128, sis, via)

2022-12-08 Thread Emil Velikov
On Sat, 3 Dec 2022 at 09:45, Cai Huoqing wrote: > > Commit 399516ab0fee ("MAINTAINERS: Add a bunch of legacy (UMS) DRM drivers") > marked these drivers obsolete 7 years ago. As the author of said patch - calling them obsolete was a bad decision on my part. They are effectively orphan with no main

Re: [PATCH v5 1/4] i915: Move list_count() to list.h as list_count_nodes() for broader use

2022-12-08 Thread Andy Shevchenko
On Thu, Dec 08, 2022 at 02:14:54PM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 08, 2022 at 02:54:45PM +0200, Andy Shevchenko wrote: > > On Wed, Nov 30, 2022 at 03:48:35PM +0200, Andy Shevchenko wrote: > > > Some of the existing users, and definitely will be new ones, want to > > > count existing

Re: [PATCH] drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> "dram_clk_change"

2022-12-08 Thread Hamza Mahfooz
On 12/8/22 07:18, Colin Ian King wrote: There is a spelling mistake in the struct field dram_clk_chanage. Fix it. Signed-off-by: Colin Ian King Applied. Thanks! --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 8 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_seque

Re: [PATCH v7 0/6] clk/qcom: Support gdsc collapse polling using 'reset' interface

2022-12-08 Thread Akhil P Oommen
On 12/7/2022 9:30 PM, Ulf Hansson wrote: > On Thu, 1 Dec 2022 at 23:57, Bjorn Andersson wrote: >> On Wed, Oct 05, 2022 at 02:36:58PM +0530, Akhil P Oommen wrote: >> @Ulf, Akhil has a power-domain for a piece of hardware which may be >> voted active by multiple different subsystems (co-processors/e

Re: [Freedreno] [PATCH v7 3/6] clk: qcom: gdsc: Add a reset op to poll gdsc collapse

2022-12-08 Thread Akhil P Oommen
On 12/8/2022 8:32 PM, Akhil P Oommen wrote: > On 12/7/2022 9:15 PM, Ulf Hansson wrote: >> On Wed, 5 Oct 2022 at 11:08, Akhil P Oommen wrote: >>> Add a reset op compatible function to poll for gdsc collapse. This is >>> required because: >>> 1. We don't wait for it to turn OFF at hardware for VOT

Re: [PATCH v2.5] drm/msm/dsi: switch to DRM_PANEL_BRIDGE #forregzbot

2022-12-08 Thread Thorsten Leemhuis
On 13.11.22 11:23, Thorsten Leemhuis wrote: > [Note: this mail is primarily send for documentation purposes and/or for > regzbot, my Linux kernel regression tracking bot. That's why I removed > most or all folks from the list of recipients, but left any that looked > like a mailing lists. These

Re: [PATCH v7 4/6] clk: qcom: gpucc-sc7280: Add cx collapse reset support

2022-12-08 Thread Akhil P Oommen
On 12/7/2022 9:16 PM, Ulf Hansson wrote: > On Wed, 5 Oct 2022 at 11:08, Akhil P Oommen wrote: >> Allow a consumer driver to poll for cx gdsc collapse through Reset >> framework. > Would you mind extending this commit message, to allow us to better > understand what part is really the consumer part

Re: [PATCH v7 3/6] clk: qcom: gdsc: Add a reset op to poll gdsc collapse

2022-12-08 Thread Akhil P Oommen
On 12/7/2022 9:15 PM, Ulf Hansson wrote: > On Wed, 5 Oct 2022 at 11:08, Akhil P Oommen wrote: >> Add a reset op compatible function to poll for gdsc collapse. This is >> required because: >> 1. We don't wait for it to turn OFF at hardware for VOTABLE GDSCs. >> 2. There is no way for client dri

Re: [PATCH v7 0/6] clk/qcom: Support gdsc collapse polling using 'reset' interface

2022-12-08 Thread Akhil P Oommen
On 12/8/2022 7:10 PM, Ulf Hansson wrote: > On Wed, 7 Dec 2022 at 17:55, Bjorn Andersson wrote: >> On Wed, Dec 07, 2022 at 05:00:51PM +0100, Ulf Hansson wrote: >>> On Thu, 1 Dec 2022 at 23:57, Bjorn Andersson wrote: On Wed, Oct 05, 2022 at 02:36:58PM +0530, Akhil P Oommen wrote: @Ulf, Ak

[PATCH v3 1/1] dt-bindings: lcdif: Fix constraints for imx8mp

2022-12-08 Thread Alexander Stein
i.MX8MP uses 3 clocks, so soften the restrictions for clocks & clock-names. This SoC requires a power-domain for this peripheral to use. Add it as a required property. Fixes: f5419cb0743f ("dt-bindings: lcdif: Add compatible for i.MX8MP") Signed-off-by: Alexander Stein --- Changes in v3: * Remove

Re: [Intel-gfx] [PATCH v8 22/22] drm/i915/vm_bind: Support capture of persistent mappings

2022-12-08 Thread Niranjana Vishwanathapura
On Tue, Dec 06, 2022 at 05:40:54PM +, Matthew Auld wrote: On 01/12/2022 18:43, Niranjana Vishwanathapura wrote: On Thu, Dec 01, 2022 at 07:27:31AM -0800, Niranjana Vishwanathapura wrote: On Thu, Dec 01, 2022 at 10:49:15AM +, Matthew Auld wrote: On 29/11/2022 07:26, Niranjana Vishwanath

Re: [PATCH v7 0/6] clk/qcom: Support gdsc collapse polling using 'reset' interface

2022-12-08 Thread Ulf Hansson
On Wed, 7 Dec 2022 at 17:55, Bjorn Andersson wrote: > > On Wed, Dec 07, 2022 at 05:00:51PM +0100, Ulf Hansson wrote: > > On Thu, 1 Dec 2022 at 23:57, Bjorn Andersson wrote: > > > > > > On Wed, Oct 05, 2022 at 02:36:58PM +0530, Akhil P Oommen wrote: > > > > > > > > > > @Ulf, Akhil has a power-doma

Re: [PATCH 1/2] dt-bindings: lcdif: Fix clock constraints for imx8mp

2022-12-08 Thread Marek Vasut
On 12/8/22 07:31, Alexander Stein wrote: Hello Marek, Am Mittwoch, 7. Dezember 2022, 16:59:50 CET schrieb Marek Vasut: On 12/7/22 16:13, Alexander Stein wrote: i.MX8MP uses 3 clocks, so soften the restrictions for clocks & clock-names. Fixes: f5419cb0743f ("dt-bindings: lcdif: Add compatible

Re: [PATCH v5 1/4] i915: Move list_count() to list.h as list_count_nodes() for broader use

2022-12-08 Thread Greg Kroah-Hartman
On Thu, Dec 08, 2022 at 02:54:45PM +0200, Andy Shevchenko wrote: > On Wed, Nov 30, 2022 at 03:48:35PM +0200, Andy Shevchenko wrote: > > Some of the existing users, and definitely will be new ones, want to > > count existing nodes in the list. Provide a generic API for that by > > moving code from i

Re: [PATCH v5 1/4] i915: Move list_count() to list.h as list_count_nodes() for broader use

2022-12-08 Thread Andy Shevchenko
On Wed, Nov 30, 2022 at 03:48:35PM +0200, Andy Shevchenko wrote: > Some of the existing users, and definitely will be new ones, want to > count existing nodes in the list. Provide a generic API for that by > moving code from i915 to list.h. Greg, I believe this one is ready to be taken. Or please

Re: [RESEND PATCH linux-next v2 00/10] drm: Remove some obsolete drivers(tdfx, mga, i810, savage, r128, sis, via)

2022-12-08 Thread Cai Huoqing
On 03 12月 22 18:22:51, Cai Huoqing wrote: > Commit 399516ab0fee ("MAINTAINERS: Add a bunch of legacy (UMS) DRM drivers") > marked these drivers obsolete 7 years ago. > And the mesa UMD of these drm drivers already in deprecated list > in the link: https://docs.mesa3d.org/systems.html > > 3dfx Glid

Re: [PATCH v8 06/14] drm: bridge: samsung-dsim: Handle proper DSI host initialization

2022-12-08 Thread Marek Szyprowski
On 08.12.2022 12:32, Jagan Teki wrote: > On Tue, Dec 6, 2022 at 2:32 PM Frieder Schrempf > wrote: >> On 05.12.22 16:37, Frieder Schrempf wrote: >>> Hi Dave, >>> >>> On 05.12.22 16:20, Dave Stevenson wrote: Hi Frieder On Mon, 5 Dec 2022 at 07:30, Frieder Schrempf wrote: > O

[PATCH] drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> "dram_clk_change"

2022-12-08 Thread Colin Ian King
There is a spelling mistake in the struct field dram_clk_chanage. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 8 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer_de

Re: [PATCH v3 2/6] drm: use new debugfs device-centered functions on DRM core files

2022-12-08 Thread Maxime Ripard
On Wed, Dec 07, 2022 at 10:23:21AM -0300, Maíra Canal wrote: > Replace the use of drm_debugfs_create_files() with the new > drm_debugfs_add_files() function in all DRM core files, centering the > debugfs files management on the drm_device instead of drm_minor. > > Signed-off-by: Maíra Canal Revie

Re: [PATCH v3 1/6] drm/debugfs: create device-centered debugfs functions

2022-12-08 Thread Maxime Ripard
On Wed, Dec 07, 2022 at 10:23:20AM -0300, Maíra Canal wrote: > Introduce the ability to track requests for the addition of DRM debugfs > files at any time and have them added all at once during > drm_dev_register(). > > Drivers can add DRM debugfs files to a device-managed list and, during > drm_d

Re: [PATCH v3 3/6] drm/vc4: use new debugfs device-centered functions

2022-12-08 Thread Maxime Ripard
On Wed, Dec 07, 2022 at 10:23:22AM -0300, Maíra Canal wrote: > Currently, vc4 has its own debugfs infrastructure that adds the debugfs > files on drm_dev_register(). With the introduction of the new debugfs, > functions, replace the vc4 debugfs structure with the DRM debugfs > device-centered funct

Re: [PATCH] drm: mali-dp: Add check for kzalloc

2022-12-08 Thread Liviu Dudau
Hi Jiasheng, I appreciate the effort you have put into this and I find nothing wrong with the intention of the patch. However, I don't intend to move base from being the first member of the malidp_mw_connector_state struct as it has other benefits in the code and we can use container_of() in imp

Re: [PATCH] drm/gud: Fix missing include

2022-12-08 Thread Noralf Trønnes
Den 08.12.2022 09.15, skrev Thomas Zimmermann: > Hi > > Am 07.12.22 um 20:51 schrieb Noralf Trønnes via B4 Submission Endpoint: >> From: Noralf Trønnes >> >> Add missing vmalloc.h include. >> >> Fixes: c17d048609bf ("drm/gud: Use the shadow plane helper") >> Reported-by: kernel test robot >>

Re: [PATCH v8 06/14] drm: bridge: samsung-dsim: Handle proper DSI host initialization

2022-12-08 Thread Jagan Teki
On Tue, Dec 6, 2022 at 2:32 PM Frieder Schrempf wrote: > > On 05.12.22 16:37, Frieder Schrempf wrote: > > Hi Dave, > > > > On 05.12.22 16:20, Dave Stevenson wrote: > >> Hi Frieder > >> > >> On Mon, 5 Dec 2022 at 07:30, Frieder Schrempf > >> wrote: > >>> > >>> On 02.12.22 15:55, Dave Stevenson wro

[PATCH v4 4/7] accel/ivpu: Add IPC driver and JSM messages

2022-12-08 Thread Jacek Lawrynowicz
The IPC driver is used to send and receive messages to/from firmware running on the VPU. The only supported IPC message format is Job Submission Model (JSM) defined in vpu_jsm_api.h header. Co-developed-by: Andrzej Kacprowski Signed-off-by: Andrzej Kacprowski Co-developed-by: Krystian Pradzynsk

[PATCH v4 7/7] accel/ivpu: Add PM support

2022-12-08 Thread Jacek Lawrynowicz
- Implement cold and warm firmware boot flows - Add hang recovery support - Add runtime power management support Co-developed-by: Krystian Pradzynski Signed-off-by: Krystian Pradzynski Signed-off-by: Jacek Lawrynowicz --- drivers/accel/ivpu/Makefile | 3 +- drivers/accel/ivpu/ivpu

[PATCH v4 5/7] accel/ivpu: Implement firmware parsing and booting

2022-12-08 Thread Jacek Lawrynowicz
Read, parse and boot VPU firmware image. Co-developed-by: Andrzej Kacprowski Signed-off-by: Andrzej Kacprowski Co-developed-by: Krystian Pradzynski Signed-off-by: Krystian Pradzynski Signed-off-by: Jacek Lawrynowicz --- drivers/accel/ivpu/Makefile | 1 + drivers/accel/ivpu/ivpu_drv.c

[PATCH v4 3/7] accel/ivpu: Add GEM buffer object management

2022-12-08 Thread Jacek Lawrynowicz
Adds four types of GEM-based BOs for the VPU: - shmem - userptr - internal - prime All types are implemented as struct ivpu_bo, based on struct drm_gem_object. VPU address is allocated when buffer is created except for imported prime buffers that allocate it in BO_INFO IOCTL due to missing

[PATCH v4 6/7] accel/ivpu: Add command buffer submission logic

2022-12-08 Thread Jacek Lawrynowicz
Each of the user contexts has two command queues, one for compute engine and one for the copy engine. Command queues are allocated and registered in the device when the first job (command buffer) is submitted from the user space to the VPU device. The userspace provides a list of GEM buffer object

[PATCH v4 1/7] accel/ivpu: Introduce a new DRM driver for Intel VPU

2022-12-08 Thread Jacek Lawrynowicz
DULE_LICENSE("GPL and additional rights"); +MODULE_VERSION(DRIVER_VERSION_STR); diff --git a/drivers/accel/ivpu/ivpu_drv.h b/drivers/accel/ivpu/ivpu_drv.h new file mode 100644 index ..4f859e7ac09e --- /dev/null +++ b/drivers/accel/ivpu/ivpu_drv.h @@ -0,0 +1,162 @@ +/* S

[PATCH v4 2/7] accel/ivpu: Add Intel VPU MMU support

2022-12-08 Thread Jacek Lawrynowicz
xa_destroy(&vdev->context_xa); diff --git a/drivers/accel/ivpu/ivpu_drv.h b/drivers/accel/ivpu/ivpu_drv.h index 4f859e7ac09e..6e8b88068fc9 100644 --- a/drivers/accel/ivpu/ivpu_drv.h +++ b/drivers/accel/ivpu/ivpu_drv.h @@ -15,6 +15,8 @@ #include #include +#include "ivpu_m

[PATCH v4 0/7] New DRM accel driver for Intel VPU

2022-12-08 Thread Jacek Lawrynowicz
Hi, This patchset contains a new Linux* Kernel Driver for Intel® VPUs. VPU stands for Versatile Processing Unit and it is an AI inference accelerator integrated with Intel non-server CPUs starting from 14th generation. VPU enables efficient execution of Deep Learning applications like object dete

Re: [PATCH] drm/vc4: Improve the KUnit documentation

2022-12-08 Thread Maíra Canal
On 12/8/22 06:47, Maxime Ripard wrote: > The command-line can be expressed using a code-block, and we were > missing which architectures were available. > > Suggested-by: Maíra Canal > Signed-off-by: Maxime Ripard > --- Reviewed-by: Maíra Canal Best Regards, - Maíra Canal > Documentation/gp

Re: [PATCH v2 1/1] dt-bindings: lcdif: Fix constraints for imx8mp

2022-12-08 Thread Krzysztof Kozlowski
On 08/12/2022 10:45, Alexander Stein wrote: > i.MX8MP uses 3 clocks, so soften the restrictions for clocks & clock-names. > This SoC requires a power-domain for this peripheral to use. Add it as > a required property. > > Fixes: f5419cb0743f ("dt-bindings: lcdif: Add compatible for i.MX8MP") > Sig

[PATCH] drm/vc4: Improve the KUnit documentation

2022-12-08 Thread Maxime Ripard
The command-line can be expressed using a code-block, and we were missing which architectures were available. Suggested-by: Maíra Canal Signed-off-by: Maxime Ripard --- Documentation/gpu/vc4.rst | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/gpu/vc4.rst

[PATCH v2 1/1] dt-bindings: lcdif: Fix constraints for imx8mp

2022-12-08 Thread Alexander Stein
i.MX8MP uses 3 clocks, so soften the restrictions for clocks & clock-names. This SoC requires a power-domain for this peripheral to use. Add it as a required property. Fixes: f5419cb0743f ("dt-bindings: lcdif: Add compatible for i.MX8MP") Signed-off-by: Alexander Stein --- Changes in v2: * Squash

Re: [Intel-gfx] [PATCH v11 1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915

2022-12-08 Thread Tvrtko Ursulin
Just some small comments and questions below. On 08/12/2022 05:01, Alan Previn wrote: Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any ti

Re: [PATCH v4 0/6] DSI host and peripheral initialisation ordering

2022-12-08 Thread Maxime Ripard
On Mon, 5 Dec 2022 17:33:22 +, Dave Stevenson wrote: > Changes from v3 > - Add patch to remove use of drm_bridge_chain from the MTK DP driver, copying > the > same pattern as Sam used for ps8640. > - Add comment for why we update the bridge pointer in > drm_atomic_bridge_chain_post_disable

Re: [PATCH v3 00/20] drm: Introduce Kunit Tests to VC4

2022-12-08 Thread Maxime Ripard
On Thu, 01 Dec 2022 16:11:31 +0100, Maxime Ripard wrote: > This series introduce Kunit tests to the vc4 KMS driver, but unlike what we > have been doing so far in KMS, it actually tests the atomic modesetting code. > > In order to do so, I've had to improve a fair bit on the Kunit helpers already

Re: [PATCH 2/2] dt-bindings: lcdif: Add optional power-domain

2022-12-08 Thread Krzysztof Kozlowski
On 08/12/2022 09:50, Alexander Stein wrote: > Hello Krzysztof, > > Am Donnerstag, 8. Dezember 2022, 09:25:31 CET schrieb Krzysztof Kozlowski: >> On 08/12/2022 06:59, Alexander Stein wrote: >>> Am Mittwoch, 7. Dezember 2022, 17:00:22 CET schrieb Marek Vasut: On 12/7/22 16:14, Alexander Stein w

Re: [PATCH 2/2] dt-bindings: lcdif: Add optional power-domain

2022-12-08 Thread Alexander Stein
Hello Krzysztof, Am Donnerstag, 8. Dezember 2022, 09:25:31 CET schrieb Krzysztof Kozlowski: > On 08/12/2022 06:59, Alexander Stein wrote: > > Am Mittwoch, 7. Dezember 2022, 17:00:22 CET schrieb Marek Vasut: > >> On 12/7/22 16:14, Alexander Stein wrote: > >>> i.MX8MP requires a power-domain for thi

[PULL] drm-misc-next-fixes

2022-12-08 Thread Maxime Ripard
Hi, Here's this week drm-misc-next-fixes PR All of those patches seems to have been applied to both drm-misc-next and drm-misc-next-fixes and were part of the final drm-misc-next PR for 6.2. So we shouldn't have any new patch per se, but it aligns all our branches and fixes this odd situation.

Re: [PATCH 2/2] dt-bindings: lcdif: Add optional power-domain

2022-12-08 Thread Krzysztof Kozlowski
On 08/12/2022 06:59, Alexander Stein wrote: > Am Mittwoch, 7. Dezember 2022, 17:00:22 CET schrieb Marek Vasut: >> On 12/7/22 16:14, Alexander Stein wrote: >>> i.MX8MP requires a power-domain for this peripheral to use. Add it as >>> an optional property. >>> >>> Signed-off-by: Alexander Stein >>>

Re: [PATCH] drm/gud: Fix missing include

2022-12-08 Thread Thomas Zimmermann
Hi Am 07.12.22 um 20:51 schrieb Noralf Trønnes via B4 Submission Endpoint: From: Noralf Trønnes Add missing vmalloc.h include. Fixes: c17d048609bf ("drm/gud: Use the shadow plane helper") Reported-by: kernel test robot Signed-off-by: Noralf Trønnes Reviewed-by: Thomas Zimmermann The mis