Re: [PATCH v7 1/7] drm: atmel-hlcdc: add flag and driver ops to differentiate XLCDC and HLCDC IP

2023-10-19 Thread Hari.PrasathGE
Dear Community Members, I hope this message finds you well. I'm writing to kindly remind you about this patch series my colleague submitted for review. I understand that everyone is busy,I would greatly appreciate your feedback. I thank everyone who participated in the review of the previous

Re: [PATCH v7 00/20] Imagination Technologies PowerVR DRM driver

2023-10-19 Thread Maxim Kochetkov
On 10.10.2023 16:37, Sarah Walker wrote: This patch series adds the initial DRM driver for Imagination Technologies PowerVR GPUs, starting with those based on our Rogue architecture. It's worth pointing out that this is a new driver, written from the ground up, rather than a refactored

[ANNOUNCE] libdrm 2.4.117

2023-10-19 Thread Simon Ser
Chia-I Wu (1): modetest: print modifiers in hex as well Dmitry Baryshkov (1): modetest: custom mode support Dylan Baker (3): meson: fix intel requirements meson: Use feature.require() and feature.allowed() meson: replace deprecated program.path -> program.full_path

[git pull] drm fixes for 6.6-rc7

2023-10-19 Thread Dave Airlie
Hey Linus, Regular fixes for the week, amdgpu, i915, nouveau, with some other scattered around, nothing major. Dave. drm-fixes-2023-10-20: drm fixes for 6.6-rc7 amdgpu: - Fix possible NULL pointer dereference - Avoid possible BUG_ON in GPUVM updates - Disable AMD_CTX_PRIORITY_UNSET i915: -

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

2023-10-19 Thread Helen Koike
On 19/10/2023 13:51, Helen Koike wrote: 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

