Re: [PATCH v3] drm/i915/gt: Use kmemdup_array instead of kmemdup for multiple allocation

2024-08-23 Thread Andi Shyti
Hi Yu, On Wed, Aug 21, 2024 at 10:41:27AM +0800, Yu Jiaoliang wrote: > Let the kememdup_array() take care about multiplication and possible > overflows. > > v2: > - Change subject > - Leave one blank line between the commit log and the tag section > - Fix code alignment issue > > v3: > - Fix cod

Re: [PATCH] drm/i915/gt: Continue creating engine sysfs files even after a failure

2024-08-23 Thread Andi Shyti
Hi Rodrigo, On Fri, Aug 23, 2024 at 09:41:31AM -0400, Rodrigo Vivi wrote: > On Wed, Aug 21, 2024 at 09:32:48AM +0200, Andi Shyti wrote: > > On Tue, Aug 20, 2024 at 05:22:40PM -0400, Rodrigo Vivi wrote: > > > On Mon, Aug 19, 2024 at 01:31:40PM +0200, Andi Shyti wrote: ... > > > > It might make sens

Re: [PATCH v2 11/86] drm/atmel-hdlcd: Run DRM default client setup

2024-08-23 Thread Sam Ravnborg
On Wed, Aug 21, 2024 at 02:59:08PM +0200, Thomas Zimmermann wrote: > Call drm_client_setup_with_fourcc() to run the kernel's default client > setup for DRM. Set fbdev_probe in struct drm_driver, so that the client > setup can start the common fbdev client. > > v2: > - use drm_client_setup_with_fou

Re: [PATCH] drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

2024-08-23 Thread Rodrigo Vivi
On Fri, Aug 23, 2024 at 07:34:39PM +0200, Hans de Goede wrote: > Hi, > > On 8/23/24 10:22 AM, Jani Nikula wrote: > > On Fri, 23 Aug 2024, Hans de Goede wrote: > >> There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it > >> turns out that the 2G version has a DMI product name of >

Re: [PATCH] drm/i915/gt: Disable Redundant HZ Plane expansions for MTL/ARL and DG2

2024-08-23 Thread Matt Roper
On Fri, Aug 23, 2024 at 03:40:09PM +0530, Dnyaneshwar Bhadane wrote: > Program HZ Plane disable bit to 1 to stop sending the redundant > plane expansions. > > Bspec: 68331 > > Signed-off-by: Dnyaneshwar Bhadane > --- > drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 +++-- > drivers/gpu/drm/i9

✗ Fi.CI.SPARSE: warning for drm: Use full allocated minor range for DRM (rev4)

2024-08-23 Thread Patchwork
== Series Details == Series: drm: Use full allocated minor range for DRM (rev4) URL : https://patchwork.freedesktop.org/series/108206/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✓ Fi.CI.BAT: success for drm: Use full allocated minor range for DRM (rev4)

2024-08-23 Thread Patchwork
== Series Details == Series: drm: Use full allocated minor range for DRM (rev4) URL : https://patchwork.freedesktop.org/series/108206/ State : success == Summary == CI Bug Log - changes from CI_DRM_15286 -> Patchwork_108206v4 Summary --

Re: [PATCH] drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

2024-08-23 Thread Hans de Goede
Hi, On 8/23/24 10:22 AM, Jani Nikula wrote: > On Fri, 23 Aug 2024, Hans de Goede wrote: >> There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it >> turns out that the 2G version has a DMI product name of >> "CHERRYVIEW D1 PLATFORM" where as the 4G version has >> "CHERRYVIEW C0 PLA

✓ Fi.CI.BAT: success for drm/i915/dp_mst: Fix MST state after a sink reset (rev3)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915/dp_mst: Fix MST state after a sink reset (rev3) URL : https://patchwork.freedesktop.org/series/136443/ State : success == Summary == CI Bug Log - changes from CI_DRM_15285 -> Patchwork_136443v3 Summary

✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp_mst: Fix MST state after a sink reset (rev3)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915/dp_mst: Fix MST state after a sink reset (rev3) URL : https://patchwork.freedesktop.org/series/136443/ State : warning == Summary == Error: dim checkpatch failed 516be2fb8f69 drm/i915/dp_mst: Fix MST state after a sink reset -:109: WARNING:MISSING_FIXES_TA

