Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-10-08 Thread Christian König
Am 06.10.23 um 20:48 schrieb Ray Strode: Hi, On Fri, Oct 6, 2023 at 3:12 AM Christian König wrote: When the operation busy waits then that *should* get accounted to the CPU time of the current process. When the operation sleeps and waits for some interrupt for example it should not get account

Re: [PATCH v2 12/16] platform/x86/amd/pmf: Add PMF-AMDGPU get interface

2023-10-08 Thread Shyam Sundar S K
On 10/4/2023 6:19 PM, Ilpo Järvinen wrote: > On Sat, 30 Sep 2023, Shyam Sundar S K wrote: > >> In order to provide GPU inputs to TA for the Smart PC solution to work, we >> need to have interface between the PMF driver and the AMDGPU driver. >> >> Add the initial code path for get interface fro

Re: [PATCH v2 08/16] platform/x86/amd/pmf: Add support to update system state

2023-10-08 Thread Shyam Sundar S K
On 10/4/2023 5:53 PM, Ilpo Järvinen wrote: > On Sat, 30 Sep 2023, Shyam Sundar S K wrote: > >> PMF driver based on the output actions from the TA can request to update >> the system states like entering s0i3, lock screen etc. by generating >> an uevent. Based on the udev rules set in the usersp

Re: [PATCH v2 06/16] platform/x86/amd/pmf: Add support to get inputs from other subsystems

2023-10-08 Thread Shyam Sundar S K
On 10/4/2023 5:44 PM, Ilpo Järvinen wrote: > On Sat, 30 Sep 2023, Shyam Sundar S K wrote: > >> PMF driver sends changing inputs from each subystem to TA for evaluating >> the conditions in the policy binary. >> >> Add initial support of plumbing in the PMF driver for Smart PC to get >> informat

Re: [PATCH v2 04/16] platform/x86/amd/pmf: Add support for PMF Policy Binary

2023-10-08 Thread Shyam Sundar S K
On 10/4/2023 5:30 PM, Ilpo Järvinen wrote: > On Sat, 30 Sep 2023, Shyam Sundar S K wrote: > >> PMF Policy binary is a encrypted and signed binary that will be part >> of the BIOS. PMF driver via the ACPI interface checks the existence >> of Smart PC bit. If the advertised bit is found, PMF driv

Re: [PATCH v2 01/16] platform/x86/amd/pmf: Add PMF TEE interface

2023-10-08 Thread Shyam Sundar S K
On 10/4/2023 4:20 PM, Ilpo Järvinen wrote: > On Sat, 30 Sep 2023, Shyam Sundar S K wrote: > >> AMD PMF driver loads the PMF TA (Trusted Application) into the AMD >> ASP's (AMD Security Processor) TEE (Trusted Execution Environment). >> >> PMF Trusted Application is a secured firmware placed und

Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570

