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

2023-10-19 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 Reviewed-by: David Heidelberg --- v2: - fix typo in commit message

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

2023-10-19 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 Reviewed-by: David Heidelberg --- v2: - no changes --- drivers/gpu/drm/ci

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

2023-10-19 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 Acked-by: Dmitry Baryshkov Reviewed-by: David Heidelberg --- v2: - no changes --- drivers/gpu/drm/ci/build.sh | 1

[PATCH v2 6/9] drm/ci: add subset-1-gfx to LAVA_TAGS and adjust shards

2023-10-19 Thread Helen Koike
developers from getting their patches merged. Signed-off-by: Helen Koike Reviewed-by: David Heidelberg --- v2: - add subset-1-gfx tag to LAVA_TAGS - update commit message --- drivers/gpu/drm/ci/gitlab-ci.yml | 2 +- drivers/gpu/drm/ci/test.yml | 23 ++- 2 files changed, 15

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

2023-10-19 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 Reviewed-by: David Heidelberg

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

2023-10-19 Thread Helen Koike
was ok. Uprev IGT to include this modification and include core_getversion test in all the shards. Signed-off-by: Helen Koike Reviewed-by: David Heidelberg --- v2: - fixed typo in the commit message --- drivers/gpu/drm/ci/gitlab-ci.yml | 2 +- drivers/gpu/drm/ci/igt_runner.sh | 31

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

2023-10-19 Thread Helen Koike
with the same name or if they are flakes) and execute: update-xfails.py https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/970661 git diff should show you that it updated files in xfails folder. Signed-off-by: Helen Koike Tested-by: Vignesh Raman Reviewed-by: David Heidelberg --- Hello

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

2023-10-19 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 Reviewed-by: David Heidelberg --- v2

[PATCH v2 1/9] drm/ci: uprev mesa version: fix container build & crosvm

2023-10-19 Thread Helen Koike
-by: Helen Koike [crosvm mesa update] Co-Developed-by: Vignesh Raman Signed-off-by: Vignesh Raman [v1 container build uprev] Tested-by: Jessica Zhang Acked-by: Jessica Zhang Reviewed-by: David Heidelberg --- v2: - update to an even newer version of mesa to integrate crosvm uprev --- drivers/gpu

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

2023-10-19 Thread Helen Koike
...@linaro.org/ [PATCH] drm/ci: Enable CONFIG_BACKLIGHT_CLASS_DEVICE https://patchwork.kernel.org/project/dri-devel/patch/20231002164715.157298-1-robdcl...@gmail.com/ Helen Koike (9): drm/ci: uprev mesa version: fix container build & crosvm drm/ci: fix DEBIAN_ARCH and get amdgpu probing drm/ci:

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

2023-10-19 Thread Helen Koike
for testing, before pushing them to the drm/drm repo. Thus, if the CI run was triggered by merge request, also pick up the -external fixes basing on the the CI_MERGE target repo / and branch. Signed-off-by: Dmitry Baryshkov Acked-by: Helen Koike Thanks! --- drivers/gpu/drm/ci/build.sh | 5 + 1

Re: [PATCH] drm/doc: ci: Require more context for flaky tests

2023-10-19 Thread Helen Koike
On 19/10/2023 06:46, Maxime Ripard wrote: Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix. Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes. Link:

Re: [PATCH v5 9/9] drm: ci: Update xfails

2023-10-19 Thread Helen Koike
On 19/10/2023 13:42, Helen Koike wrote: On 19/10/2023 04:06, Vignesh Raman wrote: Update msm-apq8016-fails, mediatek-mt8173-fails and virtio_gpu-none-fails to include the tests which fail. Update mediatek-mt8173-flakes to include the tests which flakes. Update virtio_gpu-none-skips

Re: [PATCH v5 9/9] drm: ci: Update xfails

2023-10-19 Thread Helen Koike
On 19/10/2023 04:06, Vignesh Raman wrote: Update msm-apq8016-fails, mediatek-mt8173-fails and virtio_gpu-none-fails to include the tests which fail. Update mediatek-mt8173-flakes to include the tests which flakes. Update virtio_gpu-none-skips to include the tests that need to be skipped.