[PATCH v7 3/3] drm: Expand max DRM device number to full MINORBITS

2024-08-23 Thread Michał Winiarski
Having a limit of 64 DRM devices is not good enough for modern world where we have multi-GPU servers, SR-IOV virtual functions and virtual devices used for testing. Let's utilize full minor range for DRM devices. To avoid regressing the existing userspace, we're still maintaining the numbering sche

[PATCH v7 2/3] accel: Use XArray instead of IDR for minors

2024-08-23 Thread Michał Winiarski
Accel minor management is based on DRM (and is also using struct drm_minor internally), since DRM is using XArray for minors, it makes sense to also convert accel. As the two implementations are identical (only difference being the underlying xarray), move the accel_minor_* functionality to DRM. A

[PATCH v7 1/3] drm: Use XArray instead of IDR for minors

2024-08-23 Thread Michał Winiarski
IDR is deprecated, and since XArray manages its own state with internal locking, it simplifies the locking on DRM side. Additionally, don't use the IRQ-safe variant, since operating on drm minor is not done in IRQ context. Suggested-by: Matthew Wilcox Acked-by: James Zhu Signed-off-by: Michał Wi

[PATCH v7 0/3] drm: Use full allocated minor range for DRM

2024-08-23 Thread Michał Winiarski
64 DRM device nodes is not enough for everyone. Upgrade it to ~512K (which definitely is more than enough). Additionally, convert minors to use XArray instead of IDR to simplify the locking. Corresponding libdrm changes were merged in: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/305

[PATCH v2] drm/i915/dp_mst: Fix MST state after a sink reset

2024-08-23 Thread Imre Deak
In some cases the sink can reset itself after it was configured into MST mode, without the driver noticing the disconnected state. For instance the reset may happen in the middle of a modeset, or the (long) HPD pulse generated may be not long enough for the encoder detect handler to observe the HPD