2023-10-08 Thread Huacai Chen
Hi, all, On Tue, Sep 26, 2023 at 10:31 PM Huacai Chen wrote: > > Hi, all, > > On Tue, Sep 26, 2023 at 7:15 PM Linux regression tracking (Thorsten > Leemhuis) wrote: > > > > [CCing the regression list, as it should be in the loop for regressions: > > https://docs.kernel.org/admin-guide/reporting-

Re: [PATCH] drm/ci: Uprev IGT to pull in fixes

2023-10-08 Thread Helen Koike
On 20/09/2023 20:22, Helen Koike wrote: On 20/09/2023 16:44, Rob Clark wrote: On Wed, Sep 20, 2023 at 11:53 AM Helen Koike wrote: Hi Rob, Thanks for the patch. On 20/09/2023 15:10, Rob Clark wrote: On Wed, Sep 20, 2023 at 11:06 AM Rob Clark wrote: From: Rob Clark There have been

Re: [PATCH v2 2/2] drm/ci: add tests on vkms

2023-10-08 Thread Helen Koike
On 27/09/2023 17:52, Jessica Zhang wrote: On 9/22/2023 10:12 AM, Helen Koike wrote: Add job that runs igt on top of vkms. Signed-off-by: Helen Koike Tested-by: Jessica Zhang Acked-by: Jessica Zhang Thanks for the tests and reviews. For some reason this is broken with the latest ker

Re: [PATCH v2 1/2] drm/ci: uprev mesa version - fix container build

2023-10-08 Thread Helen Koike
Dear maintainers, Do not pick this patch, I re-sent it as part of the series [PATCH 0/9] drm/ci: fixes and improvements https://lists.freedesktop.org/archives/dri-devel/2023-October/425909.html Thanks Regards, Helen On 22/09/2023 14:12, Helen Koike wrote: When building containers, som

[PATCH 0/9] drm/ci: fixes and improvements

2023-10-08 Thread Helen Koike
This series contains the following several fixes, making drm/ci much more reliable and useful. To work properly, the following patches are also required: [PATCH 2/2] drm/ci: force-enable CONFIG_MSM_MMCC_8996 as built-in https://patchwork.kernel.org/project/linux-arm-msm/patch/20231008132320.76254

[PATCH 8/9] drm/ci: do not automatically retry on error

2023-10-08 Thread Helen Koike
Since the kernel doesn't use a bot like Mesa that requires tests to pass in order to merge the patches, leave it to developers and/or maintainers to manually retry. Suggested-by: Rob Clark Signed-off-by: Helen Koike --- drivers/gpu/drm/ci/gitlab-ci.yml | 14 -- 1 file changed, 14 de

[PATCH 9/9] drm/ci: docs: add step about how to request privileges

2023-10-08 Thread Helen Koike
Clarify the procedure developer must follow to request privileges to run tests on Freedesktop gitlab CI. This measure was added to avoid untrusted people to misuse the infrastructure. Signed-off-by: Helen Koike --- Documentation/gpu/automated_testing.rst | 7 +-- 1 file changed, 5 insertion

[PATCH 7/9] drm/ci: export kernel config

2023-10-08 Thread Helen Koike
Export the resultant kernel config, making it easier to verify if the resultant config was correctly generated. Suggested-by: Rob Clark Signed-off-by: Helen Koike --- drivers/gpu/drm/ci/build.sh | 1 + drivers/gpu/drm/ci/image-tags.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(

[PATCH 6/9] drm/ci: adjust the number of shards

2023-10-08 Thread Helen Koike
Adjust the number of shards to the number of available devices in the farm. Signed-off-by: Helen Koike --- drivers/gpu/drm/ci/test.yml | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml index 3479d2a0108d.

[PATCH 5/9] drm/ci: clean up xfails (specially flakes list)

2023-10-08 Thread Helen Koike
Since the script that collected the list of the expectation files was bogus and placing test to the flakes list incorrectly, restart the expectation files with the correct script. This reduces a lot the number of tests in the flakes list. Signed-off-by: Helen Koike --- .../gpu/drm/ci/xfails/amd

[PATCH 2/9] drm/ci: fix DEBIAN_ARCH and get amdgpu probing

2023-10-08 Thread Helen Koike
amdgpu driver wasn't loading because amdgpu firmware wasn't being installed in the rootfs due to the wrong DEBIAN_ARCH variable. rename ARCH to DEBIAN_ARCH also, so we don't have the confusing DEBIAN_ARCH, KERNEL_ARCH and ARCH. Signed-off-by: Helen Koike --- drivers/gpu/drm/ci/build.sh |

[PATCH 4/9] drm/ci: uprev IGT and make sure core_getversion is run

2023-10-08 Thread Helen Koike
IGT has recently merged a patch that makes code_getversion test to fails if the driver isn't loaded or if it isn't the expected one defined in variable IGT_FORCE_DRIVER. Without this test, jobs were passing when the driver didn't load or probe for some reason, giving the ilusion that everything wa

[PATCH 3/9] drm/ci: add helper script update-xfails.py

2023-10-08 Thread Helen Koike
Add helper script that given a gitlab pipeline url, analyse which are the failures and flakes and update the xfails folder accordingly. Example: Trigger a pipeline in gitlab infrastructure, than re-try a few jobs more than once (so we can have data if failues are consistent across jobs with the sa

[PATCH 1/9] drm/ci: uprev mesa version - fix container build

2023-10-08 Thread Helen Koike
When building containers, some rust packages were installed without locking the dependencies version, which got updated and started giving errors like: error: failed to compile `bindgen-cli v0.62.0`, intermediate artifacts can be found at `/tmp/cargo-installkNKRwf` Caused by: package `rustix v0

Re: [PATCH 2/2] drm/ci: force-enable CONFIG_MSM_MMCC_8996 as built-in

2023-10-08 Thread Helen Koike
On 08/10/2023 10:23, Dmitry Baryshkov wrote: Enable CONFIG_MSM_MMCC_8996, the multimedia clock controller on Qualcomm MSM8996 to prevent the the board from hitting the probe deferral timeouts in CI run. Signed-off-by: Dmitry Baryshkov Tested-by: Helen Koike Pipeline: https://gitlab.free

Re: [PATCH] drm/msm/dpu: Use the encoder for default CRC source

2023-10-08 Thread Rob Clark
On Sun, Oct 8, 2023 at 4:21 PM Helen Koike wrote: > > > > On 08/10/2023 16:59, Dmitry Baryshkov wrote: > > On Sun, 8 Oct 2023 at 20:56, Rob Clark wrote: > >> > >> From: Rob Clark > >> > >> i-g-t expects the CRC to reflect any applied CTM. But the layer mixer > >> source is upstream of the DSPP,

[PATCH drm-misc-next v6 4/6] drm/gpuvm: track/lock/validate external/evicted objects

2023-10-08 Thread Danilo Krummrich
Currently the DRM GPUVM offers common infrastructure to track GPU VA allocations and mappings, generically connect GPU VA mappings to their backing buffers and perform more complex mapping operations on the GPU VA space. However, there are more design patterns commonly used by drivers, which can p

[PATCH drm-misc-next v6 6/6] drm/nouveau: use GPUVM common infrastructure

2023-10-08 Thread Danilo Krummrich
GPUVM provides common infrastructure to track external and evicted GEM objects as well as locking and validation helpers. Especially external and evicted object tracking is a huge improvement compared to the current brute force approach of iterating all mappings in order to lock and validate the G

[PATCH drm-misc-next v6 5/6] drm/nouveau: make use of the GPUVM's shared dma-resv

2023-10-08 Thread Danilo Krummrich
DRM GEM objects private to a single GPUVM can use a shared dma-resv. Make use of the shared dma-resv of GPUVM rather than a driver specific one. The shared dma-resv originates from a "root" GEM object serving as container for the dma-resv to make it compatible with drm_exec. In order to make sure

[PATCH drm-misc-next v6 3/6] drm/gpuvm: add an abstraction for a VM / BO combination

2023-10-08 Thread Danilo Krummrich
Add an abstraction layer between the drm_gpuva mappings of a particular drm_gem_object and this GEM object itself. The abstraction represents a combination of a drm_gem_object and drm_gpuvm. The drm_gem_object holds a list of drm_gpuvm_bo structures (the structure representing this abstraction), wh

[PATCH drm-misc-next v6 2/6] drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm

2023-10-08 Thread Danilo Krummrich
Introduce flags for struct drm_gpuvm, this required by subsequent commits. Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/drm_gpuvm.c| 4 +++- drivers/gpu/drm/nouveau/nouveau_uvmm.c | 2 +- include/drm/drm_gpuvm.h| 17 - 3 files changed, 20 inse

[PATCH drm-misc-next v6 1/6] drm/gpuvm: add common dma-resv per struct drm_gpuvm

2023-10-08 Thread Danilo Krummrich
Provide a common dma-resv for GEM objects not being used outside of this GPU-VM. This is used in a subsequent patch to generalize dma-resv, external and evicted object handling and GEM validation. Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/drm_gpuvm.c| 56 +++

[PATCH drm-misc-next v6 0/6] [RFC] DRM GPUVM features

2023-10-08 Thread Danilo Krummrich
Currently GPUVM offers common infrastructure to track GPU VA allocations and mappings, generically connect GPU VA mappings to their backing buffers and perform more complex mapping operations on the GPU VA space. However, there are more design patterns commonly used by drivers, which can potenti

Re: [PATCH] drm/msm/dpu: Use the encoder for default CRC source

2023-10-08 Thread Helen Koike
On 08/10/2023 16:59, Dmitry Baryshkov wrote: On Sun, 8 Oct 2023 at 20:56, Rob Clark wrote: From: Rob Clark i-g-t expects the CRC to reflect any applied CTM. But the layer mixer source is upstream of the DSPP, so it is before the CTM is applied. Switch the default source to 'encoder' ins

Re: [PATCH drm-misc-next v5 3/6] drm/gpuvm: add an abstraction for a VM / BO combination

2023-10-08 Thread Danilo Krummrich
On 10/5/23 13:51, Thomas Hellström wrote: Hi, On 9/28/23 21:16, Danilo Krummrich wrote: This patch adds an abstraction layer between the drm_gpuva mappings of NIT: imperative:  s/This patch adds/Add/ a particular drm_gem_object and this GEM object itself. The abstraction represents a combinat

Re: [PATCH drm-misc-next v5 0/6] [RFC] DRM GPUVM features

2023-10-08 Thread Danilo Krummrich
Hi Thomas, On 10/5/23 11:35, Thomas Hellström wrote: Hi, Danilo On 9/28/23 21:16, Danilo Krummrich wrote: Currently GPUVM offers common infrastructure to track GPU VA allocations and mappings, generically connect GPU VA mappings to their backing buffers and perform more complex mapping operati

[PATCH] drm/panel: simple: Fix Innolux G101ICE-L01 bus flags

2023-10-08 Thread Marek Vasut
Add missing .bus_flags = DRM_BUS_FLAG_DE_HIGH to this panel description, ones which match both the datasheet and the panel display_timing flags . Fixes: 1e29b840af9f ("drm/panel: simple: Add Innolux G101ICE-L01 panel") Signed-off-by: Marek Vasut --- Cc: Daniel Vetter Cc: David Airlie Cc: Jessic

[PATCH] drm/panel: simple: Fix Innolux G101ICE-L01 timings

2023-10-08 Thread Marek Vasut
The Innolux G101ICE-L01 datasheet [1] page 17 table 6.1 INPUT SIGNAL TIMING SPECIFICATIONS indicates that maximum vertical blanking time is 40 lines. Currently the driver uses 29 lines. Fix it, and since this panel is a DE panel, adjust the timings to make them less hostile to controllers which ca

[PATCH v2] drm/i915/uapi: fix doc typos

2023-10-08 Thread Randy Dunlap
Correct typo of "its". Add commas for clarity. Capitalize L3. Signed-off-by: Randy Dunlap Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-...@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: Ville Syrjälä Cc: dri-dev

Re: [PATCH v17 13/18] drm/shmem-helper: Add memory shrinker

2023-10-08 Thread Dmitry Osipenko
On 10/3/23 12:00, Boris Brezillon wrote: >> I'd prefer to keep refcounting as is, don't see how to implement your >> suggestion. > Can you be more specific? I don't really see what the problem is with > decrementing pages_use_count when you free the sgt (eviction), and > re-incrementing it when the

Re: [PATCH] drm/panel: Move AUX B116XW03 out of panel-edp back to panel-simple

2023-10-08 Thread Anton Bambura
On 10/5/23 21:10, Doug Anderson wrote: Hi, On Tue, Sep 26, 2023 at 7:01 AM Doug Anderson wrote: Hi, On Tue, Sep 26, 2023 at 1:06 AM AngeloGioacchino Del Regno wrote: Il 26/09/23 00:00, Douglas Anderson ha scritto: In commit 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simp

Re: [PATCH] drm/msm/dpu: Use the encoder for default CRC source

2023-10-08 Thread Dmitry Baryshkov
On Sun, 8 Oct 2023 at 20:56, Rob Clark wrote: > > From: Rob Clark > > i-g-t expects the CRC to reflect any applied CTM. But the layer mixer > source is upstream of the DSPP, so it is before the CTM is applied. > > Switch the default source to 'encoder' instead so that the CRC is > captured downs

Re: [v1 0/2] Break out as separate driver from boe-tv101wum-nl6 panel driver

2023-10-08 Thread Linus Walleij
On Sat, Oct 7, 2023 at 8:06 AM Cong Yang wrote: > Linus series proposed to break out ili9882t as separate driver, > but he didn't have time for that extensive rework of the driver. > As discussed by Linus and Doug [1], keep macro using the "struct > panel_init_cmd" > until we get some resolution

[PATCH] drm/msm/dpu: Use the encoder for default CRC source

2023-10-08 Thread Rob Clark
From: Rob Clark i-g-t expects the CRC to reflect any applied CTM. But the layer mixer source is upstream of the DSPP, so it is before the CTM is applied. Switch the default source to 'encoder' instead so that the CRC is captured downstream of the DSPP. Signed-off-by: Rob Clark --- drivers/gp

[PATCH] drm/nouveau: Fixing indentation and adding License Identifier tag

2023-10-08 Thread Bragatheswaran Manickavel
On running checkpatch.pl to nouveau_drm.h identified few warnings. Fixing them in this patch WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 +/* WARNING: space prohibited between function name and open parenthesis '(' +#define DRM_IOCTL_NOUVEAU_CHANNEL_FREE DRM_IOW (DRM_

[PATCH] dma-buf: Fix NULL pointer dereference in sanitycheck()

2023-10-08 Thread Pavel Sakharov
If mock_chain() returns NULL, NULL pointer is dereferenced in dma_fence_enable_sw_signaling(). Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Pavel Sakharov Fixes: d62c43a953ce ("dma-buf: Enable signaling on fence for selftests") --- drivers/dma-buf/st-dma-fen

[PATCH] drm/i915/mtl: Remove the 'force_probe' requirement for Meteor Lake

2023-10-08 Thread Andi Shyti
From: Radhakrishna Sripada Meteor Lake has demonstrated consistent stability for some time. All user-space API modifications tide to its core platform functions are operational. The necessary firmware components are set up and comprehensive testing has been condused over a period. Given the rec

Re: [PATCH] drm/nouveau: fix kernel-doc warning

2023-10-08 Thread Bragatheswaran Manickavel
On 08/10/23 19:37, Randy Dunlap wrote: Hi, On 10/8/23 00:06, Bragatheswaran Manickavel wrote: Identified below document warning in latest linux-next. ./include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX: on line 49 - I thought it was a doc line Also

Re: [PATCH] drm/nouveau: fix kernel-doc warning

2023-10-08 Thread Bagas Sanjaya
On Sun, Oct 08, 2023 at 12:36:18PM +0530, Bragatheswaran Manickavel wrote: > @@ -458,15 +458,15 @@ struct drm_nouveau_svm_bind { > > #define DRM_IOCTL_NOUVEAU_GETPARAM DRM_IOWR(DRM_COMMAND_BASE + > DRM_NOUVEAU_GETPARAM, struct drm_nouveau_getparam) > #define DRM_IOCTL_NOUVEAU_CHANNEL

Re: [PATCH] drm/nouveau: fix kernel-doc warning

2023-10-08 Thread Randy Dunlap
Hi, On 10/8/23 00:06, Bragatheswaran Manickavel wrote: > Identified below document warning in latest linux-next. > ./include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand > * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX: on line 49 - I thought it was a doc line > > Also, on running checkpatch.pl to no

[PATCH v2] drm/nouveau: exec: fix ioctl kernel-doc warning

2023-10-08 Thread Randy Dunlap
kernel-doc emits a warning: include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX on line 49 - I thought it was a doc line We don't have a way to document a macro value via kernel-doc, so change the "/**" kernel-doc marker to a C comment and format the

Re: [PATCH 0/7] drm/msm/dp: Simplify DPCD related code with helpers

2023-10-08 Thread Dmitry Baryshkov
On Tue, 29 Aug 2023 11:47:25 -0700, Stephen Boyd wrote: > This driver open-codes a few of the DPCD register reads when it can be > simplified by using the helpers instead. This series reworks the MSM DP > driver to use the DPCD helpers and removes some dead code along the way. > There's the poten

Re: [PATCH 0/2] drm/msm/dp: More DPCD cleanups

2023-10-08 Thread Dmitry Baryshkov
On Wed, 06 Sep 2023 11:12:24 -0700, Stephen Boyd wrote: > This is a follow-on to this series[1]. I can resend the whole pile if > desired. > > [1] https://lore.kernel.org/r/20230829184735.2841739-1-swb...@chromium.org > > Stephen Boyd (2): > drm/msm/dp: Inline dp_display_is_sink_count_zero()

Re: [PATCH -next 0/7] drm: Remove many unnecessary NULL values

2023-10-08 Thread Dmitry Baryshkov
On Wed, 09 Aug 2023 11:44:38 +0800, Ruan Jinjie wrote: > The NULL initialization of the pointers assigned by kzalloc() or > kunit_kzalloc() first is not necessary, because if the kzalloc() or > kunit_kzalloc() failed, the pointers will be assigned NULL, otherwise > it works as usual. so remove it

Re: [PATCH v5 0/8] drm/msm/dpu: change interrupts code to make 0 be the no IRQ

2023-10-08 Thread Dmitry Baryshkov
On Wed, 02 Aug 2023 13:04:18 +0300, Dmitry Baryshkov wrote: > Having an explicit init of interrupt fields to -1 for not existing IRQs > makes it easier to forget and/or miss such initialisation, resulting in > a wrong interrupt definition. > > Instead shift all IRQ indices to turn '0' to be the

Re: [PATCH v4 0/4] drm/msm: Enable widebus for DSI

2023-10-08 Thread Dmitry Baryshkov
On Tue, 22 Aug 2023 10:42:03 -0700, Jessica Zhang wrote: > DSI 6G v2.5.x+ and DPU support a data-bus widen mode that allows DSI > to send 48 bits of compressed data per pclk instead of 24. > > For all chipsets that support this mode, enable it whenever DSC is > enabled as recommended by the hard

Re: [PATCH 1/2] dt-bindings: display: msm: Add missing unevaluatedProperties on child node schemas

2023-10-08 Thread Dmitry Baryshkov
On Mon, 25 Sep 2023 16:24:24 -0500, Rob Herring wrote: > Just as unevaluatedProperties or additionalProperties are required at > the top level of schemas, they should (and will) also be required for > child node schemas. That ensures only documented properties are > present for any node. > > A

Re: [PATCH] drm/msm/dp: skip validity check for DP CTS EDID checksum

2023-10-08 Thread Dmitry Baryshkov
On Fri, 01 Sep 2023 17:20:34 +0300, Jani Nikula wrote: > The DP CTS test for EDID last block checksum expects the checksum for > the last block, invalid or not. Skip the validity check. > > For the most part (*), the EDIDs returned by drm_get_edid() will be > valid anyway, and there's the CTS wo

Re: [PATCH v3 0/8] drm/msm/dpu: move INTF tearing checks to dpu_encoder_phys_cmd_ini

2023-10-08 Thread Dmitry Baryshkov
On Mon, 04 Sep 2023 05:04:46 +0300, Dmitry Baryshkov wrote: > rop two feature flags, DPU_INTF_TE and DPU_PINGPONG_TE, in favour of > performing the MDSS revision checks instead. > > Changes since v2: > - Added guarding checks for hw_intf and hw_pp in debug print (Marijn) > - Removed extra empty

Re: [PATCH] drm/msm/dp: support setting the DP subconnector type

2023-10-08 Thread Dmitry Baryshkov
On Mon, 04 Sep 2023 01:24:32 +0300, Dmitry Baryshkov wrote: > Read the downstream port info and set the subconnector type accordingly. > > Applied, thanks! [1/1] drm/msm/dp: support setting the DP subconnector type https://gitlab.freedesktop.org/lumag/msm/-/commit/631557f9741b Best reg

[PATCH 1/2] drm/ci: pick up -external-fixes from the merge target repo

2023-10-08 Thread Dmitry Baryshkov
In case of the merge requests it might be useful to push repo-specific fixes which have not yet propagated to the -external-fixes branch in the main UPSTREAM_REPO. For example, in case of drm/msm development, we are staging fixes locally for testing, before pushing them to the drm/drm repo. Thus, i

[PATCH 2/2] drm/ci: force-enable CONFIG_MSM_MMCC_8996 as built-in

2023-10-08 Thread Dmitry Baryshkov
Enable CONFIG_MSM_MMCC_8996, the multimedia clock controller on Qualcomm MSM8996 to prevent the the board from hitting the probe deferral timeouts in CI run. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/ci/arm64.config | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ci

Re: [PATCH 0/4] drm/i915/vlv_dsi: Add quirks for x86 android tablets (v3)

2023-10-08 Thread Hans de Goede
Hi All, Ping what is the status of this now? This v3 addresses all review remarks from previous versions (specifically the request to file + link gitlab issues). So AFAICT this is ready for merging ? But I'm waiting for an ack for this before pushing it do drm-intel-next myself ... Regards, Ha

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-10-08 Thread Michel Dänzer
On 10/6/23 20:48, Ray Strode wrote: > > Note, a point that I don't think has been brought up yet, too, is > the system unbound workqueue doesn't run with real time priority. > Given the lion's share of mutter's drmModeAtomicCommit calls are > nonblock, and so are using the system unbound workqueue

RE: [PATCH v3 3/8] drm: lcdif: enable DMA before display

2023-10-08 Thread Ying Liu
On Thursday, September 28, 2023 7:36 PM, Lucas Stach wrote: > Otherwise the DMA enable races with the fetch start, which causes > wrong or no data to be scanned out on the first frame. Also there > is no point in waiting for the DMA disable when the controller is > going to shut down. Simply disa

[RFC v1 4/5] drm/netlink: Define multicast groups

2023-10-08 Thread Aravind Iddamsetty
Netlink subsystem supports event notifications to userspace. we define two multicast groups for correctable and uncorrectable errors to which userspace can subscribe and be notified when any of those errors happen. The group names are local to the driver's genl netlink family. Signed-off-by: Aravi

[RFC v2 5/5] drm/xe/RAS: send multicast event on occurrence of an error

2023-10-08 Thread Aravind Iddamsetty
Whenever a correctable or an uncorrectable error happens an event is sent to the corresponding listeners of these groups. v2: Rebase Signed-off-by: Aravind Iddamsetty --- drivers/gpu/drm/xe/xe_hw_error.c | 33 1 file changed, 33 insertions(+) diff --git a/drive

[RFC v2 3/5] drm/xe/RAS: Expose the error counters

2023-10-08 Thread Aravind Iddamsetty
We expose the various error counters supported on a hardware via genl subsytem through the registered commands to userspace. The DRM_RAS_CMD_QUERY lists the error names with config id, DRM_RAD_CMD_READ_ONE returns the counter value for the requested config id and the DRM_RAS_CMD_READ_ALL lists the

[RFC v2 2/5] drm/xe/RAS: Register netlink capability

2023-10-08 Thread Aravind Iddamsetty
Register netlink capability with the DRM and register the driver callbacks to DRM RAS netlink commands. v2: Move the netlink registration parts to DRM susbsytem (Tomer Tayar) Cc: Tomer Tayar Signed-off-by: Aravind Iddamsetty --- drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/x

[RFC v3 1/5] drm/netlink: Add netlink infrastructure

2023-10-08 Thread Aravind Iddamsetty
Define the netlink registration interface and commands, attributes that can be commonly used across by drm drivers. This patch intends to use the generic netlink family to expose various stats of device. At present it defines some commands that shall be used to expose RAS error counters. v2: defin

[RFC v3 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem

2023-10-08 Thread Aravind Iddamsetty
Rebased on the latest XE branch Our hardware supports RAS(Reliability, Availability, Serviceability) by reporting the errors to the host, which the KMD processes and exposes a set of error counters which can be used by observability tools to take corrective actions or repairs. Traditionally there

[PATCH 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero

2023-10-08 Thread Bouke Sybren Haarsma
Add quirk orientation for the Ayn Loki Zero. This also has been tested/used by the JELOS team. Signed-off-by: Bouke Sybren Haarsma --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drive

[PATCH 2/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max

2023-10-08 Thread Bouke Sybren Haarsma
Add quirk orientation for Ayn Loki Max model. This has been tested by JELOS team that uses their own patched kernel for a while now and confirmed by users in the ChimeraOS discord servers. Signed-off-by: Bouke Sybren Haarsma --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++ 1 file

[PATCH 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max

2023-10-08 Thread Bouke Sybren Haarsma
Add orientation quirks for AYN loki devices: - Ayn Loki Zero - Ayn Loki Max The quirks have been tested by the JELOS team and ChimeraOS who have been patching their own kernel. This has been confirmed working by users in the ChimeraOS discord servers. Since there are additional Ayn Loki devices I

[PATCH] drm/nouveau: fix kernel-doc warning

2023-10-08 Thread Bragatheswaran Manickavel
Identified below document warning in latest linux-next. ./include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX: on line 49 - I thought it was a doc line Also, on running checkpatch.pl to nouveau_drm.h identified few more warnings/errors and fixing them in

[PATCH] drm/amdgpu: fix SI failure due to doorbells allocation

2023-10-08 Thread Icenowy Zheng
SI hardware does not have doorbells at all, however currently the code will try to do the allocation and thus fail, makes SI AMDGPU not usable. Fix this failure by skipping doorbells allocation when doorbells count is zero. Fixes: 54c30d2a8def ("drm/amdgpu: create kernel doorbell pages") Signed-o