[Intel-gfx] [RFC V3 0/2] Attach and Set vrr_enabled property

2022-05-17 Thread Bhanuprakash Modem
This series will add a support to set the vrr_enabled property for crtc based on the platform support and the request from userspace. And userspace can also query to get the status of "vrr_enabled". Test-with: 20220422075223.2792586-2-bhanuprakash.mo...@intel.com Bhanuprakash Modem (2): drm/vrr

[Intel-gfx] [RFC V3 1/2] drm/vrr: Attach vrr_enabled property to the drm crtc

2022-05-17 Thread Bhanuprakash Modem
Modern display hardware is capable of supporting variable refresh rates. This patch introduces helpers to attach and set "vrr_enabled" property on the crtc to allow userspace to query VRR enabled status on that crtc. Atomic drivers should attach this property to crtcs those are capable of driving

[Intel-gfx] [RFC V3 2/2] drm/i915/vrr: Set drm crtc vrr_enabled property

2022-05-17 Thread Bhanuprakash Modem
This function sets the vrr_enabled property for crtc based on the platform support and the request from userspace. V2: Check for platform support before updating the prop. V3: Don't attach vrr_enabled prop, as it is alreay attached. Cc: Ville Syrjälä Cc: Manasi Navare Signed-off-by: Bhanuprakas

Re: [Intel-gfx] linux-next: Tree for May 16 (drm/i915/gt/intel_gt_sysfs_pm.c)

