Re: [RFC PATCH 01/10] drm/sched: Convert drm scheduler to use a work queue rather than kthread

2023-06-08 Thread Boris Brezillon
Hi Matthew, On Mon, 3 Apr 2023 17:22:02 -0700 Matthew Brost wrote: > -static int drm_sched_main(void *param) > +static void drm_sched_main(struct work_struct *w) > { > - struct drm_gpu_scheduler *sched = (struct drm_gpu_scheduler *)param; > + struct drm_gpu_scheduler *sched = > +

Re: [PATCH] dma-fence: Bypass signaling annotation from dma_fence_is_signaled

2023-06-08 Thread Christian König
Am 08.06.23 um 16:30 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin For dma_fence_is_signaled signaling critical path annotations are an annoying cause of false positives when using dma_fence_is_signaled and indirectly higher level helpers such as dma_resv_test_signaled etc. Drop the critical pa

Re: [RESEND PATCH v2 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7

2023-06-08 Thread Dario Binacchi
Hi Alexandre, On Thu, Jun 8, 2023 at 2:42 PM Alexandre TORGUE wrote: > > Hi Dario > > On 6/7/23 08:31, Dario Binacchi wrote: > > Add pin configurations for using LTDC (LCD-tft Display Controller) on > > stm32f746-disco board. > > > > Signed-off-by: Dario Binacchi > > --- > > > > (no changes sinc

[PATCH v3 4/4] drm/stm: add an option to change FB bpp

2023-06-08 Thread Dario Binacchi
Boards that use the STM32F{4,7} series have limited amounts of RAM. The added parameter allows users to size, within certain limits, the memory footprint required by the framebuffer. Signed-off-by: Dario Binacchi --- Changes in v3: - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN

[PATCH v3 0/4] Add display support on the stm32f746-disco board

2023-06-08 Thread Dario Binacchi
The series adds support for the display on the stm32f746-disco board, along with a generic patch that adds the "bpp" parameter to the stm-drm module. The intention is to allow users to size, within certain limits, the memory footprint required by the framebuffer. Changes in v3: - rename ltdc-pins-

Re: Adreno devfreq lockdep splat with 6.3-rc2

2023-06-08 Thread Johan Hovold
On Thu, Jun 08, 2023 at 02:17:45PM -0700, Rob Clark wrote: > On Thu, Jun 8, 2023 at 7:12 AM Johan Hovold wrote: > > Have you had a chance to look at this regression yet? It prevents us > > from using lockdep on the X13s as it is disabled as soon as we start > > the GPU. > > Hmm, curious what is

Re: [PATCH] udmabuf: revert 'Add support for mapping hugepages (v4)'

2023-06-08 Thread Greg Kroah-Hartman
On Thu, Jun 08, 2023 at 01:49:27PM -0700, Mike Kravetz wrote: > This effectively reverts commit 16c243e99d33 ("udmabuf: Add support > for mapping hugepages (v4)"). Recently, Junxiao Chang found a BUG > with page map counting as described here [1]. This issue pointed out > that the udmabuf driver

[PATCH] drm/i915/dp: Cable type identification for DP2.1

2023-06-08 Thread Animesh Manna
For DP alt mode display driver get the information about cable speed and cable type through TCSS_DDI_STATUS register which will be updated by type-c platform driver. Accodingly Update dpcd 0x110 with cable information before link training start. This change came part of DP2.1 SCR. Note: This patch

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Track buffer objects belonging to clients

2023-06-08 Thread Iddamsetty, Aravind
On 08-06-2023 20:21, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > In order to show per client memory usage lets start tracking which > objects belong to which clients. > > We start with objects explicitly created by object creation UAPI and > track it on a new per client lists, protected

linux-next: build warning after merge of the amdgpu tree

2023-06-08 Thread Stephen Rothwell
Hi all, After merging the amdgpu tree, today's linux-next build (htmldocs) produced this warning: drivers/gpu/drm/drm_connector.c:2215: warning: Function parameter or member 'supported_colorspaces' not described in 'drm_mode_create_hdmi_colorspace_property' drivers/gpu/drm/drm_connector.c:2239:

Re: [PATCH v8 0/8] drm/etnaviv: add pci device driver support

2023-06-08 Thread Sui Jingfeng
Hi, Any ideas ? I change it together at next version? @lucas @christian On 2023/6/7 18:55, Sui Jingfeng wrote: From: Sui Jingfeng There is a Vivante GC1000 (v5037) in LS2K1000 and LS7A1000, this GPU is a PCI device, and it has 2D and 3D cores in the same core. Thus, this patch set is try

RE: [PATCH v4] drm/dp_mst: Clear MSG_RDY flag before sending new message

2023-06-08 Thread Lin, Wayne
[Public] > -Original Message- > From: Jani Nikula > Sent: Thursday, June 8, 2023 8:26 PM > To: Lin, Wayne ; dri-devel@lists.freedesktop.org; > amd-...@lists.freedesktop.org > Cc: ly...@redhat.com; ville.syrj...@linux.intel.com; imre.d...@intel.com; > Wentland, Harry ; Zuo, Jerry > ; Lin,

Re: [Intel-gfx] [PATCH v3 4/4] PCI/VGA: introduce is_boot_device function callback to vga_client_register

2023-06-08 Thread Sui Jingfeng
Hi, On 2023/6/9 03:19, Bjorn Helgaas wrote: On Thu, Jun 08, 2023 at 07:43:22PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng The vga_is_firmware_default() function is arch-dependent, which doesn't sound right. At least, it also works on the Mips and LoongArch platforms. Tested with the drm/am

Re: [git pull] drm fixes for 6.4-rc6

2023-06-08 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Jun 2023 11:39:32 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-09 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/33f2b5785a2b6b0ed1948aafee60d3abb12f1e3a Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [Intel-gfx] [PATCH v3 3/4] PCI/VGA: only deal with VGA class devices

2023-06-08 Thread Sui Jingfeng
Hi, On 2023/6/9 03:12, Bjorn Helgaas wrote: Start with verb and capitalize to match ("Deal only with ...") On Thu, Jun 08, 2023 at 07:43:21PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng vgaarb only deal with the VGA devcie(pdev->class == 0x0300), so replace the pci_get_subsys() function wi

Re: [Intel-gfx] [PATCH v3 1/4] PCI/VGA: tidy up the code and comment format

2023-06-08 Thread Sui Jingfeng
Hi, On 2023/6/9 03:07, Bjorn Helgaas wrote: Capitalize subject to match ("Tidy ...") On Thu, Jun 08, 2023 at 07:43:19PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng This patch replaces the leading space with a tab and removes the double blank line, no functional change. Can you move this t

Re: [PATCH v4 00/68] clk: Make determine_rate mandatory for muxes

2023-06-08 Thread Stephen Boyd
Quoting Maxime Ripard (2023-05-05 04:25:02) > Hi, > > This is a follow-up to a previous series that was printing a warning > when a mux has a set_parent implementation but is missing > determine_rate(). > > The rationale is that set_parent() is very likely to be useful when > changing the rate, b

[PATCH] drm/edid: Add quirk for OSVR HDK 2.0

2023-06-08 Thread Ralph Campbell
The OSVR virtual reality headset HDK 2.0 uses a different EDID vendor and device identifier than the HDK 1.1 - 1.4 headsets. Add the HDK 2.0 vendor and device identifier to the quirks table so that window managers do not try to display the desktop screen on the headset display. Signed-off-by: Ralp

[git pull] drm fixes for 6.4-rc6

2023-06-08 Thread Dave Airlie
Hey Linux, Bit busier and a bit more scattered than usual. amdgpu is the main one, with ivpu and msm having a few fixes, then i915, exynos, ast, lima, radeon with some misc bits, but overall nothing standing out. Dave. drm-fixes-2023-06-09: drm fixes for 6.4-rc6 fb-helper: - Fill in fb-helper v

Re: [PATCH v8 6/8] drm/etnaviv: add driver support for the PCI devices

2023-06-08 Thread Sui Jingfeng
Hi, On 2023/6/9 01:32, Bjorn Helgaas wrote: On Wed, Jun 07, 2023 at 06:55:49PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng This patch adds PCI driver support on top of what we already have. Take the GC1000 in LS7A1000/LS2K1000 as the first instance of the PCI device driver. There is only on

Re: [PATCH v8 1/8] drm/etnaviv: add a dedicated function to register an irq handler

2023-06-08 Thread Sui Jingfeng
Hi, On 2023/6/9 01:25, Bjorn Helgaas wrote: On Wed, Jun 07, 2023 at 06:55:44PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng Because getting IRQ from a device is platform-dependent, PCI devices have different methods for getting an IRQ. This patch is a preparation patch to extend the driver f

[pull] drm/msm: drm-msm-fixes-2023-06-08 for v6.4-rc6 [resend]

2023-06-08 Thread Rob Clark
Hi Dave, (retry of previous PR with missing s-o-b corrected but otherwise identical) A few late fixes for v6.4.. meant to send this out last week but got distracted setting my new x13s. The following changes since commit 5c054db54c43a5fcb5cc81012361f5e3fac37637: drm/msm: Be more shouty if per

Re: [Freedreno] [PATCH v5 2/5] drm/msm/dsi: Adjust pclk rate for compression

2023-06-08 Thread Abhinav Kumar
On 6/8/2023 5:56 PM, Jessica Zhang wrote: On 6/8/2023 1:36 PM, Marijn Suijten wrote: Same title suggestion as earlier: s/adjust/reduce Hi Marijn, Acked. On 2023-05-22 18:08:56, Jessica Zhang wrote: Adjust the pclk rate to divide hdisplay by the compression ratio when DSC is enabled.

Re: [Freedreno] [PATCH v5 2/5] drm/msm/dsi: Adjust pclk rate for compression

2023-06-08 Thread Jessica Zhang
On 6/8/2023 1:36 PM, Marijn Suijten wrote: Same title suggestion as earlier: s/adjust/reduce Hi Marijn, Acked. On 2023-05-22 18:08:56, Jessica Zhang wrote: Adjust the pclk rate to divide hdisplay by the compression ratio when DSC is enabled. Signed-off-by: Jessica Zhang --- drivers/

Re: [PATCH v2 3/5] drm/i915/mtl/gsc: query the GSC FW for its compatibility version

2023-06-08 Thread Teres Alexis, Alan Previn
On Mon, 2023-06-05 at 19:24 -0700, Ceraolo Spurio, Daniele wrote: > The compatibility version is queried via an MKHI command. Right now, the > only existing interface is 1.0 > This is basically the interface version for the GSC FW, so the plan is > to use it as the main tracked version, including f

[PATCH v2] drm/i915/gsc: take a wakeref for the proxy-init-completion check

2023-06-08 Thread Alan Previn
Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init takes a wakeref before reading GSC Shim registers. NOTE: another patch in review also adds a call from selftest to this same function. (https://patchwork.freedesktop.org/series/117713/) which is why i am adding the wakeref inside the

Re: [PATCH v1] drm/i915/gsc: take a wakeref for the proxy-init-completion check

2023-06-08 Thread Teres Alexis, Alan Previn
On Thu, 2023-06-08 at 11:19 -0700, Ceraolo Spurio, Daniele wrote: > On 6/8/2023 11:04 AM, Alan Previn wrote: > > Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init > > takes a wakeref before reading GSC Shim registers. alan:snip > > > bool intel_gsc_uc_fw_proxy_init_done(struct inte

Re: [Intel-xe] [v1] drm/xe/guc: Fix h2g_write usage of GUC_CTB_MSG_MAX_LEN

2023-06-08 Thread Teres Alexis, Alan Previn
On Thu, 2023-06-08 at 00:12 +, Teres Alexis, Alan Previn wrote: > On Fri, 2023-06-02 at 11:52 -0700, Alan Previn wrote: > > alan: good point - i will go back and find if we have this value internally > spec'd before we continue. alan: actually, even if the spec allowed very large cmds (as its

Re: [PATCH v2 2/5] drm/i915/mtl/gsc: extract release and security versions from the gsc binary

2023-06-08 Thread Teres Alexis, Alan Previn
Everything looks good to me, so Reviewed-by: Alan Previn On Mon, 2023-06-05 at 19:23 -0700, Ceraolo Spurio, Daniele wrote: > The release and security versions of the GSC binary are not used at > runtime to decide interface compatibility (there is a separate version > for that), but they're still

RE: [Intel-gfx] [PATCH] drm/i915: Avoid circular locking dependency when flush delayed work on gt reset

2023-06-08 Thread Dong, Zhanjun
John mentioned 2 options: 1. “add the sync/async flag to _submission_disable()” Consider to be a small change 1. add an 'are busyness stats enabled' boolean to the guc structure Seems effected area among the flow and is much more than option 1. I would like to discuss a bit more before m

Re: Adreno devfreq lockdep splat with 6.3-rc2

2023-06-08 Thread Rob Clark
On Thu, Jun 8, 2023 at 7:12 AM Johan Hovold wrote: > > Hi Rob, > > Have you had a chance to look at this regression yet? It prevents us > from using lockdep on the X13s as it is disabled as soon as we start > the GPU. Hmm, curious what is different between x13s and sc7180/sc7280 things? Or did lo

Re: [Intel-gfx] [PATCH] drm/i915: Avoid circular locking dependency when flush delayed work on gt reset

2023-06-08 Thread Dong, Zhanjun
Hi Andi, Thanks for comments. Info would be updated on next revision, which is on the way. Regards, Zhanjun Dong On 2023-06-07 8:19 p.m., Andi Shyti wrote: Hi Dong, On Wed, Jun 07, 2023 at 12:03:50PM -0700, Zhanjun Dong wrote: This attempts to avoid circular locking dependency between flu

Re: [PATCH v4 1/8] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2023-06-08 Thread Rob Herring
On Mon, May 29, 2023 at 04:30:58PM +0200, Guillaume Ranquet wrote: > Add mt8195 SoC bindings for hdmi and hdmi-ddc > > On mt8195 the ddc i2c controller is part of the hdmi IP block and thus has no > specific register range, power domain or interrupt, making it simpler > than the legacy "mediatek,h

Re: [PATCH v6 12/12] iommu/arm-smmu-qcom: Add SM6350 DPU compatible

2023-06-08 Thread Will Deacon
On Tue, Jun 06, 2023 at 02:44:03PM +0200, Konrad Dybcio wrote: > From: Konrad Dybcio > > Add the SM6350 DPU compatible to clients compatible list, as it also > needs the workarounds. > > Signed-off-by: Konrad Dybcio > Acked-by: Dmitry Baryshkov > Signed-off-by: Konrad Dybcio > --- > drivers/

Re: [PATCH v6 11/12] iommu/arm-smmu-qcom: Add SM6375 DPU compatible

2023-06-08 Thread Will Deacon
On Tue, Jun 06, 2023 at 02:44:02PM +0200, Konrad Dybcio wrote: > Add the SM6375 DPU compatible to clients compatible list, as it also > needs the workarounds. > > Acked-by: Dmitry Baryshkov > Signed-off-by: Konrad Dybcio > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + > 1 file changed

Re: [PATCH v6 10/12] iommu/arm-smmu-qcom: Sort the compatible list alphabetically

2023-06-08 Thread Will Deacon
On Tue, Jun 06, 2023 at 02:44:01PM +0200, Konrad Dybcio wrote: > It got broken at some point, fix it up. > > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Konrad Dybcio > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --gi

Re: [PATCH v8 01/18] dt-bindings: display/msm: gpu: Document GMU wrapper-equipped A6xx

2023-06-08 Thread Rob Herring
On Mon, 29 May 2023 15:52:20 +0200, Konrad Dybcio wrote: > The "GMU Wrapper" is Qualcomm's name for "let's treat the GPU blocks > we'd normally assign to the GMU as if they were a part of the GMU, even > though they are not". It's a (good) software representation of the GMU_CX > and GMU_GX regist

Re: [PATCH v8 01/18] dt-bindings: display/msm: gpu: Document GMU wrapper-equipped A6xx

2023-06-08 Thread Rob Herring
On Tue, May 30, 2023 at 03:35:09PM +0200, Konrad Dybcio wrote: > > > On 30.05.2023 14:26, Krzysztof Kozlowski wrote: > > On Mon, 29 May 2023 15:52:20 +0200, Konrad Dybcio wrote: > >> The "GMU Wrapper" is Qualcomm's name for "let's treat the GPU blocks > >> we'd normally assign to the GMU as if th

Re: [PATCH v5 2/5] drm/msm/dsi: Adjust pclk rate for compression

2023-06-08 Thread Marijn Suijten
Same title suggestion as earlier: s/adjust/reduce On 2023-05-22 18:08:56, Jessica Zhang wrote: > Adjust the pclk rate to divide hdisplay by the compression ratio when DSC > is enabled. > > Signed-off-by: Jessica Zhang > --- > drivers/gpu/drm/msm/dsi/dsi_host.c | 21 ++--- > 1 fi

Re: [PATCH v3 2/3] dt-bindings: phy: add mediatek MIPI CD-PHY module v0.5

2023-06-08 Thread Rob Herring
On Wed, May 24, 2023 at 04:05:03PM +0200, Julien Stephan wrote: > On Wed, May 24, 2023 at 11:45:30AM +0200, AngeloGioacchino Del Regno wrote: > > Il 24/05/23 10:30, Julien Stephan ha scritto: > > > From: Florian Sylvestre > > > > > > This adds the bindings, for the MIPI CD-PHY module v0.5 embedded

Re: [RFC PATCH v2 12/13] drm/msm/dpu: add support for virtual planes

2023-06-08 Thread Abhinav Kumar
On 6/7/2023 2:56 PM, Dmitry Baryshkov wrote: On 08/06/2023 00:05, Abhinav Kumar wrote: On 3/20/2023 6:18 PM, Dmitry Baryshkov wrote: Only several SSPP blocks support such features as YUV output or scaling, thus different DRM planes have different features.  Properly utilizing all planes re

Re: [PATCH RFC 07/10] dt-bindings: display: panel: Describe Samsung SOFEF03-M Display-IC

2023-06-08 Thread Rob Herring
On Sun, 21 May 2023 23:23:09 +0200, Marijn Suijten wrote: > Document the SOFEF06-M Display-IC and 1080x2520 panel found in the Sony > Xperia 5 II (6.1"). > > Signed-off-by: Marijn Suijten > --- > .../bindings/display/panel/samsung,sofef03-m.yaml | 73 > ++ > 1 file change

Re: [Intel-gfx] [PATCH v3 4/4] PCI/VGA: introduce is_boot_device function callback to vga_client_register

2023-06-08 Thread Bjorn Helgaas
On Thu, Jun 08, 2023 at 07:43:22PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > The vga_is_firmware_default() function is arch-dependent, which doesn't > sound right. At least, it also works on the Mips and LoongArch platforms. > Tested with the drm/amdgpu and drm/radeon drivers. However,

Re: [Intel-gfx] [PATCH v3 3/4] PCI/VGA: only deal with VGA class devices

2023-06-08 Thread Bjorn Helgaas
Start with verb and capitalize to match ("Deal only with ...") On Thu, Jun 08, 2023 at 07:43:21PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > vgaarb only deal with the VGA devcie(pdev->class == 0x0300), so replace the > pci_get_subsys() function with pci_get_class(). Filter the non pci d

Re: [Intel-gfx] [PATCH v3 1/4] PCI/VGA: tidy up the code and comment format

2023-06-08 Thread Bjorn Helgaas
Capitalize subject to match ("Tidy ...") On Thu, Jun 08, 2023 at 07:43:19PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > This patch replaces the leading space with a tab and removes the double > blank line, no functional change. Can you move this to the end of the series? The functional

RE: [v2] drm/i915/selftest/gsc: Ensure GSC Proxy init completes before selftests

2023-06-08 Thread Dong, Zhanjun
> -Original Message- > From: Teres Alexis, Alan Previn > Sent: June 8, 2023 2:31 PM > To: Dong, Zhanjun ; intel- > g...@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Subject: Re: [v2] drm/i915/selftest/gsc: Ensure GSC Proxy init completes > before selftests > > On Thu, 2

Re: [PATCH 0/5] of: More 'device' vs. 'module' cleanups

2023-06-08 Thread Rob Herring
On Wed, May 10, 2023 at 05:47:58PM +0200, Miquel Raynal wrote: > Hello, > > As part of a previous series, Rob suggested that keeping too much logic > in of/device.c was backward and would benefit from a gradual cleanup > with the hope some day to move the remaining helpers into inline > functions

Re: [v2] drm/i915/selftest/gsc: Ensure GSC Proxy init completes before selftests

2023-06-08 Thread Teres Alexis, Alan Previn
On Thu, 2023-06-08 at 18:14 +, Dong, Zhanjun wrote: > See my comments below. > > > -Original Message- > > From: Alan Previn alan:snip > > +static int > > +__wait_gsc_proxy_completed(struct drm_i915_private *i915, > > + unsigned long timeout_ms) > > +{ > > + boo

Re: [PATCH v1] drm/i915/gsc: take a wakeref for the proxy-init-completion check

2023-06-08 Thread Ceraolo Spurio, Daniele
On 6/8/2023 11:04 AM, Alan Previn wrote: Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init takes a wakeref before reading GSC Shim registers. NOTE: another patch in review also adds a call from selftest to this same function. (https://patchwork.freedesktop.org/series/117713/) wh

RE: [v2] drm/i915/selftest/gsc: Ensure GSC Proxy init completes before selftests

2023-06-08 Thread Dong, Zhanjun
See my comments below. > -Original Message- > From: Alan Previn > Sent: May 30, 2023 1:01 PM > To: intel-...@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org; Alan Previn > > Subject: [v2] drm/i915/selftest/gsc: Ensure GSC Proxy init completes before > selftests > > On MTL, i

[PATCH v1] drm/i915/gsc: take a wakeref for the proxy-init-completion check

2023-06-08 Thread Alan Previn
Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init takes a wakeref before reading GSC Shim registers. NOTE: another patch in review also adds a call from selftest to this same function. (https://patchwork.freedesktop.org/series/117713/) which is why i am adding the wakeref inside the

Re: [PATCH 2/5] drm/i915: Record which clients own a VM

2023-06-08 Thread kernel test robot
Hi Tvrtko, kernel test robot noticed the following build errors: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Tvrtko-Ursulin/drm-i915-Track-buffer-objects-belonging-to-clients/20230608-225344 base: git://anongit.freedesktop.org/drm/drm-tip

Re: [PATCH v8 6/8] drm/etnaviv: add driver support for the PCI devices

2023-06-08 Thread Bjorn Helgaas
On Wed, Jun 07, 2023 at 06:55:49PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > This patch adds PCI driver support on top of what we already have. Take > the GC1000 in LS7A1000/LS2K1000 as the first instance of the PCI device > driver. There is only one GPU core for the GC1000 in the LS7A1

Re: [PATCH v8 1/8] drm/etnaviv: add a dedicated function to register an irq handler

2023-06-08 Thread Bjorn Helgaas
On Wed, Jun 07, 2023 at 06:55:44PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > Because getting IRQ from a device is platform-dependent, PCI devices have > different methods for getting an IRQ. This patch is a preparation patch to > extend the driver for the PCI device support. > > Cc: Lu

Re: [PATCH] drm/amdgpu: Wrap -Wunused-but-set-variable in cc-option

2023-06-08 Thread Hamza Mahfooz
-sign-compare --- base-commit: 6bd4b01e8938779b0d959bdf33949a9aa258a363 change-id: 20230608-amdgpu-wrap-wunused-but-set-variable-in-cc-option-0be9528ac5c8 Best regards, -- Hamza

[PATCH] drm/amdgpu: Wrap -Wunused-but-set-variable in cc-option

2023-06-08 Thread Nathan Chancellor
nused-but-set-variable +subdir-ccflags-y += $(call cc-option, -Wunused-but-set-variable) subdir-ccflags-y += -Wno-unused-parameter subdir-ccflags-y += -Wno-type-limits subdir-ccflags-y += -Wno-sign-compare --- base-commit: 6bd4b01e8938779b0d959bdf33949a9aa258a363 change-id: 20230608-amdgpu-wr

Re: [PATCH] dma-fence: Bypass signaling annotation from dma_fence_is_signaled

2023-06-08 Thread kernel test robot
Hi Tvrtko, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-tip/drm-tip linus/master v6.4-rc5 next-20230608] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v2 08/10] HID: i2c-hid: Support being a panel follower

2023-06-08 Thread Doug Anderson
Hi, On Thu, Jun 8, 2023 at 8:37 AM Benjamin Tissoires wrote: > > > On Jun 07 2023, Douglas Anderson wrote: > > > > As talked about in the patch ("drm/panel: Add a way for other devices > > to follow panel state"), we really want to keep the power states of a > > touchscreen and the panel it's att

Re: [PATCH v2] Revert "drm/scheduler: Avoid accessing freed bad job."

2023-06-08 Thread Lucas Stach
Hi all, and almost 2 years later I stumbled across this exact issue still being present in the scheduler: if the driver bails out of the timeout handling before calling drm_sched_stop(), the timeout job will be leaked and the TDR timer will potentially not be restarted as the job isn't put back in

[linux-next:master] BUILD REGRESSION db10f126048021b86e43a5d6a335ec49dec10155

2023-06-08 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: db10f126048021b86e43a5d6a335ec49dec10155 Add linux-next specific files for 20230608 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202306081708.gtvacxsh-...@intel.com https

[PATCH v8 2/2] drm/tidss: Add support for AM625 DSS

2023-06-08 Thread Aradhya Bhatia
Add support for the DSS controller on TI's AM625 SoC in the tidss driver. The AM625 DSS supports 2 video planes connecting to 2 video ports. The first plane is a full plane supporting all the features, while the 2nd plane is a "lite" plane without scaling support. The first video port in AM625 DS

[PATCH v8 1/2] dt-bindings: display: ti, am65x-dss: Add am625 dss compatible

2023-06-08 Thread Aradhya Bhatia
The DSS controller on TI's AM625 SoC is an update from that on TI's AM65X SoC. The former has an additional OLDI TX on its first video port that helps output cloned video or WUXGA (1920x1200@60fps) resolution video output over a dual-link mode to reduce the required OLDI clock output. The second v

[PATCH v8 0/2] Add DSS support for AM625 SoC

2023-06-08 Thread Aradhya Bhatia
This patch series adds a new compatible for the Display SubSystem (DSS) controller on TI's AM625 SoC. It further adds the required support for the same in the tidss driver. The AM625-DSS is a newer version of the DSS from the AM65X version with the major change being the addition of another OLDI T

Re: [PATCH v2 0/2] Enable GPU on Smaug

2023-06-08 Thread Thierry Reding
From: Thierry Reding On Tue, 16 May 2023 09:28:27 +0100, Diogo Ivo wrote: > This patch series enables the use of the GM20B GPU in the > Google Pixel C. > > Patch 1 adds the needed regulator DT node for the GPU. > > Patch 2 enables the GPU in the DT. > > [...] Applied, thanks! [1/2] arm64: d

Re: [PATCH v2 0/2] Add support for Visionox R66451 AMOLED DSI panel

2023-06-08 Thread Neil Armstrong
Hi, On 31/05/2023 20:12, Jessica Zhang wrote: Add support for the 1080x2340 Visionox R66451 AMOLED DSI panel that comes with the Qualcomm HDK8350 display expansion pack. The driver will come with display compression (DSC v1.2) enabled by default. Signed-off-by: Jessica Zhang --- Changes in v2

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

2023-06-08 Thread Lee Jones
On Fri, 19 May 2023, Artur Weber wrote: > Also deprecate the pwm-period DT property, as it is now redundant > (pwms property already contains period value). > > Signed-off-by: Artur Weber > --- > drivers/video/backlight/lp855x_bl.c | 48 - > 1 file changed, 26 insert

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

2023-06-08 Thread Lee Jones
On Fri, 19 May 2023, Artur Weber wrote: > Notable changes: > - ROM child nodes use dashes instead of underscores; the driver > reads all child nodes regardless of their names, so this doesn't > break ABI. > - pwm-period argument is deprecated, as it effectively duplicates > the period value

Re: [PATCH v2 08/10] HID: i2c-hid: Support being a panel follower

2023-06-08 Thread Benjamin Tissoires
On Jun 07 2023, Douglas Anderson wrote: > > As talked about in the patch ("drm/panel: Add a way for other devices > to follow panel state"), we really want to keep the power states of a > touchscreen and the panel it's attached to in sync with each other. In > that spirit, add support to i2c-hid

[PULL] drm-intel-gt-next

2023-06-08 Thread Tvrtko Ursulin
Hi Dave, Daniel, Here goes the final pull request for 6.5. A few improvements to robustness of dealing with GuC communication issues, compute applications, small BAR systems perf/OA monitoring. Then a little bit more of Meteorlake enablement which this time round includes the HuC loading code, a

Re: [PATCH v3] drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow

2023-06-08 Thread Doug Anderson
Hi, On Wed, Jun 7, 2023 at 6:25 PM Su Hui wrote: > > Smatch error:buffer overflow 'ti_sn_bridge_refclk_lut' 5 <= 5. > > Fixes: cea86c5bb442 ("drm/bridge: ti-sn65dsi86: Implement the pwm_chip") > Signed-off-by: Su Hui > --- > drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 > 1 file changed, 4 in

Re: [PATCH v2 08/10] HID: i2c-hid: Support being a panel follower

2023-06-08 Thread Doug Anderson
url: > https://github.com/intel-lab-lkp/linux/commits/Douglas-Anderson/dt-bindings-HID-i2c-hid-Add-panel-property-to-i2c-hid-backed-touchscreens/20230608-055515 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > for-next > pa

[PATCH 5/5] drm/i915: Implement fdinfo memory stats printing

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use the newly added drm_print_memory_stats helper to show memory utilisation of our objects in drm/driver specific fdinfo output. To collect the stats we walk the per memory regions object lists and accumulate object size into the respective drm_memory_stats categories. Obj

[PATCH 4/5] drm/i915: Account ring buffer and context state storage

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Account ring buffers and logical context space against the owning client memory usage stats. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 ++ drivers/gpu/drm/i915/i915_drm_client.c | 10 ++ drivers/gpu/drm/i915/i915_dr

[PATCH 3/5] drm/i915: Track page table backing store usage

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Account page table backing store against the owning client memory usage stats. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_gtt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.c b/drivers/gpu/drm/i915/gt/int

[PATCH 1/5] drm/i915: Track buffer objects belonging to clients

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin In order to show per client memory usage lets start tracking which objects belong to which clients. We start with objects explicitly created by object creation UAPI and track it on a new per client lists, protected by a new per client lock. In order for delayed destruction (

[PATCH v2 0/5] fdinfo memory stats

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Second try, this time actually per client! :) I added tracking of most classes of objects which contribute to clients memory footprint and accouting along the similar lines as in Rob's msm code. Then printing it out to fdinfo using the drm helper Rob added. Example fdinfo w

[PATCH 2/5] drm/i915: Record which clients own a VM

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin To enable accounting of indirect client memory usage (such as page tables) in the following patch, lets start recording the creator of each PPGTT. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 11 --- drivers/gpu/drm/i915/gem

Re: [PATCH v2 00/10] drm/panel and i2c-hid: Allow panels and touchscreens to power sequence together

2023-06-08 Thread Doug Anderson
Hi, On Thu, Jun 8, 2023 at 12:17 AM Maxime Ripard wrote: > > Hi Douglas, > > On Wed, Jun 07, 2023 at 02:49:22PM -0700, Douglas Anderson wrote: > > > > The big motivation for this patch series is mostly described in the patch > > ("drm/panel: Add a way for other devices to follow panel state"), bu

[PATCH] dma-fence: Bypass signaling annotation from dma_fence_is_signaled

2023-06-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin For dma_fence_is_signaled signaling critical path annotations are an annoying cause of false positives when using dma_fence_is_signaled and indirectly higher level helpers such as dma_resv_test_signaled etc. Drop the critical path annotation since the "is signaled" API does

Re: [RFC 02/10] drm: Update file owner during use

2023-06-08 Thread Tvrtko Ursulin
On 21/04/2023 13:13, Emil Velikov wrote: Greetings everyone, Above all - hell yeah. Thank you Tvrtko, this has been annoying the hell out of me for ages. Yay! On Tue, 14 Mar 2023 at 14:19, Tvrtko Ursulin wrote: From: Tvrtko Ursulin With the typical model where the display server opend

Re: Adreno devfreq lockdep splat with 6.3-rc2

2023-06-08 Thread Johan Hovold
Hi Rob, Have you had a chance to look at this regression yet? It prevents us from using lockdep on the X13s as it is disabled as soon as we start the GPU. On Wed, Mar 15, 2023 at 10:19:21AM +0100, Johan Hovold wrote: > > Since 6.3-rc2 (or possibly -rc1), I'm now seeing the below > devfreq-relate

[PATCH] backlight: pwm_bl: Avoid backlight flicker applying initial PWM state

2023-06-08 Thread Philipp Zabel
max_brightness) { @@ -619,6 +617,8 @@ static int pwm_backlight_probe(struct platform_device *pdev) platform_set_drvdata(pdev, bl); return 0; +err_apply: + pwm_apply_state(pb->pwm, &state); err_alloc: if (data->exit) data->exit(&pdev

[PATCH] drm/sched: Add native dependency support to drm_sched

2023-06-08 Thread Donald Robson
This patch adds support for 'native' dependencies to DRM scheduler. In drivers that use a firmware based scheduler there are performance gains to be had by allowing waits to happen in the firmware, as this reduces the latency between signalling and job submission. Dependencies that can be awaited

[PATCH 10/12] accel/habanalabs: print return code when process termination fails

2023-06-08 Thread Oded Gabbay
From: Koby Elbaz As part of driver teardown, we attempt to kill all user processes. It shouldn't fail, but if it does we want to print the error code that the kapi returned to us. Signed-off-by: Koby Elbaz Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/commo

[PATCH 12/12] accel/habanalabs: rename fd_list to hpriv_list

2023-06-08 Thread Oded Gabbay
From: Koby Elbaz Every time an FD is returned to the user, the driver adds a corresponding private structure to the list. Yet, it's still a list of private structures rather than of FDs. Remove, as well, an unnecessary comment. Signed-off-by: Koby Elbaz Reviewed-by: Oded Gabbay Signed-off-by:

[PATCH 09/12] accel/habanalabs: fix standalone preboot descriptor request

2023-06-08 Thread Oded Gabbay
From: farah kassabri The preboot used to statically allocate memory for the comms descriptor on the device memory when driver requested the descriptor information. Now preboot moved to dynamic memory allocation where it wants to check the size the driver expects vs. what the f/w expects. Note the

[PATCH 11/12] accel/habanalabs: call put_pid after hpriv list is updated

2023-06-08 Thread Oded Gabbay
From: Koby Elbaz Because we might still be using related resources, decrementing PID's reference count should be done at later stages of the device release. A good place is right after the representing private structure is removed from LKD's list. Signed-off-by: Koby Elbaz Reviewed-by: Oded Gab

[PATCH 06/12] accel/habanalabs: set device status 'malfunction' while in rmmod

2023-06-08 Thread Oded Gabbay
From: Koby Elbaz hl_device_status() returns the status of an acquired device. If a device is going down (following an rmmod cmd), it should be marked as an unusable/malfunctioning device, and hence should not be acquired. However, since this was not the case so far (i.e., a device going down woul

[PATCH 07/12] accel/habanalabs: stop fetching MME SBTE error cause

2023-06-08 Thread Oded Gabbay
From: Ofir Bitton Because in this case we have only a single possible cause, we can safely stop fetching the cause from firmware. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/gaudi2/gaudi2.c | 31 ++-- 1 file

[PATCH 08/12] accel/habanalabs: handle arc farm razwi

2023-06-08 Thread Oded Gabbay
From: Dani Liberman Implement razwi handling for arc farm and add it to arc farm sei event handler. Signed-off-by: Dani Liberman Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/gaudi2/gaudi2.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletio

[PATCH 05/12] accel/habanalabs: print task name upon creation of a user context

2023-06-08 Thread Oded Gabbay
From: Tomer Tayar It is useful for debug to know which user process have acquired the device. Add this info to the relevant debug print, in addition to the already printed user context's ASID. Signed-off-by: Tomer Tayar Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/ha

[PATCH 03/12] accel/habanalabs: notify user about undefined opcode event

2023-06-08 Thread Oded Gabbay
From: Ofir Bitton In order for user to be aware of undefined opcode events, we must store all relevant information and notify user about the failure. The user will fetch the stored info via info ioctl. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers

[PATCH 04/12] accel/habanalabs: print task name and request code upon ioctl failure

2023-06-08 Thread Oded Gabbay
From: Tomer Tayar When an ioctl fails, it is useful to know what is the task command name and the full ioctl request code, in addition to the task pid and the ioctl number. Add the additional information to the relevant debug error prints. Signed-off-by: Tomer Tayar Reviewed-by: Oded Gabbay Si

[PATCH 02/12] accel/habanalabs: update pending reset flags with new reset requests

2023-06-08 Thread Oded Gabbay
From: Tomer Tayar If hl_device_cond_reset() is called while a reset is already pending but hasn't started, the reset request will be dropped. If the flags of the new request are more severe, e.g. a hard reset while the pending reset is a compute reset, the eventual reset won't be suitable for the

[PATCH 01/12] accel/habanalabs: prevent immediate hard reset due to 2 adjacent H/W events

2023-06-08 Thread Oded Gabbay
From: Tomer Tayar When a H/W event is received while a user is registered to events, no immediate hard reset will happen, and instead the user will be notified and will have some time to handle it and eventually release the device, after which the reset will be done. If a user, as part of the han

Re: [RESEND PATCH v2 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7

2023-06-08 Thread Alexandre TORGUE
Hi Dario On 6/7/23 08:31, Dario Binacchi wrote: Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 ++ 1 file changed, 35 i

RE: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-08 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API > > Hi Biju, > > On Thu, Jun 08, 2023 at 11:00:19AM +, Biju Das wrote: > > > Subject: Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device > > > API On Thu, Jun 08, 2023 at 0

Re: [PATCH drm-next v4 13/14] drm/nouveau: implement new VM_BIND uAPI

2023-06-08 Thread kernel test robot
: 33a86170888b7e4aa0cea94ebb9c67180139cea9 patch link: https://lore.kernel.org/r/20230606223130.6132-14-dakr%40redhat.com patch subject: [PATCH drm-next v4 13/14] drm/nouveau: implement new VM_BIND uAPI config: alpha-randconfig-s041-20230608 (https://download.01.org/0day-ci/archive/20230608/202306082035.j4zjw2he

Re: [PATCH V8 0/7] drm: bridge: samsung-dsim: Support variable clocking

2023-06-08 Thread Lucas Stach
Am Donnerstag, dem 08.06.2023 um 07:30 -0500 schrieb Adam Ford: > On Thu, Jun 8, 2023 at 6:40 AM Rasmus Villemoes > wrote: > > > > [...] > > > Have you tried using modetest to see what refresh rates are available? > > > > Hm. My userspace may be a little weird. When I run modetest I just get >

Re: [PATCH] drm/panel: s6d7aa0: remove the unneeded variable in s6d7aa0_lock

2023-06-08 Thread Neil Armstrong
Hi, On Thu, 08 Jun 2023 11:34:46 +0800, Wang Jianzheng wrote: > Remove unneeded variable and directly return 0. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel: s6d7aa0: remove the unneeded variable in s6d7aa0_lock https://cgi

  1   2   >