✓ Fi.CI.BAT: success for CCS static load balance (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance (rev2) URL : https://patchwork.freedesktop.org/series/137715/ State : success == Summary == CI Bug Log - changes from CI_DRM_15284 -> Patchwork_137715v2 Summary --- **SUCCESS**

✗ Fi.CI.CHECKPATCH: warning for CCS static load balance (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance (rev2) URL : https://patchwork.freedesktop.org/series/137715/ State : warning == Summary == Error: dim checkpatch failed 6ad023c9bef4 drm/i915/gt: Avoid using masked workaround for CCS_MODE setting bde55a5f33ad drm/i915/gt: Move the CCS mode

✗ Fi.CI.SPARSE: warning for CCS static load balance (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance (rev2) URL : https://patchwork.freedesktop.org/series/137715/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

Re: [PATCH 3/9] drm/panel: panel-novatak-nt35510: Use backlight power constants

2024-08-23 Thread Linus Walleij
On Wed, Jul 31, 2024 at 2:23 PM Thomas Zimmermann wrote: > Replace FB_BLANK_ constants with their counterparts from the > backlight subsystem. The values are identical, so there's no > change in functionality or semantics. > > Signed-off-by: Thomas Zimmermann > Cc: Linus Walleij > Cc: Neil Arms

✓ Fi.CI.BAT: success for series starting with [1/2] drm/ttm: fix kernel-doc typo for @trylock_only

2024-08-23 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/ttm: fix kernel-doc typo for @trylock_only URL : https://patchwork.freedesktop.org/series/137719/ State : success == Summary == CI Bug Log - changes from CI_DRM_15283 -> Patchwork_137719v1

✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/ttm: fix kernel-doc typo for @trylock_only

2024-08-23 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/ttm: fix kernel-doc typo for @trylock_only URL : https://patchwork.freedesktop.org/series/137719/ State : warning == Summary == Error: dim checkpatch failed 2db722b79996 drm/ttm: fix kernel-doc typo for @trylock_only 0809e2f82c9f drm

Re: [PATCH] drm/i915: remove unnecessary display includes

2024-08-23 Thread Rodrigo Vivi
On Fri, Aug 23, 2024 at 03:33:18PM +0300, Jani Nikula wrote: > There are a number of leftover #include "display/..." directives that > are completely unnecessary. Remove them to make it easier to spot the > relevant ones. In one case, switch to a more specific include. > > Signed-off-by: Jani Niku

✗ Fi.CI.BAT: failure for CCS static load balance

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance URL : https://patchwork.freedesktop.org/series/137715/ State : failure == Summary == CI Bug Log - changes from CI_DRM_15283 -> Patchwork_137715v1 Summary --- **FAILURE** Serious

✗ Fi.CI.SPARSE: warning for CCS static load balance

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance URL : https://patchwork.freedesktop.org/series/137715/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✗ Fi.CI.CHECKPATCH: warning for CCS static load balance

2024-08-23 Thread Patchwork
== Series Details == Series: CCS static load balance URL : https://patchwork.freedesktop.org/series/137715/ State : warning == Summary == Error: dim checkpatch failed f36edbebc969 drm/i915/gt: Avoid using masked workaround for CCS_MODE setting 9744b72c26af drm/i915/gt: Move the CCS mode variab

Re: [PATCH 1/2] drm/ttm: fix kernel-doc typo for @trylock_only

2024-08-23 Thread Christian König
Am 23.08.24 um 16:11 schrieb Jani Nikula: s/tryock_only/trylock_only/ Fixes: da966b82bf3d ("drm/ttm: Provide a generic LRU walker helper") Cc: Thomas Hellström Cc: Christian König Signed-off-by: Jani Nikula Reviewed-by: Christian König --- include/drm/ttm/ttm_bo.h | 2 +- 1 file chang

[PATCH 2/2] drm: ensure drm headers are self-contained and pass kernel-doc

2024-08-23 Thread Jani Nikula
Ensure drm headers build, are self-contained, have header guards, and have no kernel-doc warnings, when CONFIG_DRM_HEADER_TEST=y. The mechanism follows similar patters used in i915, xe, and usr/include. To cover include/drm, we need to recurse there using the top level Kbuild and the new include/

[PATCH 1/2] drm/ttm: fix kernel-doc typo for @trylock_only

2024-08-23 Thread Jani Nikula
s/tryock_only/trylock_only/ Fixes: da966b82bf3d ("drm/ttm: Provide a generic LRU walker helper") Cc: Thomas Hellström Cc: Christian König Signed-off-by: Jani Nikula --- include/drm/ttm/ttm_bo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/ttm/ttm_bo.h b/inclu

✓ Fi.CI.BAT: success for Increase fastwake sync pulse count as a quirk (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: Increase fastwake sync pulse count as a quirk (rev2) URL : https://patchwork.freedesktop.org/series/137524/ State : success == Summary == CI Bug Log - changes from CI_DRM_15283 -> Patchwork_137524v2 Summary

✗ Fi.CI.SPARSE: warning for Increase fastwake sync pulse count as a quirk (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: Increase fastwake sync pulse count as a quirk (rev2) URL : https://patchwork.freedesktop.org/series/137524/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. +./arch/x86/include/as

Re: [PATCH] drm/i915/gt: Continue creating engine sysfs files even after a failure

2024-08-23 Thread Rodrigo Vivi
On Wed, Aug 21, 2024 at 09:32:48AM +0200, Andi Shyti wrote: > Hi Rodrigo, > > On Tue, Aug 20, 2024 at 05:22:40PM -0400, Rodrigo Vivi wrote: > > On Mon, Aug 19, 2024 at 01:31:40PM +0200, Andi Shyti wrote: > > > The i915 driver generates sysfs entries for each engine of the > > > GPU in /sys/class/d

Re: [PATCH] drm/i915/gem: Remove unnecessary cast

2024-08-23 Thread Rodrigo Vivi
On Fri, Aug 16, 2024 at 10:20:48AM +0200, Andi Shyti wrote: > Hi Rodrigo, > > On Thu, Aug 15, 2024 at 02:58:25PM -0400, Rodrigo Vivi wrote: > > On Wed, Aug 14, 2024 at 07:59:47PM +0200, Andi Shyti wrote: > > > The cast from "long" to "unsigned long" is unnecessary. Remove > > > it. > > > > I don'

✓ Fi.CI.BAT: success for drm/i915: remove unnecessary display includes

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: remove unnecessary display includes URL : https://patchwork.freedesktop.org/series/137706/ State : success == Summary == CI Bug Log - changes from CI_DRM_15283 -> Patchwork_137706v1 Summary ---

[PATCH v3 15/15] drm/i915/gt: Allow the user to change the CCS mode through sysfs

2024-08-23 Thread Andi Shyti
Create the 'ccs_mode' file under /sys/class/drm/cardX/gt/gt0/ccs_mode This file allows the user to read and set the current CCS mode. - Reading: The user can read the current CCS mode, which can be 1, 2, or 4. This value is derived from the current engine mask. - Writing: The user can s

[PATCH v3 14/15] drm/i915/gt: Implement creation and removal routines for CCS engines

2024-08-23 Thread Andi Shyti
In preparation for upcoming patches, we need routines to dynamically create and destroy CCS engines based on the CCS mode that the user wants to set. The process begins by calculating the engine mask for the engines that need to be added or removed. We then update the UABI list of exposed engines

[PATCH v3 13/15] drm/i915/gt: Isolate single sysfs engine file creation

2024-08-23 Thread Andi Shyti
In preparation for upcoming patches, we need the ability to create and remove individual sysfs files. To facilitate this, extract from the intel_engines_add_sysfs() function the creation of individual files. Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/gt/sysfs_engines.c | 74 +

[PATCH v3 12/15] drm/i915: Protect access to the UABI engines list with a mutex

2024-08-23 Thread Andi Shyti
Until now, the UABI engines list has been accessed in read-only mode, as it was created once during boot and destroyed upon module unload. In upcoming commits, we will be modifying this list by changing the CCS mode, allowing compute engines to be dynamically added and removed at runtime based on

[PATCH v3 11/15] drm/i915/gt: Store active CCS mask

2024-08-23 Thread Andi Shyti
To support upcoming patches, we need to store the current mask for active CCS engines. Active engines refer to those exposed to userspace via the UABI engine list. Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c | 41 +++-- drivers/gpu/drm/i915/gt/intel

[PATCH v3 10/15] drm/i915/gt: Store engine-related sysfs kobjects

2024-08-23 Thread Andi Shyti
Upcoming commits will need to access engine-related kobjects to enable the creation and destruction of sysfs interfaces at runtime. For this, store the "engine" directory (i915->sysfs_engine), the engine files (gt->kobj), and the default data (gt->kobj_defaults). Signed-off-by: Andi Shyti --- d

[PATCH v3 09/15] drm/i915/gt: Expose the number of total CCS slices

2024-08-23 Thread Andi Shyti
Implement a sysfs interface to show the number of available CCS slices. The displayed number does not take into account the CCS balancing mode. Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c | 21 + drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h | 1 +

[PATCH v3 08/15] drm/i915/gt: Remove cslices mask value from the CCS structure

2024-08-23 Thread Andi Shyti
Following the decision to manage CCS engine creation within UABI engines, the "cslices" variable in the "ccs" structure in the "gt" is no longer needed. Remove it is now redundant. Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_

[PATCH v3 07/15] drm/i915/gt: Manage CCS engine creation within UABI exposure

2024-08-23 Thread Andi Shyti
In commit ea315f98e5d6 ("drm/i915/gt: Do not generate the command streamer for all the CCS"), we restricted the creation of physical CCS engines to only one stream. This allowed the user to submit a single compute workload, with all CCS slices sharing the workload from that stream. This patch remo

[PATCH v3 06/15] drm/i915/gt: Introduce for_each_enabled_engine() and apply it in selftests

2024-08-23 Thread Andi Shyti
Selftests should run only on enabled engines, as disabled engines are not intended for use. A practical example is when, on DG2 machines, the user chooses to utilize only one CCS stream instead of all four. To address this, introduce the for_each_enabled_engine() loop, which will skip engines when

[PATCH v3 05/15] drm/i915/gem: Mark and verify UABI engine validity

2024-08-23 Thread Andi Shyti
Mark engines as invalid when they are not added to the UABI list to prevent accidental assignment of batch buffers. Currently, this change is mostly precautionary with minimal impact. However, in the future, when CCS engines will be dynamically added and removed by the user, this mechanism will be

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

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

[PATCH v3 03/15] drm/i915/gt: Allow the creation of multi-mode CCS masks

2024-08-23 Thread Andi Shyti
Until now, we have only set CCS mode balancing to 1, which means that only one compute engine is exposed to the user. The stream of compute commands submitted to that engine is then shared among all the dedicated execution units. This is done by calling the 'intel_gt_apply_ccs_mode(); function. W

[PATCH v3 02/15] drm/i915/gt: Move the CCS mode variable to a global position

2024-08-23 Thread Andi Shyti
Store the CCS mode value in the intel_gt->ccs structure to make it available for future instances that may need to change its value. Name it mode_reg_val because it holds the value that will be written into the CCS_MODE register, determining the CCS balancing and, consequently, the number of engin

[PATCH v3 01/15] drm/i915/gt: Avoid using masked workaround for CCS_MODE setting

2024-08-23 Thread Andi Shyti
When setting the CCS mode, we mistakenly used wa_masked_en() to apply the workaround, which reads from the register and masks the existing value with the new one. Our intention was to write the value directly, without masking it. So far, this hasn't caused issues because we've been using a regist

[PATCH v3 00/15] CCS static load balance

2024-08-23 Thread Andi Shyti
Hi, This patch series introduces static load balancing for GPUs with multiple compute engines. It's a lengthy series, and some challenging aspects still need to be resolved. I have tried to split the work as much as possible to facilitate the review process. To summarize, in patches 1 to 14, no

Re: [PATCH] drm/i915/dp_mst: Fix MST state after a sink reset

2024-08-23 Thread Imre Deak
On Thu, Aug 22, 2024 at 05:53:19PM +0300, Jani Nikula wrote: > On Thu, 22 Aug 2024, Imre Deak wrote: > > On Thu, Aug 22, 2024 at 01:00:03PM +0300, Jani Nikula wrote: > >> On Wed, 21 Aug 2024, Imre Deak wrote: > >> > On Wed, Aug 21, 2024 at 05:19:11PM +0300, Jani Nikula wrote: > >> >> On Wed, 24 J

[PATCH v3 00/15] CCS static load balance

2024-08-23 Thread Andi Shyti
Hi, This patch series introduces static load balancing for GPUs with multiple compute engines. It's a lengthy series, and some challenging aspects still need to be resolved. I have tried to split the work as much as possible to facilitate the review process. To summarize, in patches 1 to 14, no

Re: [PATCH] drm/i915/dp_mst: Fix MST state after a sink reset

2024-08-23 Thread Imre Deak
On Thu, Aug 22, 2024 at 12:38:28PM +0300, Kandpal, Suraj wrote: > > > > -Original Message- > > From: Intel-gfx On Behalf Of Imre > > Deak > > Sent: Wednesday, July 24, 2024 10:10 PM > > To: Jani Nikula > > Cc: intel-gfx@lists.freedesktop.org > > Subject: Re: [PATCH] drm/i915/dp_mst: Fix

[PATCH v2 1/2] drm/i915/display: Add mechanism to use sink model when applying quirk

2024-08-23 Thread Jouni Högander
Currently there is no way to apply quirk on device only if certain panel model is installed. This patch implements such mechanism by adding new quirk type intel_dpcd_quirk which contains also sink_oui and sink_device_id fields and using also them to figure out if applying quirk is needed. New inte

[PATCH v2 2/2] drm/i915/display: Increase Fast Wake Sync length as a quirk

2024-08-23 Thread Jouni Högander
In commit "drm/i915/display: Increase number of fast wake precharge pulses" we were increasing Fast Wake sync pulse length to fix problems observed on Dell Precision 5490 laptop with AUO panel. Later we have observed this is causing problems on other panels. Fix these problems by increasing Fast W

[PATCH v2 0/2] Increase fastwake sync pulse count as a quirk

2024-08-23 Thread Jouni Högander
Implement mechanism to apply quirk only if certain panel is detected on certain setup. Use this new mechanism to increase fastwake sync pulse count on certain Dell laptop and only if specific panel is installed on that laptop. Jouni Högander (2): drm/i915/display: Add mechanism to use sink mode

Re: [PATCH 10/14] drm/i915/dsb: Introduce intel_dsb_chain()

2024-08-23 Thread Ville Syrjälä
On Wed, Aug 21, 2024 at 03:05:05PM +, Manna, Animesh wrote: > > > > -Original Message- > > From: Ville Syrjälä > > Sent: Wednesday, July 3, 2024 5:50 PM > > To: Manna, Animesh > > Cc: intel-gfx@lists.freedesktop.org > > Subject: Re: [PATCH 10/14] drm/i915/dsb: Introduce intel_dsb_ch

Re: [PATCH 11/14] drm/i915/dsb: Allow intel_dsb_chain() to use DSB_WAIT_FOR_VBLANK

2024-08-23 Thread Ville Syrjälä
On Wed, Aug 21, 2024 at 02:58:20PM +, Manna, Animesh wrote: > > > > -Original Message- > > From: Ville Syrjälä > > Sent: Friday, July 5, 2024 11:09 PM > > To: Manna, Animesh > > Cc: intel-gfx@lists.freedesktop.org > > Subject: Re: [PATCH 11/14] drm/i915/dsb: Allow intel_dsb_chain()

[PATCH] drm/i915: remove unnecessary display includes

2024-08-23 Thread Jani Nikula
There are a number of leftover #include "display/..." directives that are completely unnecessary. Remove them to make it easier to spot the relevant ones. In one case, switch to a more specific include. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 -- drivers

✓ Fi.CI.BAT: success for drm/i915/gt: Disable Redundant HZ Plane expansions for MTL/ARL and DG2

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915/gt: Disable Redundant HZ Plane expansions for MTL/ARL and DG2 URL : https://patchwork.freedesktop.org/series/137701/ State : success == Summary == CI Bug Log - changes from CI_DRM_15283 -> Patchwork_137701v1

Re: [PATCH 7/7] drm/i915/display: convert params to struct intel_display

2024-08-23 Thread Jani Nikula
On Thu, 22 Aug 2024, Rodrigo Vivi wrote: > On Thu, Aug 22, 2024 at 07:04:55PM +0300, Jani Nikula wrote: >> Going forward, struct intel_display shall replace struct >> drm_i915_private as the main display device data pointer type. Convert >> intel_display_params.[ch] and intel_display_debugfs_param

[PATCH] drm/i915/gt: Disable Redundant HZ Plane expansions for MTL/ARL and DG2

2024-08-23 Thread Dnyaneshwar Bhadane
Program HZ Plane disable bit to 1 to stop sending the redundant plane expansions. Bspec: 68331 Signed-off-by: Dnyaneshwar Bhadane --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 +++-- drivers/gpu/drm/i915/gt/intel_workarounds.c | 17 +++-- 2 files changed, 18 insertions(+), 4

Re: [PATCH 3/7] drm/i915/vblank: convert to struct intel_display

2024-08-23 Thread Jani Nikula
On Thu, 22 Aug 2024, Rodrigo Vivi wrote: > On Thu, Aug 22, 2024 at 07:04:51PM +0300, Jani Nikula wrote: >> Going forward, struct intel_display shall replace struct >> drm_i915_private as the main display device data pointer type. Convert >> intel_vblank.[ch] to struct intel_display. >> >> Some st

Re: [PATCH 2/2] drm/i915/psr: Implment WA to help reach PC10

2024-08-23 Thread Hogander, Jouni
On Fri, 2024-08-23 at 09:49 +, Kandpal, Suraj wrote: > > > > -Original Message- > > From: Hogander, Jouni > > Sent: Friday, August 23, 2024 12:51 PM > > To: Kandpal, Suraj ; intel- > > g...@lists.freedesktop.org > > Cc: Murthy, Arun R ; Manna, Animesh > > ; jani.nik...@linux.intel.co

[PULL] drm-intel-gt-next

2024-08-23 Thread Joonas Lahtinen
Hi Dave & Sima, Mostly fixes in this drm-intel-gt-next PR at this time. One thing to pay attention is the limitation of number of relocations to INT_MAX which might impact synthetic tests, but no real workloads. Regards, Joonas *** drm-intel-gt-next-2024-08-23: UAPI Changes: - drm/i915: 2 Gi

RE: [PATCH 2/2] drm/i915/psr: Implment WA to help reach PC10

2024-08-23 Thread Kandpal, Suraj
> -Original Message- > From: Hogander, Jouni > Sent: Friday, August 23, 2024 12:51 PM > To: Kandpal, Suraj ; intel- > g...@lists.freedesktop.org > Cc: Murthy, Arun R ; Manna, Animesh > ; jani.nik...@linux.intel.com > Subject: Re: [PATCH 2/2] drm/i915/psr: Implment WA to help reach PC10 >

✓ Fi.CI.BAT: success for drm/i915: remove unused leftover basedie step code (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: remove unused leftover basedie step code (rev2) URL : https://patchwork.freedesktop.org/series/137650/ State : success == Summary == CI Bug Log - changes from CI_DRM_15282 -> Patchwork_137650v2 Summary

✗ Fi.CI.SPARSE: warning for drm/i915: remove unused leftover basedie step code (rev2)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: remove unused leftover basedie step code (rev2) URL : https://patchwork.freedesktop.org/series/137650/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✓ Fi.CI.BAT: success for drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict URL : https://patchwork.freedesktop.org/series/137693/ State : success == Summary == CI Bug Log - changes from CI_DRM_15282 -> Patchwork_137693v1 S

Re: [PATCH v1] drm/i915/dp: Remove double assignment in intel_dp_compute_as_sdp()

2024-08-23 Thread Jani Nikula
On Fri, 23 Aug 2024, Yuesong Li wrote: > cocci report a double assignment warning. 'as_sdp->duration_incr_ms' > was assigned twice in intel_dp_compute_as_sdp(). > > Signed-off-by: Yuesong Li Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/i915/display/intel_dp.c | 1 - > 1 file changed, 1 de

Re: [PATCH] drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

2024-08-23 Thread Jani Nikula
On Fri, 23 Aug 2024, Hans de Goede wrote: > There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it > turns out that the 2G version has a DMI product name of > "CHERRYVIEW D1 PLATFORM" where as the 4G version has > "CHERRYVIEW C0 PLATFORM". The sys-vendor + product-version check are

[PATCH] drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

2024-08-23 Thread Hans de Goede
There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it turns out that the 2G version has a DMI product name of "CHERRYVIEW D1 PLATFORM" where as the 4G version has "CHERRYVIEW C0 PLATFORM". The sys-vendor + product-version check are unique enough that the product-name check is not ne

Re: [PATCH 2/2] drm/i915/psr: Implment WA to help reach PC10

2024-08-23 Thread Hogander, Jouni
On Fri, 2024-08-23 at 06:18 +, Kandpal, Suraj wrote: > > > > -Original Message- > > From: Hogander, Jouni > > Sent: Friday, August 23, 2024 10:54 AM > > To: Kandpal, Suraj ; > > intel-gfx@lists.freedesktop.org > > Cc: Murthy, Arun R ; Manna, Animesh > > ; jani.nik...@linux.intel.com

✓ Fi.CI.BAT: success for drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3) URL : https://patchwork.freedesktop.org/series/136884/ State : success == Summary == CI Bug Log - changes from CI_DRM_15282 -> Patchwork_136884v3 ==

✗ Fi.CI.SPARSE: warning for drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3) URL : https://patchwork.freedesktop.org/series/136884/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately

✗ Fi.CI.CHECKPATCH: warning for drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3)

2024-08-23 Thread Patchwork
== Series Details == Series: drm/i915: Implement Dbuf overlap detection feature starting from LNL (rev3) URL : https://patchwork.freedesktop.org/series/136884/ State : warning == Summary == Error: dim checkpatch failed a0ab13e3121f drm/i915: Implement Dbuf overlap detection feature starting f