Re: [PATCH v14 4/9] drm/i915/dp: Add Read/Write support for Adaptive Sync SDP

2024-02-29 Thread Nautiyal, Ankit K
On 2/29/2024 10:09 PM, Mitul Golani wrote: Add the necessary structures and functions to handle reading and unpacking Adaptive Sync Secondary Data Packets. Also add support to write and pack AS SDP. --v2: - Correct use of REG_BIT and REG_GENMASK. [Jani] - Use as_sdp instead of async. [Jani] -

Re: [PATCH v5 06/13] drm/mediatek: Turn off the layers with zero width or height

2024-02-29 Thread 胡俊光

[PATCH v6 3/3] Revert "drm/i915: Wait for active retire before i915_active_fini()"

2024-02-29 Thread Janusz Krzysztofik
This reverts commit 7a2280e8dcd2f1f436db9631287c0b21cf6a92b0, obsoleted by "drm/i915/vma: Fix UAF on destroy against retire race". Signed-off-by: Janusz Krzysztofik Cc: Nirmoy Das --- drivers/gpu/drm/i915/i915_vma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_

[PATCH v6 2/3] drm/i915: Remove extra multi-gt pm-references

2024-02-29 Thread Janusz Krzysztofik
There was an attempt to fix an issue of illegal attempts to free a still active i915 VMA object when parking a GT believed to be idle, reported by CI on 2-GT Meteor Lake. As a solution, an extra wakeref for a Primary GT was acquired from i915_gem_do_execbuffer() -- see commit f56fe3e91787 ("drm/i9

[PATCH v6 1/3] drm/i915/vma: Fix UAF on destroy against retire race

2024-02-29 Thread Janusz Krzysztofik
Object debugging tools were sporadically reporting illegal attempts to free a still active i915 VMA object when parking a GT believed to be idle. [161.359441] ODEBUG: free active (active state 0) object: 88811643b958 object type: i915_active hint: __i915_vma_active+0x0/0x50 [i915] [161.360082

[PATCH v6 0/3] drm/i915: Fix VMA UAF on destroy against deactivate race

2024-02-29 Thread Janusz Krzysztofik
Object debugging tools were sporadically reporting illegal attempts to free a still active i915 VMA object when parking a GT believed to be idle. [161.359441] ODEBUG: free active (active state 0) object: 88811643b958 object type: i915_active hint: __i915_vma_active+0x0/0x50 [i915] [161.360082

Re: [PATCH v5 05/13] drm/mediatek: Set DRM mode configs accordingly

2024-02-29 Thread 胡俊光

Re: linux-next: build failure after merge of the kunit-next tree

2024-02-29 Thread David Gow
On Thu, 29 Feb 2024 at 23:07, Shuah Khan wrote: > > Hi Stephen, > > On 2/28/24 21:26, Stephen Rothwell wrote: > > Hi all, > > > > After merging the kunit-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > In file included from drivers/gpu/drm/tests/drm_buddy_te

Re: Making drm_gpuvm work across gpu devices

2024-02-29 Thread Christian König
Hi Thomas, Am 29.02.24 um 18:12 schrieb Thomas Hellström: Hi, Christian. On Thu, 2024-02-29 at 10:41 +0100, Christian König wrote: Am 28.02.24 um 20:51 schrieb Zeng, Oak: The mail wasn’t indent/preface correctly. Manually format it. *From:*Christian König *Sent:* Tuesday, February 27, 2024

Re: [PATCH v5 04/13] drm/mediatek: Fix errors when reporting rotation capability

2024-02-29 Thread 胡俊光

Re: [PATCH v2 0/9] drm: Switch from dev_err to dev_err_probe for missing DSI host error path

2024-02-29 Thread Laurent Pinchart
Hi Nícolas, On Thu, Feb 29, 2024 at 07:12:06PM -0500, Nícolas F. R. A. Prado wrote: > This series changes every occurence of the following pattern: > > dsi_host = of_find_mipi_dsi_host_by_node(dsi); > if (!dsi_host) { > dev_err(dev, "failed to find dsi host\n"); >

Re: [PATCH v2 9/9] drm/panel: truly-nt35597: Don't log an error when DSI host can't be found

2024-02-29 Thread Laurent Pinchart
Hi Nícolas, Thank you for the patch. On Thu, Feb 29, 2024 at 07:12:15PM -0500, Nícolas F. R. A. Prado wrote: > Given that failing to find a DSI host causes the driver to defer probe, > make use of dev_err_probe() to log the reason. This makes the defer > probe reason available and avoids alerting

Re: [PATCH v2 8/9] drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found

2024-02-29 Thread Laurent Pinchart
Hi Nicolas, Thank you for the patch. On Thu, Feb 29, 2024 at 07:12:14PM -0500, Nícolas F. R. A. Prado wrote: > Given that failing to find a DSI host causes the driver to defer probe, > make use of dev_err_probe() to log the reason. This makes the defer > probe reason available and avoids alerting

[PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2024-02-29 Thread Cong Yang
The current measured frame rate is 59.95Hz, which does not meet the requirements of touch-stylus and stylus cannot work normally. After adjustment, the actual measurement is 60.001Hz. Now this panel looks like it's only used by me on the MTK platform, so let's change this set of parameters. Fixes:

[git pull] drm fixes for 6.8-rc7

2024-02-29 Thread Dave Airlie
Hi Linus, Regular weekly fixes pull, I'll be travelling for a few days but I don't think it should interfere with anything apart from my responsiveness if things go wrong :-P. Bunch of fixes, xe, amdgpu, nouveau and tegra all have a few. Then drm/bridge including some drivers/soc fallout fixes. T

[PATCH v9 8/8] drm: atmel-hlcdc: add LCD controller layer definition for sam9x75

2024-02-29 Thread Manikandan Muralidharan
Add the LCD controller layer definition and descriptor structure for sam9x75 for the following layers: - Base Layer - Overlay1 Layer - Overlay2 Layer - High End Overlay Signed-off-by: Manikandan Muralidharan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 100 +++ 1 file chang

[PATCH v9 7/8] drm: atmel-hlcdc: add support for DSI output formats

2024-02-29 Thread Manikandan Muralidharan
Add support for the following DPI mode if the encoder type is DSI as per the XLCDC IP datasheet: - 16BPPCFG1 - 16BPPCFG2 - 16BPPCFG3 - 18BPPCFG1 - 18BPPCFG2 - 24BPP Signed-off-by: Manikandan Muralidharan [durai.manicka...@microchip.com: update output format using is_xlcdc flag] Signed-off-by: Dur

[PATCH v9 6/8] drm: atmel-hlcdc: add vertical and horizontal scaling support for XLCDC

2024-02-29 Thread Manikandan Muralidharan
Update the vertical and horizontal scaler registers of XLCDC IP with Bilinear and Bicubic co-efficients taps for Chroma and Luma componenets of the Pixel. Signed-off-by: Manikandan Muralidharan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 4 .../gpu/drm/atmel-hlcdc/atmel_hlcdc_plane

[PATCH v9 1/8] drm: atmel-hlcdc: add driver ops to differentiate HLCDC and XLCDC IP

2024-02-29 Thread Manikandan Muralidharan
Add LCD IP specific ops in driver data to differentiate HLCDC and XLCDC code within the atmel-hlcdc driver files. XLCDC in SAM9X7 has different sets of registers and additional configuration bits when compared to previous HLCDC IP. Read/write operation on the controller register and functionality i

[PATCH v9 5/8] drm: atmel-hlcdc: add DPI mode support for XLCDC

2024-02-29 Thread Manikandan Muralidharan
Add support for Display Pixel Interface (DPI) Compatible Mode support in atmel-hlcdc driver for XLCDC IP along with legacy pixel mapping. DPI mode BIT is configured in LCDC_CFG5 register. Signed-off-by: Manikandan Muralidharan [durai.manicka...@microchip.com: update DPI mode bit using is_xlcdc fl

[PATCH v9 4/8] drm: atmel_hlcdc: Add support for XLCDC using IP specific driver ops

2024-02-29 Thread Manikandan Muralidharan
Add XLCDC specific driver ops and is_xlcdc flag to separate the functionality and to access the controller registers. HEO scaling, window resampling, Alpha blending, YUV-to-RGB conversion in XLCDC is derived and handled using additional configuration bits and registers. Writing one to the Enable fi

[PATCH v9 2/8] drm: atmel-hlcdc: Define XLCDC specific registers

2024-02-29 Thread Manikandan Muralidharan
From: Durai Manickam KR The register address of the XLCDC IP used in SAM9X7 SoC family are different from the previous HLCDC. Defining those address space with valid macros. Signed-off-by: Durai Manickam KR [manikanda...@microchip.com: Remove unused macro definitions] Signed-off-by: Manikandan

[PATCH v9 3/8] drm: atmel_hlcdc: replace regmap_read with regmap_read_poll_timeout

2024-02-29 Thread Manikandan Muralidharan
Replace regmap_read with regmap_read_poll_timeout to neatly handle retries Signed-off-by: Manikandan Muralidharan --- .../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c| 44 +++ 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_cr

[PATCH v9 0/8] Add support for XLCDC to sam9x7 SoC family.

2024-02-29 Thread Manikandan Muralidharan
This patch series aims to add support for XLCDC IP of sam9x7 SoC family to the DRM subsystem.XLCDC IP has additional registers and new configuration bits compared to the existing register set of HLCDC IP. The new compatible string "microchip,sam9x75-xlcdc" is defined for sam9x75 variant of the sam9

Re: [PATCH v3 1/3] bits: introduce fixed-type genmasks

2024-02-29 Thread Lucas De Marchi
On Thu, Feb 29, 2024 at 08:27:30PM +0200, Andy Shevchenko wrote: On Thu, Feb 29, 2024 at 12:21:34PM -0600, Lucas De Marchi wrote: On Thu, Feb 29, 2024 at 12:49:57PM +0200, Andy Shevchenko wrote: > On Wed, Feb 28, 2024 at 05:39:21PM -0600, Lucas De Marchi wrote: > > On Thu, Feb 22, 2024 at 06:49:

[PATCH 2/2] nouveau/umem: rename nvkm client lock to umem_lock

2024-02-29 Thread Dave Airlie
From: Dave Airlie This lock is just protecting the umem list so name it as such. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/include/nvkm/core/client.h | 2 +- drivers/gpu/drm/nouveau/nvkm/core/client.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c | 12 ++

[PATCH 1/2] nouveau: lock the client object tree.

2024-02-29 Thread Dave Airlie
From: Dave Airlie It appears the client object tree has no locking unless I've missed something else. Fix races around adding/removing client objects, mostly vram bar mappings. 4562.099306] general protection fault, probably for non-canonical address 0x6677ed422bceb80c: [#1] PREEMPT SMP P

Re: [PATCH v8 4/8] drm/fb_dma: Add generic set_scanout_buffer() for drm_panic

2024-02-29 Thread kernel test robot
Hi Jocelyn, kernel test robot noticed the following build warnings: [auto build test WARNING on bfa4437fd3938ae2e186e7664b2db65bb8775670] url: https://github.com/intel-lab-lkp/linux/commits/Jocelyn-Falempe/drm-format-helper-Add-drm_fb_blit_from_r1-and-drm_fb_fill/20240227-185901 base: bfa4

[PATCH v4 2/2] drm/bridge: cdns-dsi: Add support for StarFive JH7110 SoC

2024-02-29 Thread Shengyang Chen
From: Keith Zhao Add display bridge support for dsi on StarFive JH7110 SoC. The mainly modification is followed: 1.Add extra clock and reset operation for JH7110. 2.Add callback for JH7110. Signed-off-by: Keith Zhao Signed-off-by: Shengyang Chen --- drivers/gpu/drm/bridge/cadence/Kco

[PATCH v4 0/2] Add StarFive JH7110 SoC DSI support

2024-02-29 Thread Shengyang Chen
This series is the series that attempts to support the CDNS DSI driver used to converts DPI to DSI. CDNS DSI is embedded in StarFive JH7110 SoC. The series has been tested on the VisionFive 2 board. change since v3: - Rebased on tag v6.8-rc6. patch 2: - Replace clk API with clk_bulk_ API. - Repl

[PATCH v4 1/2] dt-bindings: display: bridge: cdns: Add display bridge support for dsi on StarFive JH7110 SoC

2024-02-29 Thread Shengyang Chen
From: Keith Zhao Add compatible to support dsi bridge on StarFive JH7110 SoC Signed-off-by: Keith Zhao Signed-off-by: Shengyang Chen Reviewed-by: Conor Dooley --- .../bindings/display/bridge/cdns,dsi.yaml | 56 ++- 1 file changed, 54 insertions(+), 2 deletions(-) diff --

Re: [PATCH v2 9/9] drm/panel: truly-nt35597: Don't log an error when DSI host can't be found

2024-02-29 Thread Abhinav Kumar
On 2/29/2024 4:12 PM, Nícolas F. R. A. Prado wrote: Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error.

[PATCH v2 9/9] drm/panel: truly-nt35597: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Suggested-by: AngeloGioacchino Del Regno Signed-off-b

[PATCH v2 8/9] drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek

[PATCH v2 7/9] drm/bridge: dpc3433: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Also move the "failed to attach" error message so that

[PATCH v2 6/9] drm/bridge: tc358775: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: b26975593b17 ("display/drm/bridge: TC358775 DSI/

[PATCH v2 5/9] drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lont

[PATCH v2 4/9] drm/bridge: lt9611: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI

[PATCH v2 3/9] drm/bridge: lt8912b: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI

[PATCH v2 2/9] drm/bridge: icn6211: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 8dde6f7452a1 ("drm: bridge: icn6211: Add I2C con

[PATCH v2 1/9] drm/bridge: anx7625: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
Given that failing to find a DSI host causes the driver to defer probe, make use of dev_err_probe() to log the reason. This makes the defer probe reason available and avoids alerting userspace about something that is not necessarily an error. Fixes: 269332997a16 ("drm/bridge: anx7625: Return -EPRO

[PATCH v2 0/9] drm: Switch from dev_err to dev_err_probe for missing DSI host error path

2024-02-29 Thread Nícolas F . R . A . Prado
This series changes every occurence of the following pattern: dsi_host = of_find_mipi_dsi_host_by_node(dsi); if (!dsi_host) { dev_err(dev, "failed to find dsi host\n"); return -EPROBE_DEFER; } into dsi_host = of_find_mipi_dsi_host_

Re: [PATCH] drm/i915/selftest_hangcheck: Check sanity with more patience

2024-02-29 Thread Andi Shyti
Hi Janusz, On Wed, Feb 28, 2024 at 04:24:41PM +0100, Janusz Krzysztofik wrote: > While trying to reproduce some other issues reported by CI for i915 > hangcheck live selftest, I found them hidden behind timeout failures > reported by igt_hang_sanitycheck -- the very first hangcheck test case > exe

Re: [PATCH] drm/i915/selftests: Fix dependency of some timeouts on HZ

2024-02-29 Thread Andi Shyti
Hi Janusz, On Thu, Feb 22, 2024 at 12:32:40PM +0100, Janusz Krzysztofik wrote: > Third argument of i915_request_wait() accepts a timeout value in jiffies. > Most users pass either a simple HZ based expression, or a result of > msecs_to_jiffies(), or MAX_SCHEDULE_TIMEOUT, or a very small number not

[PATCH v3 4/4] drm/i915/gt: Enable only one CCS for compute workload

2024-02-29 Thread Andi Shyti
Enable only one CCS engine by default with all the compute sices allocated to it. While generating the list of UABI engines to be exposed to the user, exclude any additional CCS engines beyond the first instance. This change can be tested with igt i915_query. Fixes: d2eae8e98d59 ("drm/i915/dg2:

[PATCH v3 3/4] drm/i915/gt: Disable HW load balancing for CCS

2024-02-29 Thread Andi Shyti
The hardware should not dynamically balance the load between CCS engines. Wa_14019159160 recommends disabling it across all platforms. Fixes: d2eae8e98d59 ("drm/i915/dg2: Drop force_probe requirement") Signed-off-by: Andi Shyti Cc: Chris Wilson Cc: Joonas Lahtinen Cc: Matt Roper Cc: # v6.2+ -

[PATCH v3 2/4] drm/i915/gt: Do not exposed fused off engines.

2024-02-29 Thread Andi Shyti
Some of the CCS engines are disabled. They should not be listed in the uabi_engine list, that is the list of engines that the user can see. Fixes: d2eae8e98d59 ("drm/i915/dg2: Drop force_probe requirement") Requires: 4e4f77d74878 ("drm/i915/gt: Refactor uabi engine class/instance list creation")

[PATCH v3 1/4] drm/i915/gt: Refactor uabi engine class/instance list creation

2024-02-29 Thread Andi Shyti
For the upcoming changes we need a cleaner way to build the list of uabi engines. Suggested-by: Tvrtko Ursulin Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/gt/intel_engine_user.c | 29 - 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i9

[PATCH v3 0/4] Disable automatic load CCS load balancing

2024-02-29 Thread Andi Shyti
Hi, this series does basically two things: 1. Disables automatic load balancing as adviced by the hardware workaround. 2. Assigns all the CCS slices to one single user engine. The user will then be able to query only one CCS engine I'm using here the "Requires: " tag, but I'm not sure the

Colorspace "Default" and the CTA-861 spec

2024-02-29 Thread Sebastian Wick
Hey all, I was trying to document the Colorspace property variants with what the sink expects, what kind of data the CRTC should be configured to produce, and what drivers must guarantee. I tried to stick to CTA-861-I for this exercise and after more than an hour to get the "Default" variant right

Re: [PATCH v2 1/2] drm: panel: st7701: Add Hardkernel ODROID-GO Ultra panel support

2024-02-29 Thread Jessica Zhang
On 2/29/2024 9:23 AM, Adam Green wrote: On 26/02/2024 21:29, Jessica Zhang wrote: > Got it. Was the shorter sleep time breaking the display and is it > required for the new panel to work? > > Thanks, > > Jessica Zhang Hi Jessica, I will be submitting a v3 shortly, the change to the sle

Re: [PATCH v3 00/10] Make PCI's devres API more consistent

2024-02-29 Thread Bjorn Helgaas
On Thu, Feb 29, 2024 at 09:31:20AM +0100, Philipp Stanner wrote: > @Bjorn: > Hey Bjorn, are we good with this series? Any more wishes or > suggestions? Sorry, haven't had a chance to go through it yet. FWIW, I just tried to apply these on top of pci/devres, but it failed here: Applying: PCI:

[PATCH AUTOSEL 6.7 24/24] drm/amd/display: fix input states translation error for dcn35 & dcn351

2024-02-29 Thread Sasha Levin
From: Swapnil Patel [ Upstream commit 27a6c49394b1a203beeb94752c9a1d6318f24ddf ] [Why] Currently there is an error while translating input clock sates into output clock states. The highest fclk setting from output sates is being dropped because of this error. [How] For dcn35 and dcn351, make ou

[PATCH] drm: Document requirements for driver-specific KMS props in new drivers

2024-02-29 Thread Sebastian Wick
When extending support for a driver-specific KMS property to additional drivers, we should apply all the requirements for new properties and make sure the semantics are the same and documented. Signed-off-by: Sebastian Wick --- Documentation/gpu/drm-kms.rst | 5 + 1 file changed, 5 insertion

RE: [PATCH 2/4] drm: xlnx: zynqmp_dpsub: Anounce supported input formats

2024-02-29 Thread Klymenko, Anatoliy
Hi Laurent, Thanks for the review. > -Original Message- > From: dri-devel On Behalf Of Laurent > Pinchart > Sent: Wednesday, February 28, 2024 7:58 AM > To: Klymenko, Anatoliy > Cc: Maarten Lankhorst ; Maxime Ripard > ; Thomas Zimmermann ; David > Airlie ; Daniel Vetter ; Simek, Michal

[PATCH] etnaviv: Restore some id values

2024-02-29 Thread Christian Gmeiner
From: Christian Gmeiner The hwdb selection logic as a feature that allows it to mark some fields as 'don't care'. If we match with such a field we memcpy(..) the current etnaviv_chip_identity into ident. This step can overwrite some id values read from the GPU with the 'don't care' value. Fix t

Re: [PATCH v6 9/9] usb: misc: onboard_dev: add support for XMOS XVF3500

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:52AM +0100, Javier Carrasco wrote: > The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit > multicore controller for voice processing. > > This device requires a specific power sequence, which consists of > enabling the regulators that control the

RE: [PATCH v12 2/8] drm: Add Adaptive Sync SDP logging

2024-02-29 Thread Golani, Mitulkumar Ajitkumar
> On Thu, 29 Feb 2024, "Golani, Mitulkumar Ajitkumar" > wrote: > > Thought behind this was to use the function where it was defined. But > > no worries, I have split it with new patch series floated. > > Please do not rush to send so many new versions! Let the review come to a > conclusion first.

Re: [PATCH v6 7/9] usb: misc: onboard_dev: add support for non-hub devices

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:50AM +0100, Javier Carrasco wrote: > Most of the functionality this driver provides can be used by non-hub > devices as well. > > To account for the hub-specific code, add a flag to the device data > structure and check its value for hub-specific code. > > The 'alway

Re: [PATCH v7 21/36] drm/connector: hdmi: Add Broadcast RGB property

2024-02-29 Thread Sebastian Wick
On Thu, Feb 22, 2024 at 07:14:07PM +0100, Maxime Ripard wrote: > The i915 driver has a property to force the RGB range of an HDMI output. > The vc4 driver then implemented the same property with the same > semantics. KWin has support for it, and a PR for mutter is also there to > support it. > > B

Re: [PATCH v6 6/9] ARM: multi_v7_defconfig: update ONBOARD_USB_HUB to ONBOAD_USB_DEV

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:49AM +0100, Javier Carrasco wrote: > The onboard_usb_hub driver has been updated to support non-hub devices, > which has led to some renaming. Update to the new name accordingly. > > Update to the new name (ONBOARD_USB_DEV) accordingly. > > Signed-off-by: Javier Carr

Re: [PATCH v6 5/9] arm64: defconfig: update ONBOARD_USB_HUB to ONBOARD_USB_DEV

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:48AM +0100, Javier Carrasco wrote: > The onboard_usb_hub driver has been updated to support non-hub devices, > which has led to some renaming. > > Update to the new name (ONBOARD_USB_DEV) accordingly. > > Signed-off-by: Javier Carrasco Reviewed-by: Matthias Kaehlck

Re: [PATCH v6 4/9] drm: ci: arm64.config: update ONBOARD_USB_HUB to ONBOARD_USB_DEV

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:47AM +0100, Javier Carrasco wrote: > The onboard_usb_hub driver has been updated to support non-hub devices, > which has led to some renaming. > > Update to the new name (ONBOARD_USB_DEV) accordingly. > > Acked-by: Helen Koike > Signed-off-by: Javier Carrasco Revi

Re: [PATCH v6 3/9] usb: misc: onboard_hub: rename to onboard_dev

2024-02-29 Thread Matthias Kaehlcke
On Thu, Feb 29, 2024 at 09:34:46AM +0100, Javier Carrasco wrote: > This patch prepares onboad_hub to support non-hub devices by renaming > the driver files and their content, the headers and their references. > > The comments and descriptions have been slightly modified to keep > coherence and acc

RE: [PATCH v12 2/8] drm: Add Adaptive Sync SDP logging

2024-02-29 Thread Jani Nikula
On Thu, 29 Feb 2024, "Golani, Mitulkumar Ajitkumar" wrote: > Thought behind this was to use the function where it was defined. But > no worries, I have split it with new patch series floated. Please do not rush to send so many new versions! Let the review come to a conclusion first. BR, Jani.

Re: [PATCH v3 4/4] dt-bindings: display: simple: allow panel-common properties

2024-02-29 Thread Krzysztof Kozlowski
On 23/02/2024 13:36, Raphael Gallais-Pou wrote: > This device inherits properties from panel-common. Those should be allowed > to use, instead of specifying properties to true for each specific use. > > Signed-off-by: Raphael Gallais-Pou > --- > Changes in v3: > - Allow every properties instead

Re: [PATCH] drm/amdgpu: remove misleading amdgpu_pmops_runtime_idle() comment

2024-02-29 Thread Alex Deucher
Applied. Thanks! On Thu, Feb 29, 2024 at 1:11 PM Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > After 4020c2280233 ("drm/amdgpu: don't runtime suspend if there are > displays attached (v3)"), "ret" is unconditionally set later before being > used, so there's point in initializing it and the a

Re: [PATCH v8 3/8] drm/panic: Add debugfs entry to test without triggering panic.

2024-02-29 Thread kernel test robot
: bfa4437fd3938ae2e186e7664b2db65bb8775670 patch link: https://lore.kernel.org/r/20240227100459.194478-4-jfalempe%40redhat.com patch subject: [PATCH v8 3/8] drm/panic: Add debugfs entry to test without triggering panic. config: m68k-randconfig-r052-20240229 (https://download.01.org/0day-ci/archive

[pull] drm/msm: drm-msm-next-2024-02-29 for v6.9

2024-02-29 Thread Rob Clark
Hi Dave, This is the main pull for v6.9, description below. We may have a second smaller pull next week for CDM support, which depends on a patch in drm-misc-next which was just recently tagged. The following changes since commit 41c177cf354126a22443b5c80cec9fdd313e67e1: Merge tag 'drm-misc-n

[linux-next:master] BUILD REGRESSION f303a3e2bcfba900efb5aee55236d17030e9f882

2024-02-29 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: f303a3e2bcfba900efb5aee55236d17030e9f882 Add linux-next specific files for 20240229 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202402292319.ehmsyi8l-...@intel.com https

Re: [PATCH v2 0/7] Add YUV formats to VKMS

2024-02-29 Thread Arthur Grillo
On 29/02/24 14:52, Sebastian Wick wrote: > On Wed, Feb 28, 2024 at 08:42:41PM -0300, Arthur Grillo wrote: >> >> >> On 15/01/24 12:06, Sebastian Wick wrote: >>> On Wed, Jan 10, 2024 at 02:44:00PM -0300, Arthur Grillo wrote: This patchset aims to add support for additional buffer YUV formats.

Re: [PATCH v3 1/3] bits: introduce fixed-type genmasks

2024-02-29 Thread Andy Shevchenko
On Thu, Feb 29, 2024 at 12:21:34PM -0600, Lucas De Marchi wrote: > On Thu, Feb 29, 2024 at 12:49:57PM +0200, Andy Shevchenko wrote: > > On Wed, Feb 28, 2024 at 05:39:21PM -0600, Lucas De Marchi wrote: > > > On Thu, Feb 22, 2024 at 06:49:59AM -0800, Yury Norov wrote: ... > > > I build-tested this

RE: Making drm_gpuvm work across gpu devices

2024-02-29 Thread Zeng, Oak
Hi Christian/Daniel/Dave/Felix/Thomas, and all, We have been refining our design internally in the past month. Below is our plan. Please let us know if you have any concern. 1) Remove pseudo /dev/xe-svm device. All system allocator interfaces will be through /dev/dri/render devices. Not global

Re: [PATCH v3 1/3] bits: introduce fixed-type genmasks

2024-02-29 Thread Lucas De Marchi
On Thu, Feb 29, 2024 at 12:49:57PM +0200, Andy Shevchenko wrote: On Wed, Feb 28, 2024 at 05:39:21PM -0600, Lucas De Marchi wrote: On Thu, Feb 22, 2024 at 06:49:59AM -0800, Yury Norov wrote: > On Wed, Feb 21, 2024 at 03:59:06PM -0600, Lucas De Marchi wrote: > > On Wed, Feb 21, 2024 at 11:04:22PM

[PATCH] drm/fsl-dcu: remove unnecessary NULL checks

2024-02-29 Thread Bjorn Helgaas
From: Bjorn Helgaas The power management callbacks are never called unless .probe() has already returned success, which means it has set drvdata to a non-NULL pointer, so "dev" can never be NULL in the other callbacks. Remove the unnecessary checks. Signed-off-by: Bjorn Helgaas --- drivers/gp

[PATCH] drm/amdgpu: remove misleading amdgpu_pmops_runtime_idle() comment

2024-02-29 Thread Bjorn Helgaas
From: Bjorn Helgaas After 4020c2280233 ("drm/amdgpu: don't runtime suspend if there are displays attached (v3)"), "ret" is unconditionally set later before being used, so there's point in initializing it and the associated comment is no longer meaningful. Remove the comment and the unnecessary i

Re: [PATCH v2 6/9] drm/vkms: Add YUV support

2024-02-29 Thread Arthur Grillo
On 29/02/24 09:12, Pekka Paalanen wrote: > On Wed, 28 Feb 2024 22:52:09 -0300 > Arthur Grillo wrote: > >> On 27/02/24 17:01, Arthur Grillo wrote: >>> >>> >>> On 27/02/24 12:02, Louis Chauvet wrote: Hi Pekka, For all the comment related to the conversion part, maybe Arthur have

Re: [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix

2024-02-29 Thread Conor Dooley
On Thu, Feb 29, 2024 at 09:54:59AM +0100, Neil Armstrong wrote: > Hi Jérémie, > > On 23/02/2024 19:22, Conor Dooley wrote: > > On Fri, Feb 23, 2024 at 02:45:15PM +0100, Jérémie Dautheribes wrote: > > > Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > > > include "cct" as a vendor

Re: [PATCH v2 0/7] Add YUV formats to VKMS

2024-02-29 Thread Sebastian Wick
On Wed, Feb 28, 2024 at 08:42:41PM -0300, Arthur Grillo wrote: > > > On 15/01/24 12:06, Sebastian Wick wrote: > > On Wed, Jan 10, 2024 at 02:44:00PM -0300, Arthur Grillo wrote: > >> This patchset aims to add support for additional buffer YUV formats. > >> More specifically, it adds support to: >

Re: (subset) [PATCH 13/18] mfd: mt6397-core: register mt6357 sound codec

2024-02-29 Thread Lee Jones
On Mon, 26 Feb 2024 15:01:51 +0100, amerg...@baylibre.com wrote: > Add MT6357 codec entry in the MFD driver. > > Applied, thanks! [13/18] mfd: mt6397-core: register mt6357 sound codec commit: 79d98102a31ab777b4a6632d799ab2bc63654cf8 -- Lee Jones [李琼斯]

Re: [PATCH] net: ethernet: ti: am65-cpsw: Add minimal XDP support

2024-02-29 Thread Julien Panis
On 2/29/24 17:46, Andrew Lunn wrote: On Thu, Feb 29, 2024 at 05:19:44PM +0100, Julien Panis wrote: On 2/27/24 00:18, Andrew Lunn wrote: +static struct sk_buff *am65_cpsw_alloc_skb(struct net_device *ndev, unsigned int len) +{ + struct page *page; + struct sk_buff *skb; + + pa

Re: (subset) [PATCH RESEND 0/4] Ensure all backlight drivers zero the properties structure

2024-02-29 Thread Lee Jones
On Tue, 20 Feb 2024 15:35:23 +, Daniel Thompson wrote: > [Sorry for the RESEND so soon... embarrassingly I got Lee's e-mail > address wrong the first time!] > > Luca Weiss recently shared a patch to zero the properties structure for > lm3630a... and shortly afterwards I realized I should proba

Re: [PATCH 0/4] TTM unlockable restartable LRU list iteration

2024-02-29 Thread Thomas Hellström
Hi, Christian. Thanks for having a look. On Thu, 2024-02-29 at 16:08 +0100, Christian König wrote: > Am 16.02.24 um 15:20 schrieb Thomas Hellström: > [SNIP] > > > My approach was basically to not only lock the current BO, but > > > also > > > the > > > next one. Since only a locked BO can move on

Re: [PATCH v2 2/3] dt-bindings: display: mediatek: gamma: Add support for MT8188

2024-02-29 Thread Krzysztof Kozlowski
On 29/02/2024 15:48, Jason-JH.Lin wrote: > The gamma LUT setting of MT8188 and MT8195 are the same, so we create > a one of items for MT8188 to reuse the driver data settings of MT8195. > > Signed-off-by: Jason-JH.Lin > Reviewed-by: AngeloGioacchino Del Regno > > --- > .../devicetree/bindings/

Re: [PATCH v2 1/2] drm: panel: st7701: Add Hardkernel ODROID-GO Ultra panel support

2024-02-29 Thread Adam Green
On 26/02/2024 21:29, Jessica Zhang wrote: > Got it. Was the shorter sleep time breaking the display and is it > required for the new panel to work? > > Thanks, > > Jessica Zhang Hi Jessica, I will be submitting a v3 shortly, the change to the sleep time was not necessary for the new panel to w

Re: Making drm_gpuvm work across gpu devices

2024-02-29 Thread Thomas Hellström
Hi, Christian. On Thu, 2024-02-29 at 10:41 +0100, Christian König wrote: > Am 28.02.24 um 20:51 schrieb Zeng, Oak: > > > > The mail wasn’t indent/preface correctly. Manually format it. > > > > *From:*Christian König > > *Sent:* Tuesday, February 27, 2024 1:54 AM > > *To:* Zeng, Oak ; Danilo Kru

Re: [PATCH 1/2] drm_edid: Add a function to get EDID base block

2024-02-29 Thread Doug Anderson
Hi, On Thu, Feb 29, 2024 at 8:43 AM Jani Nikula wrote: > > On Wed, 28 Feb 2024, Doug Anderson wrote: > > Hi, > > > > On Tue, Feb 27, 2024 at 5:27 PM Hsin-Yi Wang wrote: > >> > >> On Tue, Feb 27, 2024 at 1:09 AM Jani Nikula > >> wrote: > >> > > >> > On Fri, 23 Feb 2024, Hsin-Yi Wang wrote: >

[PATCH v14 6/9] drm/i915/display: Compute AS SDP parameters

2024-02-29 Thread Mitul Golani
Add necessary function definitions to compute AS SDP data. The new intel_dp_compute_as_sdp function computes AS SDP values based on the display configuration, ensuring proper handling of Variable Refresh Rate (VRR). --v2: - Added DP_SDP_ADAPTIVE_SYNC to infoframe_type_to_idx(). [Ankit] - Separated

[PATCH v14 8/9] drm/i915/display: Compute vrr_vsync params

2024-02-29 Thread Mitul Golani
Compute vrr_vsync_start/end, which sets the position for hardware to send the Vsync at a fixed position relative to the end of the Vblank. --v2: - Updated VSYNC_START/END macros to VRR_VSYNC_START/END. (Ankit) - Updated bit fields of VRR_VSYNC_START/END. (Ankit) --v3: - Add PIPE_CONF_CHECK_I(vrr.

[PATCH v14 9/9] drm/i915/display: Read/Write AS sdp only when sink/source has enabled

2024-02-29 Thread Mitul Golani
Write/Read Adaptive sync SDP only when Sink and Source is enabled for the same. Also along with write TRANS_VRR_VSYNC values. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_ddi.c | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 1 + 2 files changed, 2 insertions(+) diff --g

[PATCH v14 4/9] drm/i915/dp: Add Read/Write support for Adaptive Sync SDP

2024-02-29 Thread Mitul Golani
Add the necessary structures and functions to handle reading and unpacking Adaptive Sync Secondary Data Packets. Also add support to write and pack AS SDP. --v2: - Correct use of REG_BIT and REG_GENMASK. [Jani] - Use as_sdp instead of async. [Jani] - Remove unrelated comments and changes. [Jani] -

[PATCH v14 7/9] drm/i915/display: Add state checker for Adaptive Sync SDP

2024-02-29 Thread Mitul Golani
Enable infoframe and add state checker for Adaptive Sync SDP enablement. --v1: - crtc_state->infoframes.enable, to add on correct place holder. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_display.c | 46 1 file changed, 46 insertions(+) diff --git a/

[PATCH v14 5/9] drm/i915/dp: Add wrapper function to check AS SDP

2024-02-29 Thread Mitul Golani
Add a wrapper function to check if both the source and sink support Adaptive Sync SDP. --v1: Just use drm/i915/dp in subject line. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_dp.c | 8 drivers/gpu/drm/i915/display/intel_dp.h | 1 + 2 files changed, 9 insertions(+

[PATCH v14 3/9] drm: Add crtc state dump for Adaptive Sync SDP

2024-02-29 Thread Mitul Golani
Add crtc state dump for Adaptive Sync SDP to know which crtc specifically caused the failure. Signed-off-by: Mitul Golani --- .../gpu/drm/i915/display/intel_crtc_state_dump.c| 13 + drivers/gpu/drm/i915/display/intel_display_types.h | 1 + 2 files changed, 14 insertions(+) dif

[PATCH v14 1/9] drm/dp: Add support to indicate if sink supports AS SDP

2024-02-29 Thread Mitul Golani
Add an API that indicates support for Adaptive Sync SDP in the sink, which can be utilized by the rest of the DP programming. --v1: - Format commit message properly. Signed-off-by: Mitul Golani --- drivers/gpu/drm/display/drm_dp_helper.c | 25 + include/drm/display/drm_d

[PATCH v14 2/9] drm: Add Adaptive Sync SDP logging

2024-02-29 Thread Mitul Golani
Add structure representing Adaptive Sync Secondary Data Packet (AS SDP). Also, add Adaptive Sync SDP logging in drm_dp_helper.c to facilitate debugging. --v2: - Update logging. [Jani, Ankit] - Use 'as_sdp' instead of 'async' [Ankit] - Correct define placeholders to where they are actually used. [J

[PATCH v14 0/9] Enable Adaptive Sync SDP Support for DP

2024-02-29 Thread Mitul Golani
An Adaptive-Sync-capable DP protocol converter indicates its support by setting the related bit in the DPCD register. Computes AS SDP values based on the display configuration, ensuring proper handling of Variable Refresh Rate (VRR) in the context of Adaptive Sync. --v2: - Update logging to Patch

Re: [PATCH] net: ethernet: ti: am65-cpsw: Add minimal XDP support

2024-02-29 Thread Andrew Lunn
On Thu, Feb 29, 2024 at 05:19:44PM +0100, Julien Panis wrote: > On 2/27/24 00:18, Andrew Lunn wrote: > > > +static struct sk_buff *am65_cpsw_alloc_skb(struct net_device *ndev, > > > unsigned int len) > > > +{ > > > + struct page *page; > > > + struct sk_buff *skb; > > > + > > > + page = dev_alloc_

Re: [PATCH 1/2] drm_edid: Add a function to get EDID base block

2024-02-29 Thread Jani Nikula
On Wed, 28 Feb 2024, Doug Anderson wrote: > Hi, > > On Tue, Feb 27, 2024 at 5:27 PM Hsin-Yi Wang wrote: >> >> On Tue, Feb 27, 2024 at 1:09 AM Jani Nikula >> wrote: >> > >> > On Fri, 23 Feb 2024, Hsin-Yi Wang wrote: >> > > It's found that some panels have variants that they share the same panel

RE: [PATCH v12 2/8] drm: Add Adaptive Sync SDP logging

2024-02-29 Thread Golani, Mitulkumar Ajitkumar
> -Original Message- > From: Nikula, Jani > Sent: Thursday, February 29, 2024 4:08 PM > To: Golani, Mitulkumar Ajitkumar ; > intel-...@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org; Nautiyal, Ankit K > ; Golani, Mitulkumar Ajitkumar > > Subject: Re: [PATCH v12 2/8] drm: A

  1   2   3   >