2022-05-17 Thread Tvrtko Ursulin
Hi, On 16/05/2022 22:22, Randy Dunlap wrote: On 5/16/22 03:57, Stephen Rothwell wrote: Hi all, Changes since 20220513: on i386: CC drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c: In function ‘act_freq_mhz_show’: ../drivers/gpu/drm/i91

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Attach and Set vrr_enabled property (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: Attach and Set vrr_enabled property (rev3) URL : https://patchwork.freedesktop.org/series/102978/ State : warning == Summary == Error: dim checkpatch failed ca69c64ffb44 drm/vrr: Attach vrr_enabled property to the drm crtc -:81: CHECK:PARENTHESIS_ALIGNMENT: Alignme

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Attach and Set vrr_enabled property (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: Attach and Set vrr_enabled property (rev3) URL : https://patchwork.freedesktop.org/series/102978/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/

[Intel-gfx] ✗ Fi.CI.BAT: failure for Attach and Set vrr_enabled property (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: Attach and Set vrr_enabled property (rev3) URL : https://patchwork.freedesktop.org/series/102978/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11662 -> Patchwork_102978v3 Summary --- **F

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Tvrtko Ursulin
On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2: - Some spelling fixes and other small tweaks. (Akeem & Thomas) - Rework error capture interactions, including no longer needing NEEDS_CPU_ACCESS for objects marked for capture. (

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Expose max and current bpc via debugfs (rev8)

2022-05-17 Thread Patchwork
== Series Details == Series: Expose max and current bpc via debugfs (rev8) URL : https://patchwork.freedesktop.org/series/102502/ State : warning == Summary == Error: dim checkpatch failed edfa55bea7ad drm/debug: Expose connector's max supported bpc via debugfs -:21: WARNING:BAD_SIGN_OFF: 'Rev

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Lionel Landwerlin
On 17/05/2022 11:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    - Some spelling fixes and other small tweaks. (Akeem & Thomas)    - Rework error capture interactions, including no longer needing NEEDS_C

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Matthew Auld
On 17/05/2022 09:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    - Some spelling fixes and other small tweaks. (Akeem & Thomas)    - Rework error capture interactions, including no longer needing NEEDS_C

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Tvrtko Ursulin
On 17/05/2022 09:55, Lionel Landwerlin wrote: On 17/05/2022 11:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    - Some spelling fixes and other small tweaks. (Akeem & Thomas)    - Rework error capture inter

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Lionel Landwerlin
On 17/05/2022 12:23, Tvrtko Ursulin wrote: On 17/05/2022 09:55, Lionel Landwerlin wrote: On 17/05/2022 11:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    - Some spelling fixes and other small tweaks. (Akee

Re: [Intel-gfx] [PATCH v4 2/5] drm: Add HPD state to drm_connector_oob_hotplug_event()

2022-05-17 Thread Heikki Krogerus
On Mon, May 02, 2022 at 09:53:13AM -0700, Bjorn Andersson wrote: > In some implementations, such as the Qualcomm platforms, the display > driver has no way to query the current HPD state and as such it's > impossible to distinguish between disconnect and attention events. > > Add a parameter to dr

[Intel-gfx] [PATCH v4] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Matthew Auld
Add an entry for the new uapi needed for small BAR on DG2+. v2: - Some spelling fixes and other small tweaks. (Akeem & Thomas) - Rework error capture interactions, including no longer needing NEEDS_CPU_ACCESS for objects marked for capture. (Thomas) - Add probed_cpu_visible_size. (Lionel

[Intel-gfx] [PATCH] drm/i915: Individualize fences before adding to dma_resv obj

2022-05-17 Thread Nirmoy Das
_i915_vma_move_to_active() can receive > 1 fences for multiple batch buffers submission. Because dma_resv_add_fence() can only accept one fence at a time, change _i915_vma_move_to_active() to be aware of multiple fences so that it can add individual fences to the dma resv object. v2: make sure to

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Tvrtko Ursulin
On 17/05/2022 10:39, Lionel Landwerlin wrote: On 17/05/2022 12:23, Tvrtko Ursulin wrote: On 17/05/2022 09:55, Lionel Landwerlin wrote: On 17/05/2022 11:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    -

Re: [Intel-gfx] [PATCH v3] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Tvrtko Ursulin
On 17/05/2022 10:12, Matthew Auld wrote: On 17/05/2022 09:29, Tvrtko Ursulin wrote: On 16/05/2022 19:11, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2:    - Some spelling fixes and other small tweaks. (Akeem & Thomas)    - Rework error capture interactio

Re: [Intel-gfx] [PATCH v4] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Tvrtko Ursulin
On 17/05/2022 11:52, Matthew Auld wrote: Add an entry for the new uapi needed for small BAR on DG2+. v2: - Some spelling fixes and other small tweaks. (Akeem & Thomas) - Rework error capture interactions, including no longer needing NEEDS_CPU_ACCESS for objects marked for capture. (

[Intel-gfx] [PATCH v3 5/6] drm/i915/sseu: Disassociate internal subslice mask representation from uapi

2022-05-17 Thread Matt Roper
As with EU masks, it's easier to store subslice/DSS masks internally in a format that's more natural for the driver to work with, and then only covert into the u8[] uapi form when the query ioctl is invoked. Since the hardware design changed significantly with Xe_HP, we'll use a union to choose be

[Intel-gfx] [PATCH 00/14] drm/kms: Stop registering multiple /sys/class/backlight devs for a single display

2022-05-17 Thread Hans de Goede
Hi All, As mentioned in my RFC titled "drm/kms: control display brightness through drm_connector properties": https://lore.kernel.org/dri-devel/0d188965-d809-81b5-74ce-7d30c49fe...@redhat.com/ The first step towards this is to deal with some existing technical debt in backlight handling on x86/AC

[Intel-gfx] [PATCH 01/14] ACPI: video: Add a native function parameter to acpi_video_get_backlight_type()

2022-05-17 Thread Hans de Goede
ATM on x86 laptops where we want userspace to use the acpi_video backlight device we often register both the GPU's native backlight device and acpi_video's firmware acpi_video# backlight device. This relies on userspace preferring firmware type backlight devices over native ones, but registering 2

[Intel-gfx] [PATCH 02/14] drm/i915: Don't register backlight when another backlight should be used

2022-05-17 Thread Hans de Goede
Before this commit when we want userspace to use the acpi_video backlight device we register both the GPU's native backlight device and acpi_video's firmware acpi_video# backlight device. This relies on userspace preferring firmware type backlight devices over native ones. Registering 2 backlight

[Intel-gfx] [PATCH 05/14] drm/nouveau: Don't register backlight when another backlight should be used

2022-05-17 Thread Hans de Goede
Before this commit when we want userspace to use the acpi_video backlight device we register both the GPU's native backlight device and acpi_video's firmware acpi_video# backlight device. This relies on userspace preferring firmware type backlight devices over native ones. Registering 2 backlight

[Intel-gfx] [PATCH 03/14] drm/amdgpu: Don't register backlight when another backlight should be used

2022-05-17 Thread Hans de Goede
Before this commit when we want userspace to use the acpi_video backlight device we register both the GPU's native backlight device and acpi_video's firmware acpi_video# backlight device. This relies on userspace preferring firmware type backlight devices over native ones. Registering 2 backlight

[Intel-gfx] [PATCH 06/14] ACPI: video: Drop backlight_device_get_by_type() call from acpi_video_get_backlight_type()

2022-05-17 Thread Hans de Goede
Now that all kms drivers which register native/BACKLIGHT_RAW type backlight devices on x86/ACPI boards call acpi_video_get_backlight_type(true), with the native=true value getting cached, there no longer is a need to call backlight_device_get_by_type(BACKLIGHT_RAW) to see if a native backlight devi

[Intel-gfx] [PATCH 07/14] ACPI: video: Remove acpi_video_bus from list before tearing it down

2022-05-17 Thread Hans de Goede
Move the list_del removing an acpi_video_bus from video_bus_head on teardown to before the teardown is done, to avoid code iterating over the video_bus_head list seeing acpi_video_bus objects on there which are (partly) torn down already. Signed-off-by: Hans de Goede --- drivers/acpi/acpi_video.

[Intel-gfx] [PATCH 04/14] drm/radeon: Don't register backlight when another backlight should be used

2022-05-17 Thread Hans de Goede
Before this commit when we want userspace to use the acpi_video backlight device we register both the GPU's native backlight device and acpi_video's firmware acpi_video# backlight device. This relies on userspace preferring firmware type backlight devices over native ones. Registering 2 backlight

[Intel-gfx] [PATCH 09/14] ACPI: video: Make backlight class device registration a separate step

2022-05-17 Thread Hans de Goede
On x86/ACPI boards the acpi_video driver will usually initializing before the kms driver (except i915). This causes /sys/class/backlight/acpi_video0 to show up and then the kms driver registers its own native backlight device after which the drivers/acpi/video_detect.c code unregisters the acpi_vid

[Intel-gfx] [PATCH 10/14] ACPI: video: Remove code to unregister acpi_video backlight when a native backlight registers

2022-05-17 Thread Hans de Goede
Remove the code to unregister acpi_video backlight devices when a native backlight device gets registered later. Now that the acpi_video backlight device registration is a separate step which runs later, after the drm/kms driver is done setting up its own native backlight device, it is no longer n

[Intel-gfx] [PATCH 11/14] drm/i915: Call acpi_video_register_backlight()

2022-05-17 Thread Hans de Goede
On machins without an i915 opregion the acpi_video driver immediately probes the ACPI video bus and used to also immediately register acpi_video# backlight devices when supported. Once the drm/kms driver then loaded later and possibly registered a native backlight device then the drivers/acpi/vide

[Intel-gfx] [PATCH 12/14] drm/nouveau: Register ACPI video backlight when nv_backlight registration fails

2022-05-17 Thread Hans de Goede
Typically the acpi_video driver will initialize before nouveau, which used to cause /sys/class/backlight/acpi_video0 to get registered and then nouveau would register its own nv_backlight device later. After which the drivers/acpi/video_detect.c code unregistered the acpi_video0 device to avoid the

[Intel-gfx] [PATCH 08/14] ACPI: video: Simplify acpi_video_unregister_backlight()

2022-05-17 Thread Hans de Goede
When acpi_video_register() has not run yet the video_bus_head will be empty, so there is no need to check the register_count flag first. Signed-off-by: Hans de Goede --- drivers/acpi/acpi_video.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/acpi/acpi_v

[Intel-gfx] [PATCH 13/14] drm/amdgpu: Register ACPI video backlight when skipping amdgpu backlight registration

2022-05-17 Thread Hans de Goede
Typically the acpi_video driver will initialize before amdgpu, which used to cause /sys/class/backlight/acpi_video0 to get registered and then amdgpu would register its own amdgpu_bl# device later. After which the drivers/acpi/video_detect.c code unregistered the acpi_video0 device to avoid there b

[Intel-gfx] [PATCH 14/14] drm/radeon: Register ACPI video backlight when skipping radeon backlight registration

2022-05-17 Thread Hans de Goede
Typically the acpi_video driver will initialize before radeon, which used to cause /sys/class/backlight/acpi_video0 to get registered and then radeon would register its own radeon_bl# device later. After which the drivers/acpi/video_detect.c code unregistered the acpi_video0 device to avoid there b

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/doc: add rfc section for small BAR uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc: add rfc section for small BAR uapi (rev3) URL : https://patchwork.freedesktop.org/series/102875/ State : warning == Summary == Error: dim checkpatch failed 9a6a6e3a4d2e drm/doc: add rfc section for small BAR uapi -:31: WARNING:BAD_SIGN_OFF: Duplicate signa

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/doc: add rfc section for small BAR uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc: add rfc section for small BAR uapi (rev3) URL : https://patchwork.freedesktop.org/series/102875/ State : success == Summary == CI Bug Log - changes from CI_DRM_11665 -> Patchwork_102875v3 Summary --

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/doc: add rfc section for small BAR uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc: add rfc section for small BAR uapi (rev3) URL : https://patchwork.freedesktop.org/series/102875/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11665_full -> Patchwork_102875v3_full Summ

[Intel-gfx] [PATCH] drm/i915/dg2: Add workaround 22014600077

2022-05-17 Thread Swathi Dhanavanthri
Bspec: 45810,54077,68173 Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 9 + 2 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/intel_gt_regs.h b/drivers/gpu/drm/i915/gt/intel_g

Re: [Intel-gfx] [PATCH v4] drm/doc: add rfc section for small BAR uapi

2022-05-17 Thread Abodunrin, Akeem G
> -Original Message- > From: Tvrtko Ursulin > Sent: Tuesday, May 17, 2022 6:49 AM > To: Auld, Matthew ; intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Thomas Hellström > ; Landwerlin, Lionel G > ; Bloomfield, Jon ; > Daniel Vetter ; Justen, Jordan L > ; Kenneth Gr

Re: [Intel-gfx] linux-next: Tree for May 16 (drm/i915/gt/intel_gt_sysfs_pm.c)

2022-05-17 Thread Randy Dunlap
On 5/17/22 00:35, Tvrtko Ursulin wrote: > > Hi, > > On 16/05/2022 22:22, Randy Dunlap wrote: >> >> >> On 5/16/22 03:57, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20220513: >>> >> >> on i386: >> >>    CC  drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o >> ../drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH v2] drm/i915/display: Add a separate crtc_enable hook for SKL+

2022-05-17 Thread Navare, Manasi
Jani, I have cleaned up the hsw_crtc_enable now removing the unused function calls. Could you please take a look? Regards Manasi On Thu, May 12, 2022 at 12:52:04PM -0700, Manasi Navare wrote: > Currently we reuse hsw_crtc_enable for SKL+ platforms. > But this has added a lot of platform checks f

[Intel-gfx] [RFC v3 1/3] drm/doc/rfc: VM_BIND feature design document

2022-05-17 Thread Niranjana Vishwanathapura
VM_BIND design document with description of intended use cases. v2: Add more documentation and format as per review comments from Daniel. Signed-off-by: Niranjana Vishwanathapura --- Documentation/driver-api/dma-buf.rst | 2 + Documentation/gpu/rfc/i915_vm_bind.rst | 304 +++

[Intel-gfx] [RFC v3 0/3] drm/doc/rfc: i915 VM_BIND feature design + uapi

2022-05-17 Thread Niranjana Vishwanathapura
This is the i915 driver VM_BIND feature design RFC patch series along with the required uapi definition and description of intended use cases. v2: Updated design and uapi, more documentation. v3: Add more documentation and proper kernel-doc formatting with cross references (including missing i

[Intel-gfx] [RFC v3 2/3] drm/i915: Update i915 uapi documentation

2022-05-17 Thread Niranjana Vishwanathapura
Add some missing i915 upai documentation which the new i915 VM_BIND feature documentation will be refer to. Signed-off-by: Niranjana Vishwanathapura --- include/uapi/drm/i915_drm.h | 153 +++- 1 file changed, 116 insertions(+), 37 deletions(-) diff --git a/includ

[Intel-gfx] [RFC v3 3/3] drm/doc/rfc: VM_BIND uapi definition

2022-05-17 Thread Niranjana Vishwanathapura
VM_BIND and related uapi definitions v2: Ensure proper kernel-doc formatting with cross references. Also add new uapi and documentation as per review comments from Daniel. Signed-off-by: Niranjana Vishwanathapura --- Documentation/gpu/rfc/i915_vm_bind.h | 399 +++

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Individualize fences before adding to dma_resv obj

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915: Individualize fences before adding to dma_resv obj URL : https://patchwork.freedesktop.org/series/104074/ State : success == Summary == CI Bug Log - changes from CI_DRM_11666 -> Patchwork_104074v1 Summ

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: SSEU handling updates (rev4)

2022-05-17 Thread Patchwork
== Series Details == Series: i915: SSEU handling updates (rev4) URL : https://patchwork.freedesktop.org/series/103244/ State : warning == Summary == Error: dim checkpatch failed 887126b08a62 drm/i915/xehp: Use separate sseu init function 913cf54798d2 drm/i915/xehp: Drop GETPARAM lookups of I91

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for i915: SSEU handling updates (rev4)

2022-05-17 Thread Patchwork
== Series Details == Series: i915: SSEU handling updates (rev4) URL : https://patchwork.freedesktop.org/series/103244/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/kms: Stop registering multiple /sys/class/backlight devs for a single display

2022-05-17 Thread Patchwork
== Series Details == Series: drm/kms: Stop registering multiple /sys/class/backlight devs for a single display URL : https://patchwork.freedesktop.org/series/104084/ State : failure == Summary == Error: patch https://patchwork.freedesktop.org/api/1.0/series/104084/revisions/1/mbox/ not appl

[Intel-gfx] ✗ Fi.CI.BAT: failure for i915: SSEU handling updates (rev4)

2022-05-17 Thread Patchwork
== Series Details == Series: i915: SSEU handling updates (rev4) URL : https://patchwork.freedesktop.org/series/103244/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11666 -> Patchwork_103244v4 Summary --- **FAILURE**

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for i915: SSEU handling updates (rev4)

2022-05-17 Thread Matt Roper
On Tue, May 17, 2022 at 07:08:08PM +, Patchwork wrote: > == Series Details == > > Series: i915: SSEU handling updates (rev4) > URL : https://patchwork.freedesktop.org/series/103244/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_11666 -> Patchwork_103244v4 > =

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Add workaround 22014600077

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add workaround 22014600077 URL : https://patchwork.freedesktop.org/series/104097/ State : success == Summary == CI Bug Log - changes from CI_DRM_11666 -> Patchwork_104097v1 Summary --- **SUC

[Intel-gfx] [PATCH] drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12

2022-05-17 Thread Swathi Dhanavanthri
Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/intel_pm.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index ee0047fdc95d..d0e0d6a324ee 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/d

[Intel-gfx] ✓ Fi.CI.BAT: success for i915: SSEU handling updates (rev4)

2022-05-17 Thread Patchwork
== Series Details == Series: i915: SSEU handling updates (rev4) URL : https://patchwork.freedesktop.org/series/103244/ State : success == Summary == CI Bug Log - changes from CI_DRM_11666 -> Patchwork_103244v4 Summary --- **SUCCESS**

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Add workaround 22014600077

2022-05-17 Thread Matt Roper
On Tue, May 17, 2022 at 11:02:01AM -0700, Swathi Dhanavanthri wrote: > Bspec: 45810,54077,68173 > > Signed-off-by: Swathi Dhanavanthri > --- > drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + > drivers/gpu/drm/i915/gt/intel_workarounds.c | 9 + > 2 files changed, 10 insertions(+) > >

Re: [Intel-gfx] [PATCH] drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12

2022-05-17 Thread Matt Roper
On Tue, May 17, 2022 at 01:13:38PM -0700, Swathi Dhanavanthri wrote: > Signed-off-by: Swathi Dhanavanthri Reviewed-by: Matt Roper > --- > drivers/gpu/drm/i915/intel_pm.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/g

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for i915: SSEU handling updates (rev4)

2022-05-17 Thread Vudum, Lakshminarayana
Since it's bat failure, I have filed a new issue https://gitlab.freedesktop.org/drm/intel/-/issues/6025 igt@prime_vgem@basic-fence-read - incomplete - No warnings/errors Thanks, Lakshmi. -Original Message- From: Roper, Matthew D Sent: Tuesday, May 17, 2022 12:20 PM To: intel-gfx@lists.f

[Intel-gfx] [RFC PATCH v2 0/1] Replace shmem memory region and object backend

2022-05-17 Thread Adrian Larumbe
This patch is a second attempt at eliminating the old shmem memory region and GEM object backend, in favour of a TTM-based one that is able to manage objects placed on both system and local memory. Questions addressed since previous revision: * Creating an anonymous vfs mount for shmem files in T

[Intel-gfx] [RFC PATCH v2 1/1] drm/i915: Replace shmem memory region and object backend with TTM

2022-05-17 Thread Adrian Larumbe
Remove shmem region and object backend code as they are now unnecessary. In the case of objects placed in SMEM and backed by kernel shmem files, the file pointer has to be retrieved from the ttm_tt structure, so change this as well. This means accessing an shmem-backed BO's file pointer requires ge

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3) URL : https://patchwork.freedesktop.org/series/93447/ State : warning == Summary == Error: dim checkpatch failed b4f01b5605b4 drm/doc/rfc: VM_BIND feature design document -:27: WARNING:FILE_PATH_CHANGES: added,

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3) URL : https://patchwork.freedesktop.org/series/93447/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/1] vfio: remove VFIO_GROUP_NOTIFY_SET_KVM

2022-05-17 Thread Patchwork
== Series Details == Series: series starting with [1/1] vfio: remove VFIO_GROUP_NOTIFY_SET_KVM URL : https://patchwork.freedesktop.org/series/104101/ State : failure == Summary == Error: patch https://patchwork.freedesktop.org/api/1.0/series/104101/revisions/1/mbox/ not applied Applying: vfi

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3) URL : https://patchwork.freedesktop.org/series/93447/ State : success == Summary == CI Bug Log - changes from CI_DRM_11668 -> Patchwork_93447v3 Summary

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12 URL : https://patchwork.freedesktop.org/series/104104/ State : warning == Summary == Error: dim checkpatch failed f3e4cba7117c drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12 -:7: WARNING:COMMIT_

[Intel-gfx] [PATCH v2] drm/i915/dg2: Add workaround 22014600077

2022-05-17 Thread Swathi Dhanavanthri
Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_workarounds.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/intel_gt_regs.h b/drivers/gpu/drm/i915/gt/intel_gt_regs.h index 98ede9c9

Re: [Intel-gfx] [RFC PATCH v2 1/1] drm/i915: Replace shmem memory region and object backend with TTM

2022-05-17 Thread Ruhl, Michael J
>-Original Message- >From: Intel-gfx On Behalf Of >Adrian Larumbe >Sent: Tuesday, May 17, 2022 4:45 PM >To: dan...@ffwll.ch; intel-gfx@lists.freedesktop.org >Cc: adrian.laru...@collabora.com >Subject: [Intel-gfx] [RFC PATCH v2 1/1] drm/i915: Replace shmem memory >region and object backend

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12 URL : https://patchwork.freedesktop.org/series/104104/ State : success == Summary == CI Bug Log - changes from CI_DRM_11668 -> Patchwork_104104v1 Summar

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Replace shmem memory region and object backend

2022-05-17 Thread Patchwork
== Series Details == Series: Replace shmem memory region and object backend URL : https://patchwork.freedesktop.org/series/104105/ State : warning == Summary == Error: dim checkpatch failed a310d6e73af3 drm/i915: Replace shmem memory region and object backend with TTM -:41: CHECK:COMPARISON_TO

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Replace shmem memory region and object backend

2022-05-17 Thread Patchwork
== Series Details == Series: Replace shmem memory region and object backend URL : https://patchwork.freedesktop.org/series/104105/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.BAT: failure for Replace shmem memory region and object backend

2022-05-17 Thread Patchwork
== Series Details == Series: Replace shmem memory region and object backend URL : https://patchwork.freedesktop.org/series/104105/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11668 -> Patchwork_104105v1 Summary ---

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Add workaround 22014600077 (rev2)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add workaround 22014600077 (rev2) URL : https://patchwork.freedesktop.org/series/104097/ State : warning == Summary == Error: dim checkpatch failed c6ced9357337 drm/i915/dg2: Add workaround 22014600077 -:7: WARNING:COMMIT_MESSAGE: Missing commit descr

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg2: Add workaround 22014600077

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add workaround 22014600077 URL : https://patchwork.freedesktop.org/series/104097/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11666_full -> Patchwork_104097v1_full Summary --

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Add workaround 22014600077 (rev2)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add workaround 22014600077 (rev2) URL : https://patchwork.freedesktop.org/series/104097/ State : success == Summary == CI Bug Log - changes from CI_DRM_11668 -> Patchwork_104097v2 Summary ---

Re: [Intel-gfx] [PATCH 11/11] drm/i915: Fix undefined behavior due to shift overflowing the constant

2022-05-17 Thread Randy Dunlap
On 4/5/22 08:15, Borislav Petkov wrote: > From: Borislav Petkov > > Fix: > > In file included from :0:0: > drivers/gpu/drm/i915/gt/uc/intel_guc.c: In function ‘intel_guc_send_mmio’: > ././include/linux/compiler_types.h:352:38: error: call to > ‘__compiletime_assert_1047’ \ > declared

[Intel-gfx] [linux-next:master] BUILD REGRESSION 47c1c54d1bcd0a69a56b49473bc20f17b70e5242

2022-05-17 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 47c1c54d1bcd0a69a56b49473bc20f17b70e5242 Add linux-next specific files for 20220517 Error/Warning reports: https://lore.kernel.org/linux-mm/202204181931.klac6fwo-...@intel.com https

[Intel-gfx] ✗ Fi.CI.IGT: failure for i915: SSEU handling updates (rev4)

2022-05-17 Thread Patchwork
== Series Details == Series: i915: SSEU handling updates (rev4) URL : https://patchwork.freedesktop.org/series/103244/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11666_full -> Patchwork_103244v4_full Summary --- *

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/doc/rfc: i915 VM_BIND feature design + uapi (rev3) URL : https://patchwork.freedesktop.org/series/93447/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11668_full -> Patchwork_93447v3_full Su

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for i915: SSEU handling updates (rev4)

2022-05-17 Thread Matt Roper
On Wed, May 18, 2022 at 12:34:11AM +, Patchwork wrote: > == Series Details == > > Series: i915: SSEU handling updates (rev4) > URL : https://patchwork.freedesktop.org/series/103244/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_11666_full -> Patchwork_103244v4_fu

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Extend Wa_22010954014 to DG2-G11 and DG2-G12 URL : https://patchwork.freedesktop.org/series/104104/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11668_full -> Patchwork_104104v1_full ==

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg2: Add workaround 22014600077 (rev2)

2022-05-17 Thread Patchwork
== Series Details == Series: drm/i915/dg2: Add workaround 22014600077 (rev2) URL : https://patchwork.freedesktop.org/series/104097/ State : failure == Summary == CI Bug Log - changes from CI_DRM_11668_full -> Patchwork_104097v2_full Summary

Re: [Intel-gfx] [V2 3/3] drm/amd/display: Move connector debugfs to drm

2022-05-17 Thread Modem, Bhanuprakash
On Mon-16-05-2022 02:09 pm, Jani Nikula wrote: On Mon, 02 May 2022, Harry Wentland wrote: Both the kernel and IGT series look good to me. I recommend you merge the entire kernel set as one into drm-next. We can pull it into amd-staging-drm-next so as not to break our CI once the IGT patches la

Re: [Intel-gfx] [PATCH v3] uapi/drm/i915: Document memory residency and Flat-CCS capability of obj

2022-05-17 Thread Ramalingam C
On 2022-05-13 at 14:06:11 -0700, Jordan Justen wrote: > On 2022-05-13 05:31:00, Lionel Landwerlin wrote: > > On 02/05/2022 17:15, Ramalingam C wrote: > > > Capture the impact of memory region preference list of the objects, on > > > their memory residency and Flat-CCS capability. > > > > > > v2: >