[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 ---

[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
The Collabora Lava farm added a tag called `subset-1-gfx` to half of devices the graphics community use. Lets use this tag so we don't occupy all the resources. This is particular important because Mesa3D shares the resources with DRM-CI and use them to do pre-merge tests, so it can block

[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
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 illusion that everything

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

2023-10-19 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 failures are consistent across jobs with the

[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
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

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

2023-10-19 Thread Helen Koike
This series contains the several fixes, making drm/ci much more reliable and useful. Highlights: * Current DRM/CI in drm-misc is broken, this series fixes it with mesa uprev (commit 1/9). * The fails.txt and flakes.txt lists were generated by a bogus script, this series restart that initial

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

2023-10-19 Thread Stephen Rothwell
Hi all, On Thu, 12 Oct 2023 12:27:49 +1100 Stephen Rothwell wrote: > > On Thu, 12 Oct 2023 12:22:09 +1100 Stephen Rothwell > wrote: > > > > After merging the drm-misc tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/usb/typec/altmodes/displayport.c:

[pull] amdgpu drm-fixes-6.6

2023-10-19 Thread Alex Deucher
Hi Dave, Sima, Fixes for 6.6. The following changes since commit 58720809f52779dc0f08e53e54b014209d13eebb: Linux 6.6-rc6 (2023-10-15 13:34:39 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.6-2023-10-19 for you to fetch

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

2023-10-19 Thread Helen Koike
On 08/10/2023 10:23, Dmitry Baryshkov wrote: 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

Re: [v4 3/3] arm64: defconfig: Enable ILITEK_ILI9882T panel

2023-10-19 Thread Doug Anderson
Hi On Fri, Oct 13, 2023 at 2:19 AM Cong Yang wrote: > > DRM_PANEL_ILITEK_ILI9882T is being split out from > DRM_PANEL_BOE_TV101WUM_NL6. Since the arm64 defconfig had the BOE > panel driver enabled, let's also enable the Ilitek driver. > > Reviewed-by: Douglas Anderson > Signed-off-by: Cong Yang

Re: [v4 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-19 Thread Doug Anderson
Hi, On Fri, Oct 13, 2023 at 2:43 PM Doug Anderson wrote: > > Hi, > > On Fri, Oct 13, 2023 at 2:19 AM Cong Yang > wrote: > > > > At present, we have found that there may be a problem of blurred > > screen during fast sleep/resume. The direct cause of the blurred > > screen is that the IC does

Re: [v4 1/3] drm/panel: ili9882t: Break out as separate driver

2023-10-19 Thread Doug Anderson
Hi, On Fri, Oct 13, 2023 at 2:19 AM Cong Yang wrote: > > The Starry ILI9882t-based panel should never have been part of the boe > tv101wum driver, it is clearly based on the Ilitek ILI9882t display > controller and if you look at the custom command sequences for the > panel these clearly contain

[RFC PATCH v2 17/17] drm/vkms: Add kunit tests for linear and sRGB LUTs

2023-10-19 Thread Harry Wentland
Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank Sharma Cc: Alexander Goins Cc: Joshua Ashton Cc: Michel Dänzer Cc: Aleix Pol Cc: Xaver Hugl Cc: Victoria Brekenfeld Cc:

[RFC PATCH v2 15/17] drm/colorop: Add NEXT to colorop state print

2023-10-19 Thread Harry Wentland
Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank Sharma Cc: Alexander Goins Cc: Joshua Ashton Cc: Michel Dänzer Cc: Aleix Pol Cc: Xaver Hugl Cc: Victoria Brekenfeld Cc:

[RFC PATCH v2 14/17] drm/plane: Add COLOR PIPELINE property

2023-10-19 Thread Harry Wentland
We're adding a new enum COLOR PIPELINE property. This property will have entries for each COLOR PIPELINE by referencing the DRM object ID of the first drm_colorop of the pipeline. 0 disables the entire COLOR PIPELINE. Userspace can use this to discover the available color pipelines, as well as

[RFC PATCH v2 12/17] drm/colorop: Add atomic state print for drm_colorop

2023-10-19 Thread Harry Wentland
Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank Sharma Cc: Alexander Goins Cc: Joshua Ashton Cc: Michel Dänzer Cc: Aleix Pol Cc: Xaver Hugl Cc: Victoria Brekenfeld Cc:

[RFC PATCH v2 16/17] drm/vkms: Add enumerated 1D curve colorop

2023-10-19 Thread Harry Wentland
This patch introduces a VKMS color pipeline that includes two drm_colorops for named transfer functions. For now the only ones supported are sRGB EOTF, sRGB Inverse EOTF, and a Linear TF. We will expand this in the future but I don't want to do so without accompanying IGT tests. We introduce a

[RFC PATCH v2 13/17] drm/colorop: Add new IOCTLs to retrieve drm_colorop objects

2023-10-19 Thread Harry Wentland
Since we created a new DRM object we need new IOCTLs (and new libdrm functions) to retrieve those objects. TODO: Can we make these IOCTLs and libdrm functions generic to allow for new DRM objects in the future without the need for new IOCTLs and libdrm functions? Signed-off-by: Harry Wentland

[RFC PATCH v2 11/17] drm/colorop: Add NEXT property

2023-10-19 Thread Harry Wentland
We'll construct color pipelines out of drm_colorop by chaining them via the NEXT pointer. NEXT will point to the next drm_colorop in the pipeline, or by 0 if we're at the end of the pipeline. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland

[RFC PATCH v2 10/17] drm/colorop: Add BYPASS property

2023-10-19 Thread Harry Wentland
We want to be able to bypass each colorop at all times. Introduce a new BYPASS boolean property for this. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank Sharma Cc:

[RFC PATCH v2 06/17] drm/doc/rfc: Describe why prescriptive color pipeline is needed

2023-10-19 Thread Harry Wentland
v2: - Update colorop visualizations to match reality (Sebastian, Alex Hung) - Updated wording (Pekka) - Change BYPASS wording to make it non-mandatory (Sebastian) - Drop cover-letter-like paragraph from COLOR_PIPELINE Plane Property section (Pekka) - Use PQ EOTF instead of its inverse in

[RFC PATCH v2 09/17] drm/color: Add 1D Curve subtype

2023-10-19 Thread Harry Wentland
Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank Sharma Cc: Alexander Goins Cc: Joshua Ashton Cc: Michel Dänzer Cc: Aleix Pol Cc: Xaver Hugl Cc: Victoria Brekenfeld Cc:

[RFC PATCH v2 04/17] drm/vkms: Add kunit tests for VKMS LUT handling

2023-10-19 Thread Harry Wentland
Debugging LUT math is much easier when we can unit test it. Add kunit functionality to VKMS and add tests for - get_lut_index - lerp_u16 Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick

[RFC PATCH v2 07/17] drm/colorop: Introduce new drm_colorop mode object

2023-10-19 Thread Harry Wentland
This patches introduces a new drm_colorop mode object. This object represents color transformations and can be used to define color pipelines. We also introduce the drm_colorop_state here, as well as various helpers and state tracking bits. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc:

[RFC PATCH v2 05/17] drm/vkms: Avoid reading beyond LUT array

2023-10-19 Thread Harry Wentland
When the floor LUT index (drm_fixp2int(lut_index) is the last index of the array the ceil LUT index will point to an entry beyond the array. Make sure we guard against it and use the value of the floot LUT index. Blurb about LUT creation and how first element should be 0x0 and last one 0x.

[RFC PATCH v2 08/17] drm/colorop: Add TYPE property

2023-10-19 Thread Harry Wentland
Add a read-only TYPE property. The TYPE specifies the colorop type, such as enumerated curve, 1D LUT, CTM, 3D LUT, PWL LUT, etc. For now we're only introducing an enumerated 1D LUT type to illustrate the concept. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser

[RFC PATCH v2 01/17] drm/atomic: Allow get_value for immutable properties on atomic drivers

2023-10-19 Thread Harry Wentland
drm_colorops use immutable properties, for type and next. Even though drivers create these properties at initialization they will need to look at the properties when parsing a color pipeline for programming during an atomic check or commit operation. This aligns the get_value call with behavior

[RFC PATCH v2 02/17] drm: Don't treat 0 as -1 in drm_fixp2int_ceil

2023-10-19 Thread Harry Wentland
Unit testing this in VKMS shows that passing 0 into this function returns -1, which is highly counter- intuitive. Fix it by checking whether the input is >= 0 instead of > 0. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen

[RFC PATCH v2 03/17] drm/vkms: Create separate Kconfig file for VKMS

2023-10-19 Thread Harry Wentland
This aligns with most other DRM drivers and will allow us to add new VKMS config options without polluting the DRM Kconfig. Signed-off-by: Harry Wentland Cc: Ville Syrjala Cc: Pekka Paalanen Cc: Simon Ser Cc: Harry Wentland Cc: Melissa Wen Cc: Jonas Ådahl Cc: Sebastian Wick Cc: Shashank

[RFC PATCH v2 00/17] Color Pipeline API w/ VKMS

2023-10-19 Thread Harry Wentland
This is an early RFC set for a color pipeline API, along with a sample implementation in VKMS. All the key API bits are here. VKMS now supports two named transfer function colorops and we have an IGT test that confirms that sRGB EOTF, followed by its inverse gives us expected results within +/- 1

Re: [Intel-gfx] [PATCH 3/3] drm/i915/mtl: Add counters for engine busyness ticks

2023-10-19 Thread John Harrison
On 10/19/2023 09:21, Dong, Zhanjun wrote: See comments inline below. Zhanjun On 2023-09-22 6:25 p.m., john.c.harri...@intel.com wrote: From: Umesh Nerlige Ramappa In new version of GuC engine busyness, GuC provides engine busyness ticks as a 64 bit counter. Add a new counter to relay this

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-19 Thread Heiko Stübner
Hey Chris, Am Donnerstag, 19. Oktober 2023, 16:43:56 CEST schrieb Chris Morgan: > On Thu, Oct 19, 2023 at 11:21:47AM +0200, Krzysztof Kozlowski wrote: > > On 18/10/2023 18:18, Chris Morgan wrote: > > > From: Chris Morgan > > > > > > The Powkiddy RK2023 is a handheld gaming device made by

Re: [PATCH 2/5] drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support

2023-10-19 Thread Jessica Zhang
On 10/18/2023 9:18 AM, Chris Morgan wrote: From: Chris Morgan Refactor the driver to add support for the powkiddy,rk2023-panel panel. This panel is extremely similar to the rg353p-panel but requires a smaller vertical back porch and isn't as tolerant of higher speeds. Tested on my RG351V,

Re: [PATCH v6 5/7] drm/sched: Split free_job into own work item

2023-10-19 Thread Matthew Brost
On Wed, Oct 18, 2023 at 09:25:36PM -0400, Luben Tuikov wrote: > Hi, > > On 2023-10-17 11:09, Matthew Brost wrote: > > Rather than call free_job and run_job in same work item have a dedicated > > work item for each. This aligns with the design and intended use of work > > queues. > > > > v2: > >

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:

unified LRU for ttm and svm

2023-10-19 Thread Zeng, Oak
Hello all, As a follow up to this thread https://www.spinics.net/lists/dri-devel/msg410740.html, I looked further into the idea of a shared LRU list for both ttm/bo and svm (to achieve a mutual eviction b/t them). I came up a rough design which I think better to align with you before I move

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 to

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: [Intel-gfx] [PATCH 3/3] drm/i915/mtl: Add counters for engine busyness ticks

2023-10-19 Thread Dong, Zhanjun
See comments inline below. Zhanjun On 2023-09-22 6:25 p.m., john.c.harri...@intel.com wrote: From: Umesh Nerlige Ramappa In new version of GuC engine busyness, GuC provides engine busyness ticks as a 64 bit counter. Add a new counter to relay this value to the user as is. Signed-off-by:

[PULL] drm-intel-fixes

2023-10-19 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-fixes-2023-10-19: - Fix display issue that was blocking S0ix (Khaled) - Retry gtt fault when out of fence registers (Ville) Thanks, Rodrigo. The following changes since commit 58720809f52779dc0f08e53e54b014209d13eebb: Linux 6.6-rc6 (2023-10-15

[PULL] drm-intel-next

2023-10-19 Thread Rodrigo Vivi
Hi Dave and Daniel, This is our last pull request towards 6.7. I'm sending this on behalf of Jani, who was covering this round. The main reason for this extra PR is to ensure that we get MTL force_probe removed on 6.7. The platform has a good green picture in our BAT CI currently and is stable.

Re: [RFC PATCH 10/10] drm/vkms: Add enumerated 1D curve colorop

2023-10-19 Thread Harry Wentland
On 2023-10-10 12:27, Melissa Wen wrote: > On 09/08, Harry Wentland wrote: >> Signed-off-by: Harry Wentland >> Cc: Ville Syrjala >> Cc: Pekka Paalanen >> Cc: Simon Ser >> Cc: Harry Wentland >> Cc: Melissa Wen >> Cc: Jonas Ådahl >> Cc: Sebastian Wick >> Cc: Shashank Sharma >> Cc:

Re: [RFC PATCH 02/10] drm/colorop: Introduce new drm_colorop mode object

2023-10-19 Thread Harry Wentland
On 2023-10-10 12:19, Melissa Wen wrote: > On 09/08, Harry Wentland wrote: >> This patches introduces a new drm_colorop mode object. This >> object represents color transformations and can be used to >> define color pipelines. >> >> We also introduce the drm_colorop_state here, as well as >>

Re: [RFC PATCH 01/10] drm/doc/rfc: Describe why prescriptive color pipeline is needed

2023-10-19 Thread Harry Wentland
On 2023-10-10 12:13, Melissa Wen wrote: > O 09/08, Harry Wentland wrote: >> Signed-off-by: Harry Wentland >> Cc: Ville Syrjala >> Cc: Pekka Paalanen >> Cc: Simon Ser >> Cc: Harry Wentland >> Cc: Melissa Wen >> Cc: Jonas Ådahl >> Cc: Sebastian Wick >> Cc: Shashank Sharma >> Cc:

Re: [RFC PATCH 01/10] drm/doc/rfc: Describe why prescriptive color pipeline is needed

2023-10-19 Thread Harry Wentland
On 2023-09-13 07:29, Pekka Paalanen wrote: > On Fri, 8 Sep 2023 11:02:26 -0400 > Harry Wentland wrote: > >> Signed-off-by: Harry Wentland >> Cc: Ville Syrjala >> Cc: Pekka Paalanen >> Cc: Simon Ser >> Cc: Harry Wentland >> Cc: Melissa Wen >> Cc: Jonas Ådahl >> Cc: Sebastian Wick >>

[PULL] drm-intel-gt-next

2023-10-19 Thread Tvrtko Ursulin
Hi Dave, Daniel, Here is the final pull request for 6.7. As indicated that it may happen in the last pull, the remaining missing functionality for Meteorlake, enabling the GuC based TLB invalidation, has since been merged and platform thought to be ready for lifting out of force probe status.

Re: [PATCH] drm/amd/display: clean up some inconsistent indenting

2023-10-19 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Oct 18, 2023 at 11:38 PM Jiapeng Chong wrote: > > No functional modification involved. > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2902 dm_resume() > warn: inconsistent indenting. > > Reported-by: Abaci Robot > Closes:

Re: [PATCH 1/5] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-10-19 Thread Chris Morgan
On Thu, Oct 19, 2023 at 11:22:19AM +0200, Krzysztof Kozlowski wrote: > On 18/10/2023 18:18, Chris Morgan wrote: > > From: Chris Morgan > > > > Update the NewVision NV3051D compatible strings by adding a new panel, > > the powkiddy,rk2023-panel, and removing another entry, the > >

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-19 Thread Chris Morgan
On Thu, Oct 19, 2023 at 11:21:47AM +0200, Krzysztof Kozlowski wrote: > On 18/10/2023 18:18, Chris Morgan wrote: > > From: Chris Morgan > > > > The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and > > powered by the Rockchip RK3566 SoC. > > > > Signed-off-by: Chris Morgan > >

Re: [PATCH RFC v6 01/10] drm: Introduce pixel_source DRM plane property

2023-10-19 Thread Simon Ser
For the uAPI: Acked-by: Simon Ser

[PATCH] drm/mgag200: Flush the cache to improve latency

2023-10-19 Thread Jocelyn Falempe
We found a regression in v5.10 on real-time server, using the rt-kernel and the mgag200 driver. It's some really specialized workload, with <10us latency expectation on isolated core. After the v5.10, the real time tasks missed their <10us latency when something prints on the screen (fbcon or

Re: [PATCH v1] dynamic_debug: add support for logs destination

2023-10-19 Thread Łukasz Bartosik
śr., 18 paź 2023 o 05:08 napisał(a): > > adding in Jason, not sure how he got missed. > > On Mon, Oct 16, 2023 at 9:13 AM Łukasz Bartosik wrote: > > > > czw., 12 paź 2023 o 20:48 napisał(a): > > > > > > > If you want the kernel to keep separate flight recorders I guess we > > > > could > > > >

Re: [PATCH] drm/msm/dp: cleanup debugfs handling

2023-10-19 Thread Dmitry Baryshkov
On Thu, 19 Oct 2023 at 15:33, Abhinav Kumar wrote: > > > > On 10/19/2023 3:44 AM, Dmitry Baryshkov wrote: > > Currently there are two subdirs for DP debugfs files, e.g. DP-1, created > > by the drm core for the connector, and the msm_dp-DP-1, created by the > > DP driver itself. Merge those two,

Re: [PATCH] drm/msm/dp: cleanup debugfs handling

2023-10-19 Thread Abhinav Kumar
On 10/19/2023 3:44 AM, Dmitry Baryshkov wrote: Currently there are two subdirs for DP debugfs files, e.g. DP-1, created by the drm core for the connector, and the msm_dp-DP-1, created by the DP driver itself. Merge those two, so that there are no extraneous connector-related subdirs.

Re: (subset) [PATCH v1] dt-bindings: backlight: add brightness-levels related common properties

2023-10-19 Thread Lee Jones
On Mon, 16 Oct 2023 17:05:54 +0200, Flavio Suligoi wrote: > Both files pwm-backlight.yaml and led-backlight.yaml contain properties > in common with each other, regarding the brightness levels: > > - brightness-levels > - default-brightness-level > > These properties can then be moved to

[Bug 215631] Some Desktop oriented mode setting drivers are missing DRM PRIME support

2023-10-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215631 bluescreen_aven...@verizon.net changed: What|Removed |Added Status|NEW |RESOLVED

Re: [PATCH v10 20/24] drm/mediatek: Add Padding to OVL adaptor

2023-10-19 Thread 宋孝謙

[PULL] drm-misc-fixes

2023-10-19 Thread Thomas Zimmermann
Hi Dave and Daniel, this is the PR for drm-misc-fixes. Best regards Thomas drm-misc-fixes-2023-10-19: Short summary of fixes pull: amdgpu: - Disable AMD_CTX_PRIORITY_UNSET bridge: - ti-sn65dsi86: Fix device lifetime edid: - Add quirk for BenQ GW2765 ivpu: - Extend address range for MMU mmap

Re: [RFC PATCH 03/10] drm/mipi-dsi: add API for manual control over the DSI link power state

2023-10-19 Thread Alexander Stein
Hi, Am Donnerstag, 19. Oktober 2023, 13:19:51 CEST schrieb Dmitry Baryshkov: > On Thu, 19 Oct 2023 at 12:26, Maxime Ripard wrote: > > On Mon, Oct 16, 2023 at 07:53:48PM +0300, Dmitry Baryshkov wrote: > > > The MIPI DSI links do not fully fall into the DRM callbacks model. > > > > Explaining why

[PULL] drm-misc-next

2023-10-19 Thread Maarten Lankhorst
drm-misc-next-2023-10-19: drm-misc-next for v6.7-rc1: UAPI Changes: Cross-subsystem Changes: - Update maintainers entry for megachips STDPx-GE-B850V3-FW. Core Changes: - Add VM_BIND async document. - Dual-license drm_gpuvm to GPL-2.0 OR MIT. Driver Changes: - Assorted small fixes in ivpu,

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-19 Thread Heiko Stübner
Am Donnerstag, 19. Oktober 2023, 11:21:47 CEST schrieb Krzysztof Kozlowski: > On 18/10/2023 18:18, Chris Morgan wrote: > > From: Chris Morgan > > > > The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and > > powered by the Rockchip RK3566 SoC. > > > > Signed-off-by: Chris Morgan

Re: [RFC PATCH 03/10] drm/mipi-dsi: add API for manual control over the DSI link power state

2023-10-19 Thread Dmitry Baryshkov
On Thu, 19 Oct 2023 at 12:26, Maxime Ripard wrote: > > On Mon, Oct 16, 2023 at 07:53:48PM +0300, Dmitry Baryshkov wrote: > > The MIPI DSI links do not fully fall into the DRM callbacks model. > > Explaining why would help A kind of explanation comes afterwards, but probably I should change the

Re: [PATCH] drm/loongson: Add support for the DC in LS2K1000 SoC

2023-10-19 Thread Sui Jingfeng
Hi, On 2023/10/19 16:11, Maxime Ripard wrote: On Fri, Oct 13, 2023 at 06:28:01PM +0800, Sui Jingfeng wrote: Hi, On 2023/10/13 16:22, Icenowy Zheng wrote: 在 2023-10-12星期四的 00:26 +0800,Sui Jingfeng写道: LS2K1000 is a low end SoC (two core 1.0gHz), it don't has dedicated VRAM. It requires the

Re: [PATCH v3 1/3] pwm: make it possible to apply pwm changes in atomic context

2023-10-19 Thread Uwe Kleine-König
On Wed, Oct 18, 2023 at 03:57:48PM +0200, Hans de Goede wrote: > Hi Sean, > > On 10/17/23 11:17, Sean Young wrote: > > Some drivers require sleeping, for example if the pwm device is connected > > over i2c. The pwm-ir-tx requires precise timing, and sleeping causes havoc > > with the generated IR

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

2023-10-19 Thread Daniel Vetter
On Thu, Oct 19, 2023 at 11:46:09AM +0200, 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 RFC v6 01/10] drm: Introduce pixel_source DRM plane property

2023-10-19 Thread Sebastian Wick
On Tue, Aug 29, 2023 at 10:48:16AM +0300, Pekka Paalanen wrote: > On Mon, 28 Aug 2023 17:05:07 -0700 > Jessica Zhang wrote: > > > Add support for pixel_source property to drm_plane and related > > documentation. In addition, force pixel_source to > > DRM_PLANE_PIXEL_SOURCE_FB in

[PATCH] drm/msm/dp: cleanup debugfs handling

2023-10-19 Thread Dmitry Baryshkov
Currently there are two subdirs for DP debugfs files, e.g. DP-1, created by the drm core for the connector, and the msm_dp-DP-1, created by the DP driver itself. Merge those two, so that there are no extraneous connector-related subdirs. Signed-off-by: Dmitry Baryshkov ---

Re: [PATCH v10 15/24] drm/mediatek: Remove ineffectual power management codes

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 11:52, Shawn Sung (宋孝謙) ha scritto: Hi Angelo, On Thu, 2023-10-19 at 11:07 +0200, AngeloGioacchino Del Regno wrote: Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: Display modules will be powered on when .atomic_enable(), there is no need to do it again in mtk_crtc_ddp_hw_init().

Re: [PATCH v10 20/24] drm/mediatek: Add Padding to OVL adaptor

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 11:20, Shawn Sung (宋孝謙) ha scritto: Hi Angelo, On Thu, 2023-10-19 at 11:10 +0200, AngeloGioacchino Del Regno wrote: static const struct of_device_id mtk_ovl_adaptor_comp_dt_ids[] = { + { .compatible = "mediatek,mt8188-padding", .data = (void *)OVL_ADAPTOR_TYPE_PADDING },

Re: [PATCH v10 15/24] drm/mediatek: Remove ineffectual power management codes

2023-10-19 Thread 宋孝謙

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

2023-10-19 Thread Maxime Ripard
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: [RFC PATCH 03/10] drm/mipi-dsi: add API for manual control over the DSI link power state

2023-10-19 Thread Maxime Ripard
On Mon, Oct 16, 2023 at 07:53:48PM +0300, Dmitry Baryshkov wrote: > The MIPI DSI links do not fully fall into the DRM callbacks model. Explaining why would help > The drm_bridge_funcs abstraction. Is there a typo or missing words? > Instead of having just two states (off and on) the DSI hosts

Re: [PATCH 1/5] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-10-19 Thread Krzysztof Kozlowski
On 18/10/2023 18:18, Chris Morgan wrote: > From: Chris Morgan > > Update the NewVision NV3051D compatible strings by adding a new panel, > the powkiddy,rk2023-panel, and removing another entry, the > anbernic,rg353v-panel. The rg353v-panel is exactly identical to the > rg353p-panel and is not

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-19 Thread Krzysztof Kozlowski
On 18/10/2023 18:18, Chris Morgan wrote: > From: Chris Morgan > > The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and > powered by the Rockchip RK3566 SoC. > > Signed-off-by: Chris Morgan > --- > Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + > 1 file changed,

Re: [PATCH v10 20/24] drm/mediatek: Add Padding to OVL adaptor

2023-10-19 Thread 宋孝謙

Re: [PATCH v10 13/24] drm/mediatek: Manage component's clock with function pointers

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: By registering component related functions to the pointers, we can easily manage them within a for-loop and simplify the logic of clock control significantly. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v10 20/24] drm/mediatek: Add Padding to OVL adaptor

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: Add MT8188 Padding to OVL adaptor to probe the driver. Reviewed-by: CK Hu Signed-off-by: Hsiao Chien Sung --- .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 26 +++ 1 file changed, 26 insertions(+) diff --git

Re: [PATCH v10 14/24] drm/mediatek: Power on/off devices with function pointers

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: Different from OVL, OVL adaptor is a pseudo device so we didn't define it in the device tree, consequently, pm_runtime_resume_and_get() called by .atomic_enable() powers on no device. For this reason, we implement a function to power on the RDMAs

Re: [PATCH v10 15/24] drm/mediatek: Remove ineffectual power management codes

2023-10-19 Thread AngeloGioacchino Del Regno
Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: Display modules will be powered on when .atomic_enable(), there is no need to do it again in mtk_crtc_ddp_hw_init(). Besides, the DRM devices are created manually when mtk-mmsys is probed and there is no power domain linked to it. Fixes:

Re: [PATCH v2 9/9] drm/i915: Use kmap_local_page() in gem/i915_gem_execbuffer.c

2023-10-19 Thread Tvrtko Ursulin
Hi, On 18/10/2023 17:19, Zhao Liu wrote: Hi Rodrigo and Tvrtko, It seems this series is missed in v6.5. This work should not be forgotten. Let me rebase and refresh the version. Right it seems we did not manage to social engineer any reviews. Please do respin and we will try again.

Re: [PATCH v4 13/17] platform/x86/amd/pmf: Add PMF-AMDGPU get interface

2023-10-19 Thread Christian König
Am 18.10.23 um 19:05 schrieb Shyam Sundar S K: On 10/18/2023 9:37 PM, Christian König wrote: Am 18.10.23 um 17:47 schrieb Mario Limonciello: On 10/18/2023 08:40, Christian König wrote: Am 18.10.23 um 11:28 schrieb Shyam Sundar S K: On 10/18/2023 2:50 PM, Ilpo Järvinen wrote: On Wed, 18

Re: (subset) [PATCH 0/5] rockchip: Add Powkiddy RK2023

2023-10-19 Thread Heiko Stuebner
On Wed, 18 Oct 2023 11:18:43 -0500, Chris Morgan wrote: > From: Chris Morgan > > Add support for the Powkiddy RK2023, which is extremely similar to > existing devices from Anbernic. > > Chris Morgan (5): > dt-bindings: display: panel: Update NewVision NV3051D compatibles > drm/panel:

Re: [PATCH 0/2] fbdev/simplefb: Add missing simple-framebuffer features

2023-10-19 Thread Javier Martinez Canillas
Maxime Ripard writes: Hello Maxime, > Hi, > > On Wed, Oct 11, 2023 at 04:38:07PM +0200, Thierry Reding wrote: >> From: Thierry Reding >> This contains two patches that bring simplefb up to feature parity with >> simpledrm. The patches add support for the "memory-region" property that >>

Re: [PATCH 4/9] dma-buf: heaps: Initialise MediaTek secure heap

2023-10-19 Thread Vijayanand Jitta
On 9/11/2023 8:00 AM, Yong Wu wrote: > Initialise a mtk_svp heap. Currently just add a null heap, Prepare for > the later patches. > > Signed-off-by: Yong Wu > --- > drivers/dma-buf/heaps/Kconfig | 8 ++ > drivers/dma-buf/heaps/Makefile | 1 + >

Re: [PATCH 6/9] dma-buf: heaps: mtk_sec_heap: Add tee service call for buffer allocating/freeing

2023-10-19 Thread Vijayanand Jitta
On 9/11/2023 8:00 AM, Yong Wu wrote: > Add TEE service call for secure memory allocating/freeing. > > Signed-off-by: Anan Sun > Signed-off-by: Yong Wu > --- > drivers/dma-buf/heaps/mtk_secure_heap.c | 69 - > 1 file changed, 68 insertions(+), 1 deletion(-) > > diff

Re: [PATCH 0/9] dma-buf: heaps: Add MediaTek secure heap

2023-10-19 Thread Vijayanand Jitta
On 9/11/2023 8:00 AM, Yong Wu wrote: > This patchset consists of two parts, the first is from John and TJ. > It adds some heap interfaces, then our kernel users could allocate buffer > from special heap. The second part is adding MTK secure heap for SVP > (Secure Video Path). A total of two

Re: [PATCH 8/9] dt-bindings: reserved-memory: MediaTek: Add reserved memory for SVP

2023-10-19 Thread Vijayanand Jitta
On 9/11/2023 8:00 AM, Yong Wu wrote: > This adds the binding for describing a CMA memory for MediaTek SVP(Secure > Video Path). > > Signed-off-by: Yong Wu > --- > .../mediatek,secure_cma_chunkmem.yaml | 42 +++ > 1 file changed, 42 insertions(+) > create mode 100644

Re: [PATCH v3 3/9] drm/vc4: hdmi: Add Broadcast RGB property to allow override of RGB range

2023-10-19 Thread Hans Verkuil
Hi Maxime, On 19/10/2023 10:02, Maxime Ripard wrote: > Hi, > > On Wed, Oct 11, 2023 at 03:23:18PM +0200, Daniel Vetter wrote: >> On Mon, 6 Mar 2023 at 11:49, Maxime Ripard wrote: >>> >>> From: Dave Stevenson >>> >>> Copy Intel's "Broadcast RGB" property semantics to add manual override >>> of

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

2023-10-19 Thread Daniel Stone
Hi Vignesh, On Thu, 19 Oct 2023 at 09:07, Vignesh Raman wrote: > +# Some tests crashes with malloc error and IGT tests floods > +# the CI log with error messages and we end up with a warning message > +# Job's log exceeded limit of 4194304 bytes. > +# Job execution will continue but no more

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

2023-10-19 Thread Maxime Ripard
Hi, On Thu, Oct 19, 2023 at 12:36:50PM +0530, Vignesh Raman wrote: > diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt > b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt > new file mode 100644 > index ..8b12e97d59f3 > --- /dev/null > +++

Re: [PATCH] drm/loongson: Add support for the DC in LS2K1000 SoC

2023-10-19 Thread Maxime Ripard
On Fri, Oct 13, 2023 at 06:28:01PM +0800, Sui Jingfeng wrote: > Hi, > > > On 2023/10/13 16:22, Icenowy Zheng wrote: > > 在 2023-10-12星期四的 00:26 +0800,Sui Jingfeng写道: > > > LS2K1000 is a low end SoC (two core 1.0gHz), it don't has dedicated > > > VRAM. > > > It requires the framebuffer to be

  1   2   >