Re: [PATCH v7 0/6] drm: Add support for atomic async page-flip

2023-10-17 Thread Helen Koike
On 17/10/2023 06:28, André Almeida wrote: Hi, This work from me and Simon adds support for DRM_MODE_PAGE_FLIP_ASYNC through the atomic API. This feature is already available via the legacy API. The use case is to be able to present a new frame immediately (or as soon as possible), even if

Re: [PATCH] drm/ci: Default to UART for logging

2023-10-09 Thread Helen Koike
cc +guilherme On 06/10/2023 14:32, Rob Clark wrote: From: Rob Clark ssh logging is the default for mesa, as it is generally more reliable. But if there are kernel issues, especially at boot, UART logging is infinitely more useful. Signed-off-by: Rob Clark ---

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

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

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

2023-10-08 Thread Helen Koike
/20231008132320.762542-2-dmitry.barysh...@linaro.org/ [PATCH] drm/ci: Enable CONFIG_BACKLIGHT_CLASS_DEVICE https://patchwork.kernel.org/project/dri-devel/patch/20231002164715.157298-1-robdcl...@gmail.com/ Helen Koike (9): drm/ci: uprev mesa version - fix container build drm/ci: fix DEBIAN_ARCH and get amdgpu

[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

[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

[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

[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
was ok. Uprev IGT to include this modification and include core_getversion test in all the shards. Signed-off-by: Helen Koike --- drivers/gpu/drm/ci/gitlab-ci.yml | 2 +- drivers/gpu/drm/ci/igt_runner.sh | 31 --- drivers/gpu/drm/ci/image-tags.yml | 2 +- 3 files

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

2023-10-08 Thread Helen Koike
with the same name or if they are flakes) and execute: update-xfails.py https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/970661 git diff should show you that it updated files in xfails folder. Signed-off-by: Helen Koike --- Hello, This script is being very handy for me, so I suppose

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

2023-10-08 Thread Helen Koike
v0.38.13` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.60.0 A patch to Mesa was recently added fixing this error, so update it. Signed-off-by: Helen Koike --- Derived work from RFC: https://patchwork.kernel.org/project/dri-devel/patch

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

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'

Re: [PATCH] drm/ci: Enable CONFIG_BACKLIGHT_CLASS_DEVICE

2023-10-02 Thread Helen Koike
On 02/10/2023 13:47, Rob Clark wrote: From: Rob Clark Dependency for CONFIG_DRM_PANEL_EDP. Missing this was causing the drm driver to not probe on devices that use panel-edp. Signed-off-by: Rob Clark Thank you a lot! Now sc7180, apq8096 and sdm845 are probing! Tested-by: Helen Koike

Re: [RFC PATCH] drm/ci: add helper script update-xfails.py

2023-09-27 Thread Helen Koike
Hi Sergi, Thanks for your comments. On 27/09/2023 05:58, Sergi Blanch Torne wrote: Hi Helen, On Mon, 2023-09-25 at 16:55 -0300, Helen Koike wrote: Hello, This script is being very handy for me, so I suppose it could be handy to others, since I'm publishing it in the xfails folder. Let

Re: [RESEND PATCH v2 0/2] drm: Refactor plane size calculation by core helper functions

2023-09-26 Thread Helen Koike
On 26/09/2023 11:15, Carlos Eduardo Gallo Filho wrote: There's duplicated functions on drm that do the same job of calculating the size of planes from a drm_format_info and the size of its first plane. So this patchset throw away the more specific version intended to be used from a given

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

2023-09-25 Thread Helen Koike
with the same name or if they are flakes) and execute: update-xfails.py https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/970661 git diff should show you that it updated files in xfails folder. Signed-off-by: Helen Koike --- Hello, This script is being very handy for me, so I suppose

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

2023-09-22 Thread Helen Koike
Add job that runs igt on top of vkms. Signed-off-by: Helen Koike --- See pipeline: https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/990494 v2: - do not mv modules to /lib/modules in the job definition, leave it to crosvm-runner.sh --- MAINTAINERS

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

2023-09-22 Thread Helen Koike
v0.38.13` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.60.0 A patch to Mesa was recently added fixing this error, so update it. Signed-off-by: Helen Koike --- v2: - point to upstream mesa/mesa (solved the TODO and removed RFC tag

[PATCH v2 0/2] drm/ci: Update Mesa and Introduce VKMS Support

2023-09-22 Thread Helen Koike
and removed RFC tag) - vkms jov: do not mv modules to /lib/modules in the job definition, leave it to crosvm-runner.sh Helen Koike (2): drm/ci: uprev mesa version - fix container build drm/ci: add tests on vkms MAINTAINERS | 1 + drivers/gpu/drm/ci/build.sh

Re: [PATCH v4 5/7] drm: ci: Update xfails

2023-09-22 Thread Helen Koike
into the *-flakes file and tests that are failing into the *-fails file. Signed-off-by: Helen Koike Signed-off-by: Vignesh Raman --- v2: - No changes v3: - No changes v4: - No changes --- .../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt| 1 - drivers/gpu/drm/ci/xfails/i915-cml-fails.txt

Re: [PATCH v4 0/7] drm: ci: fixes

2023-09-22 Thread Helen Koike
On 14/09/2023 05:54, Vignesh Raman wrote: The patch series contains improvements, enabling new ci jobs which enables testing for Mediatek MT8173, Qualcomm APQ 8016 and VirtIO GPU, fixing issues with the ci jobs and updating the expectation files. This series is intended for drm branch

Re: [PATCH] MAINTAINERS: Update drm-misc entry to match all drivers

2023-09-21 Thread Helen Koike
On 21/09/2023 15:12, Helen Koike wrote: Hi, On 19/09/2023 10:12, Maxime Ripard wrote: We've had a number of times when a patch slipped through and we couldn't pick them up either because our MAINTAINERS entry only covers the framework and thus we weren't Cc'd. Let's take another approach

Re: [PATCH] MAINTAINERS: Update drm-misc entry to match all drivers

2023-09-21 Thread Helen Koike
Hi, On 19/09/2023 10:12, Maxime Ripard wrote: We've had a number of times when a patch slipped through and we couldn't pick them up either because our MAINTAINERS entry only covers the framework and thus we weren't Cc'd. Let's take another approach where we match everything, and remove all the

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

2023-09-20 Thread Helen Koike
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 a few igt test fixes compared

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

2023-09-20 Thread Helen Koike
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 a few igt test fixes compared to the commit that we were currently using. Pull in a newer igt and update expectations. Signed-off-by: Rob

Re: [PATCH v6 7/7] drm/vkms Add hotplug support via configfs to VKMS.

2023-09-20 Thread Helen Koike
Hello! Thanks for the patch. On 29/08/2023 02:30, Brandon Pollack wrote: This change adds the ability to read or write a "1" or a "0" to the newly added "connected" attribute of a connector in the vkms entry in configfs. A write will trigger a call to drm_kms_helper_hotplug_event, causing a

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

2023-09-20 Thread Helen Koike
Add job that runs igt on top of vkms. Signed-off-by: Helen Koike --- See pipeline: https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/990494 --- MAINTAINERS | 1 + drivers/gpu/drm/ci/build.sh | 1 - drivers/gpu/drm/ci/gitlab

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

2023-09-20 Thread Helen Koike
v0.38.13` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.60.0 A patch to Mesa was recently added fixing this error, so update it. Signed-off-by: Helen Koike --- I'm submitting this to make it available for other to run and test. I'd like

[RFC PATCH 0/2] drm/ci: Update Mesa and Introduce VKMS Support

2023-09-20 Thread Helen Koike
list that were found during the tests. Helen Koike (2): drm/ci: uprev mesa version - fix container build drm: ci: add tests on vkms MAINTAINERS | 1 + drivers/gpu/drm/ci/build.sh | 1 - drivers/gpu/drm/ci/gitlab-ci.yml | 20

[PATCH] MAINTAINERS: drm/ci: add entries for xfail files

2023-09-19 Thread Helen Koike
DRM CI keeps track of which tests are failing, flaking or being skipped by the ci in the expectations files. Add entries for those files to the corresponding driver maintainer, so they can be notified when they change. Signed-off-by: Helen Koike --- For reference: https://www.mail-archive.com

Re: drm/vkms: deadlock between dev->event_lock and timer

2023-09-18 Thread Helen Koike
On 14/09/2023 05:12, Daniel Vetter wrote: On Thu, Sep 14, 2023 at 03:33:41PM +0900, Tetsuo Handa wrote: On 2023/09/14 6:08, Thomas Gleixner wrote: Maybe the VKMS people need to understand locking in the first place. The first thing I saw in this code is: static enum hrtimer_restart

Re: [PATCH v11] drm: Add initial ci/ subdirectory

2023-09-18 Thread Helen Koike
On 15/09/2023 12:08, Daniel Stone wrote: Hey, On Thu, 14 Sept 2023 at 10:54, Maxime Ripard wrote: On Tue, Sep 12, 2023 at 02:16:41PM +0100, Daniel Stone wrote: Hopefully less mangled formatting this time: turns out Thunderbird + plain text is utterly unreadable, so that's one less MUA

Re: [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs

2023-09-12 Thread Helen Koike
On 08/09/2023 12:22, Vignesh Raman wrote: Instead of modifying files in git to enable/disable configs, use scripts/config on the .config file which will be used for building the kernel. Suggested-by: Jani Nikula Signed-off-by: Vignesh Raman Acked-by: Helen Koike --- v2: - Added

Re: [PATCH v3 8/9] drm: ci: Enable new jobs

2023-09-12 Thread Helen Koike
and remove this rule. mediatek:mt8173: TODO: current issue: device is hanging. Fix and remove this rule. virtio_gpu:none: TODO: current issue: malloc(): corrupted top size. Fix and remove this rule. Signed-off-by: Vignesh Raman Acked-by: Helen Koike --- v2: - Reworded the commit

Re: [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator

2023-09-12 Thread Helen Koike
an initrd, not sure if it solves for kernel-ci. Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Vignesh Raman In any case: Acked-by: Helen Koike --- v3: - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig --- arch/arm64/configs/defconfig | 1 + 1 file

Re: [PATCH v3 5/9] drm: ci: Enable regulator

2023-09-12 Thread Helen Koike
On 08/09/2023 12:22, Vignesh Raman wrote: Enable CONFIG_REGULATOR_DA9211=y to fix mt8173 boot issue. Signed-off-by: Vignesh Raman Acked-by: Helen Koike --- v2: - No changes v3: - Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig --- drivers/gpu/drm/ci

Re: [PATCH v3 4/9] drm: ci: virtio: Update ci variables

2023-09-12 Thread Helen Koike
Acked-by: Helen Koike --- v2: - No changes v3: - No changes --- drivers/gpu/drm/ci/test.yml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml index 6473cddaa7a9..d85add39f425 100644 --- a/drivers/gpu/drm/ci

Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode

2023-09-12 Thread Helen Koike
and use fdtoverlay command to merge base device tree with an overlay which contains the fix for USB controllers to work in host mode. [suggested by Maxime Ripard] Suggested-by: Maxime Ripard Signed-off-by: Vignesh Raman Acked-by: Helen Koike --- v2: - Use fdtoverlay command to merge overlay

Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode

2023-09-12 Thread Helen Koike
that sets the dr_mode to host, allowing the USB controllers to work in host mode. This dtso file will be used in drm-ci, mesa-ci. Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard] Suggested-by: Dmitry Baryshkov Suggested-by: Maxime Ripard Signed-off-by: Helen Koike

Re: [PATCH v3 1/9] drm: ci: igt_runner: Remove todo

2023-09-12 Thread Helen Koike
On 08/09/2023 12:22, Vignesh Raman wrote: /sys/kernel/debug/dri/*/state exist for every atomic KMS driver. We do not test non-atomic drivers, so remove the todo. Signed-off-by: Vignesh Raman Acked-by: Helen Koike --- v2: - No changes v3: - No changes --- drivers/gpu/drm

Re: [PATCH v2] Remove the parameter not described warning

2023-09-06 Thread Helen Koike
Hi Vinayak, Thanks for you patch On 06/09/2023 13:51, Vinayak Hegde wrote: I encountered a warning during kernel documentation compilation Usually we write the commit message in imperative mood, please check:

Re: [PATCH v2 2/7] drm: ci: Force db410c to host mode

2023-09-06 Thread Helen Koike
Hi! On 04/09/2023 13:15, Vignesh Raman wrote: Force db410c to host mode to fix network issue which results in failure to mount root fs via NFS. See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8 Use fdtoverlay command to merge base device tree

Re: [PATCH v2 0/2] Merge all debug module parameters

2023-08-31 Thread Helen Koike
Hi André, Thanks for your patches. On 30/08/2023 19:08, André Almeida wrote: As suggested by Christian at [0], this patchset merges all debug modules parameters and creates a new one for disabling soft recovery: Maybe we can overload the amdgpu_gpu_recovery module option with this. Or even

Re: [PATCH v11] drm: Add initial ci/ subdirectory

2023-08-30 Thread Helen Koike
On 30/08/2023 11:57, Maxime Ripard wrote: On Wed, Aug 30, 2023 at 10:24:49AM -0300, Helen Koike wrote: Hi all, Thanks for you comments. On 30/08/2023 08:37, Maxime Ripard wrote: On Wed, Aug 30, 2023 at 01:58:31PM +0300, Jani Nikula wrote: On Wed, 30 Aug 2023, Maxime Ripard wrote

Re: [PATCH v11] drm: Add initial ci/ subdirectory

2023-08-30 Thread Helen Koike
the driver on several generations of the hardware. Signed-off-by: Tomeu Vizoso Signed-off-by: Helen Koike Acked-by: Daniel Stone Acked-by: Rob Clark Tested-by: Rob Clark Ok I pushed this into a topic/drm-ci branch in drm.git and asked sfr to include that branch in linux-next. But also I'd

Re: [PATCH v2] drm: ci: docs: fix build warning - add missing escape

2023-08-29 Thread Helen Koike
On 29/08/2023 14:57, Daniel Vetter wrote: On Thu, Aug 24, 2023 at 01:42:30PM -0300, Helen Koike wrote: Fix the following warning: Documentation/gpu/automated_testing.rst:55: WARNING: Inline emphasis start-string without end-string. Reported-by: Stephen Rothwell Signed-off-by: Helen Koike

Re: [PATCH v3 0/7] GPU workload hints for better performance

2023-08-28 Thread Helen Koike
On 28/08/2023 17:14, Yadav, Arvind wrote: On 8/28/2023 9:13 PM, Helen Mae Koike Fornazier wrote: On Monday, August 28, 2023 09:26 -03, Arvind Yadav wrote: AMDGPU SOCs supports dynamic workload based power profiles, which can provide fine-tuned performance for a particular type of

[PATCH v2] drm: ci: docs: fix build warning - add missing escape

2023-08-24 Thread Helen Koike
Fix the following warning: Documentation/gpu/automated_testing.rst:55: WARNING: Inline emphasis start-string without end-string. Reported-by: Stephen Rothwell Signed-off-by: Helen Koike --- Patch for topic/drm-ci V2: - Fix typo s/scape/escape --- Documentation/gpu/automated_testing.rst

[PATCH] drm: ci: docs: fix build warning - add missing scape

2023-08-24 Thread Helen Koike
Fix the following warning: Documentation/gpu/automated_testing.rst:55: WARNING: Inline emphasis start-string without end-string. Reported-by: Stephen Rothwell Signed-off-by: Helen Koike --- Patch for topic/drm-ci --- Documentation/gpu/automated_testing.rst | 2 +- 1 file changed, 1

[PULL for v6.6] drm-misc-next

2023-08-14 Thread Helen Koike
and tested by others. Signed-off-by: Helen Koike Tomeu Vizoso (1): drm: Add initial ci/ subdirectory Documentation/gpu/automated_testing.rst| 144 + Documentation/gpu/index.rst|1

[PULL] drm-misc-next

2023-08-14 Thread Helen Koike
and tested by others. Signed-off-by: Helen Koike Tomeu Vizoso (1): drm: Add initial ci/ subdirectory Documentation/gpu/automated_testing.rst| 144 + Documentation/gpu/index.rst|1

Re: [PATCH 3/6] drm/rockchip: dsi: add ability to work as a phy instead of full dsi

2021-02-15 Thread Helen Koike
hy_config = *config; + dsi->lane_mbps = div_u64(config->hs_clk_rate, 1000 * 1000 * 1); + + return 0; +} + +static int dw_mipi_dsi_dphy_power_on(struct phy *phy) +{ + struct dw_mipi_dsi_rockchip *dsi = phy_get_drvdata(phy); + int i, ret; It seems "i" coul

[PATCH v11 1/2] drm/i915: Introduce async plane update to i915

2019-09-25 Thread Helen Koike
From: Gustavo Padovan Add implementation for async plane update callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tina Zhang Signed-off-by: Helen Koike Tested-by: Tina Zhang --- Hi, I ran the following tests and no regressions were found

[PATCH v11 2/2] drm/i915: update cursors asynchronously through atomic

2019-09-25 Thread Helen Koike
From: Gustavo Padovan Replace the legacy cursor implementation by the async callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Helen Koike --- Changes in v11: None Changes in v10: None Changes in v9: - v8: https://patchwork.kernel.org/patch

[PATCH v10 2/2] drm/i915: update cursors asynchronously through atomic

2019-07-17 Thread Helen Koike
From: Gustavo Padovan Replace the legacy cursor implementation by the async callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Helen Koike --- Changes in v10: None Changes in v9: - v8: https://patchwork.kernel.org/patch/10843397/ - rebased

[PATCH v10 1/2] drm/i915: Introduce async plane update to i915

2019-07-17 Thread Helen Koike
From: Gustavo Padovan Add implementation for async plane update callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tina Zhang Signed-off-by: Helen Koike Tested-by: Tina Zhang --- Hi, This is v10, I just fixed the order in how the commit_ready

[PATCH v9 2/2] drm/i915: update cursors asynchronously through atomic

2019-06-17 Thread Helen Koike
From: Gustavo Padovan Replace the legacy cursor implementation by the async callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Helen Koike --- Changes in v9: - v8: https://patchwork.kernel.org/patch/10843397/ - rebased and fixed conflicts on top

[PATCH v9 1/2] drm/i915: Introduce async plane update to i915

2019-06-17 Thread Helen Koike
From: Gustavo Padovan Add implementation for async plane update callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tina Zhang Signed-off-by: Helen Koike Tested-by: Tina Zhang --- Hi, I tested this patch set with igt (ksm_cursor_legacy

Re: [PATCH] drm: don't block fb changes for async plane updates

2019-06-10 Thread Helen Koike
Hi, Correcting the tag, just for the record, is v5 of the patch. On 6/10/19 10:36 AM, Helen Koike wrote: > commit 89a4aac0ab0e6f5eea10d7bf4869dd15c3de2cd4 upstream. > > In the case of a normal sync update, the preparation of framebuffers (be > it calling drm_atomic_helper_pr

Re: [PATCH v5] drm/vc4: fix fb references in async update

2019-06-10 Thread Helen Koike
On 6/10/19 10:18 AM, Helen Koike wrote: > commit c16b85559dcfb5a348cc085a7b4c75ed49b05e2c upstream. > > Async update callbacks are expected to set the old_fb in the new_state > so prepare/cleanup framebuffers are balanced. > > Calling drm_atomic_set_fb_for_plane() (whic

[PATCH] drm: don't block fb changes for async plane updates

2019-06-10 Thread Helen Koike
c plane updates") Suggested-by: Boris Brezillon Signed-off-by: Helen Koike Reviewed-by: Boris Brezillon Reviewed-by: Nicholas Kazlauskas Signed-off-by: Boris Brezillon Link: https://patchwork.freedesktop.org/patch/msgid/20190603165610.24614-6-helen.ko...@collabora.com --- Hi, This p

[PATCH v5] drm/vc4: fix fb references in async update

2019-06-10 Thread Helen Koike
taken care by drm_mode_cursor_universal() when calling drm_atomic_helper_update_plane(). Cc: # v4.19+ Fixes: 539c320bfa97 ("drm/vc4: update cursors asynchronously through atomic") Suggested-by: Boris Brezillon Signed-off-by: Helen Koike Reviewed-by: Boris Brezillon Signed-off

Re: [PATCH v4 2/5] drm/amd: fix fb references in async update

2019-06-03 Thread Helen Koike
On 6/3/19 1:56 PM, Helen Koike wrote: > Async update callbacks are expected to set the old_fb in the new_state > so prepare/cleanup framebuffers are balanced. > > Calling drm_atomic_set_fb_for_plane() (which gets a reference of the new > fb and put the old fb) is not required

Re: [PATCH v4 1/5] drm/rockchip: fix fb references in async update

2019-06-03 Thread Helen Koike
On 6/3/19 1:56 PM, Helen Koike wrote: > In the case of async update, modifications are done in place, i.e. in the > current plane state, so the new_state is prepared and the new_state is > cleaned up (instead of the old_state, unlike what happens in a > normal sync update).

[PATCH v4 3/5] drm/msm: fix fb references in async update

2019-06-03 Thread Helen Koike
Async update callbacks are expected to set the old_fb in the new_state so prepare/cleanup framebuffers are balanced. Cc: # v4.14+ Fixes: 224a4c970987 ("drm/msm: update cursors asynchronously through atomic") Suggested-by: Boris Brezillon Signed-off-by: Helen Koike Acked-by:

[PATCH v4 4/5] drm/vc4: fix fb references in async update

2019-06-03 Thread Helen Koike
drm_atomic_helper_update_plane(). Cc: # v4.19+ Fixes: 539c320bfa97 ("drm/vc4: update cursors asynchronously through atomic") Suggested-by: Boris Brezillon Signed-off-by: Helen Koike Reviewed-by: Boris Brezillon --- Hello, I tested on a Raspberry Pi model B rev2 with igt plane_cur

[PATCH v4 2/5] drm/amd: fix fb references in async update

2019-06-03 Thread Helen Koike
drm_atomic_helper_update_plane(). Suggested-by: Boris Brezillon Signed-off-by: Helen Koike Reviewed-by: Nicholas Kazlauskas --- Changes in v4: None Changes in v3: None Changes in v2: - added reviewed-by tag drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-- 1 file changed, 1 insertion

[PATCH v4 5/5] drm: don't block fb changes for async plane updates

2019-06-03 Thread Helen Koike
ldfb = fb1, newfb = fb2, prepare fb2, cleanup fb1 - Non-async commit, oldfb = fb2, newfb = fb1, prepare fb1, cleanup fb2 Where calls to prepare/cleanup are balanced. Cc: # v4.14+ Fixes: 25dc194b34dd ("drm: Block fb changes for async plane updates") Suggested-by: Boris Brezillon Signed

[PATCH v4 0/5] drm: Fix fb changes for async updates

2019-06-03 Thread Helen Koike
- Add TODO in drm_atomic_helper_async_commit() Changes in v2: - added reviewed-by tag - update CC stable and Fixes tag - Added reviewed-by tag - updated CC stable and Fixes tag - Change the order of the patch in the series, add this as the last one. - Add documentation - s/ballanced/balanced Helen

[PATCH v4 1/5] drm/rockchip: fix fb references in async update

2019-06-03 Thread Helen Koike
t has no effect and trows a WARN_ON(). Calling drm_atomic_set_fb_for_plane() (which get a referent of the new fb and pus the old fb) is not required, as it is taken care by drm_mode_cursor_universal() when calling drm_atomic_helper_update_plane(). Signed-off-by: Helen Koike --- Hello, I tested o

Re: [PATCH v3 5/5] drm: don't block fb changes for async plane updates

2019-06-03 Thread Helen Koike
On 5/7/19 5:18 PM, Sean Paul wrote: > On Wed, Mar 13, 2019 at 09:20:26PM -0300, Helen Koike wrote: >> In the case of a normal sync update, the preparation of framebuffers (be >> it calling drm_atomic_helper_prepare_planes() or doing setups with >> drm_framebuffer

Re: [PATCH v3 3/5] drm/msm: fix fb references in async update

2019-05-31 Thread Helen Koike
Hello, On 3/13/19 9:20 PM, Helen Koike wrote: > Async update callbacks are expected to set the old_fb in the new_state > so prepare/cleanup framebuffers are balanced. > > Cc: # v4.14+ > Fixes: 224a4c970987 ("drm/msm: update cursors asynchronously through atomic") > S

Re: [PATCH v3 2/4] drm/atomic: rename async_{update,check} to amend_{update,check}

2019-04-12 Thread Helen Koike
Hi Boris, On 4/12/19 10:49 AM, Boris Brezillon wrote: > Hi Helen, > > On Fri, 12 Apr 2019 09:58:25 -0300 > Helen Koike wrote: > >> Asynchronous update is the ability change the hw state at any time, not >> only during vblank. >> >> Amend mode

Re: [PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check,update} with PAGE_FLIP_ASYNC flag

2019-04-12 Thread Helen Koike
On 4/12/19 9:58 AM, Helen Koike wrote: > Add atomic_async_{check,update} hooks in drm_plane_helper_funcs. > These hooks are called when userspace requests asyncronous page flip in > the atomic api through the flag DRM_MODE_PAGE_FLIP_ASYNC. > > Update those hooks in the drivers

[PATCH v3 1/4] drm/uapi: add documentation for atomic flags

2019-04-12 Thread Helen Koike
add a brief description of the flags used in an atomic commit Signed-off-by: Helen Koike --- Changes in v3: None Changes in v2: None Changes in v1: None include/uapi/drm/drm_mode.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm

[PATCH v3 0/4] async vs amend - UAPI

2019-04-12 Thread Helen Koike
ing commit to amend Changes in v1: - https://patchwork.freedesktop.org/patch/243088/ - Only enable it if userspace requests it. - Only allow async update for cursor type planes. - Rename ASYNC_UPDATE for ATOMIC_AMEND. Helen Koike (4): drm/uapi: add documentation for atomic flags drm/atomic: ren

[PATCH RFC v3 3/4] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2019-04-12 Thread Helen Koike
Padovan Signed-off-by: Enric Balletbo i Serra [updated for upstream] Signed-off-by: Helen Koike --- Hi, This is the third attempt to introduce the new ATOMIC_AMEND flag for atomic operations, see the commit message for a more detailed description. I am sending this patch in the series as an RFC as I

[PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check, update} with PAGE_FLIP_ASYNC flag

2019-04-12 Thread Helen Koike
the flag in the normal path, and rockchip who doesn't support async page flip. Signed-off-by: Helen Koike --- Hi, This patch is an attempt to expose the implementation that already exist for true async page flips updates through atomic api when the DRM_MODE_PAGE_FLIP_ASYNC is used. In this commit I'm

[PATCH v3 2/4] drm/atomic: rename async_{update, check} to amend_{update, check}

2019-04-12 Thread Helen Koike
. _plane_helper_funcs.atomic_async_{update,check}() was being used by drivers to implement amend and not async. So rename them to amend. Also improve docs explaining the difference. If asynchronous is required, normal page flip can be performed using DRM_MODE_PAGE_FLIP_ASYNC flag. Signed-off-by: Helen Koike

Re: [PATCH v3 3/5] drm/msm: fix fb references in async update

2019-04-03 Thread Helen Koike
Hi Rob, On 3/27/19 11:52 AM, Rob Clark wrote: > On Wed, Mar 13, 2019 at 8:21 PM Helen Koike wrote: >> >> Async update callbacks are expected to set the old_fb in the new_state >> so prepare/cleanup framebuffers are balanced. >> >> Cc: # v4.14+ >> Fixes:

Re: [PATCH v2 1/5] drm/rockchip: fix fb references in async update

2019-03-15 Thread Helen Koike
On 3/15/19 8:29 AM, Michel Dänzer wrote: > On 2019-03-15 11:25 a.m., Boris Brezillon wrote: >> On Fri, 15 Mar 2019 11:11:36 +0100 >> Michel Dänzer wrote: >> >>> On 2019-03-14 6:51 p.m., Helen Koike wrote: >>>> On 3/14/19 6:15 AM, Michel Dänzer wrote:

<    1   2   3   >