[PULL] drm-intel-fixes

2025-07-02 Thread Joonas Lahtinen
Hi Dave & Sima, Here's drm-intel-fixes towards 6.16-rc5. Fix for mei interrupt handling on RT builds, two NULL deref fixes and one memory leak fix. Regards, Joonas *** drm-intel-fixes-2025-07-03: - Make mei interrupt top half irq disabled to fix RT builds - Fix timeline left held on VMA alloc

[PULL] drm-intel-fixes

2025-06-25 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the drm-intel-fixes PR towards v6.16-rc4. Two Cc stable fixes, fix for HDMI 1080p@120Hz and DP AUX DPCD probing. Then a followup build fix for GCOV + AutoFDO configs. Regards, Joonas *** drm-intel-fixes-2025-06-26: - Fix for SNPS PHY HDMI for 1080p@120Hz - Correct DP

[PULL] drm-intel-fixes

2025-06-17 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.16-rc3. Two fixes. MIPI vtotal programming fix for Broxton and build fix for GCOV+AutoFDO config. Regards, Joonas *** drm-intel-fixes-2025-06-18: - Fix MIPI vtotal programming off by one on Broxton - Fix PMU code for GCOV and AutoFDO enable

[PULL] drm-intel-next-fixes

2025-06-05 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the final drm-intel-next-fixes PR towards 6.16-rc1. One fix for PSR ALPM reg definitions and three integer under/overflow fixes. Regards, Joonas *** drm-intel-next-fixes-2025-06-05: - Fix PSR register definitions for ALPM - Fix u32 overflow in SNPS PHY HDMI PLL setup

[PULL] drm-intel-next-fixes

2025-05-27 Thread Joonas Lahtinen
f DP audio SDP splitting Imre Deak (1): drm/i915/dp: Fix the enabling/disabling of audio SDP splitting Joonas Lahtinen (1): Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1" Ville Syrj

Re: [PATCH] Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"

2025-05-27 Thread Joonas Lahtinen
Applied this as there were no further objections now that the userspace fix is merged. Thanks for the reviews. Regards, Joonas

Re: [PATCH] Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"

2025-05-22 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2025-05-22 09:41:27) > This reverts commit d6e020819612a4a06207af858e0978be4d3e3140. > > The IS_DGFX check was put in place because error capture of buffer > objects is expected to be broken on devices with VRAM. > > We seem to have already submitted th

Re: [PATCH v2 1/2] drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1

2025-05-22 Thread Joonas Lahtinen
Quoting Ville Syrjälä (2025-05-22 12:35:05) > On Thu, May 22, 2025 at 09:25:04AM +0300, Joonas Lahtinen wrote: > > (+ Tvrkto) > > > > Quoting Ville Syrjala (2025-04-11 17:43:12) > > > +++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c > > > @@ -2013,7

[PULL] drm-intel-next-fixes

2025-05-21 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes another drm-intel-next-fixes PR towards 6.16-rc1. Thunderbolt disconnect fix for MTL/ARL/LNL, DDI port clock fix for PTL+ and WQ allocation error check for display init code. Regards, Joonas PS. CI results were for one patch more, which I reverted during review of the

[PATCH] Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"

2025-05-21 Thread Joonas Lahtinen
: sta...@vger.kernel.org # v6.0+ Cc: Ville Syrjälä Cc: Andi Shyti Cc: Matthew Auld Cc: Thomas Hellström Cc: Tvrtko Ursulin Signed-off-by: Joonas Lahtinen --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915

Re: [PATCH v2 1/2] drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1

2025-05-21 Thread Joonas Lahtinen
(+ Tvrkto) Quoting Ville Syrjala (2025-04-11 17:43:12) > From: Ville Syrjälä > > The intel-media-driver is currently broken on DG1 because > it uses EXEC_CAPTURE with recovarable contexts. Relax the > check to allow that. > > I've also submitted a fix for the intel-media-driver: > https://githu

Re: [RFC 0/2] Introduce a sysfs interface for lmem information

2025-05-20 Thread Joonas Lahtinen
(+ Tvrtko, Rodrigo and Jani) Quoting Krzysztof Niemiec (2025-05-19 18:34:14) > Hi, > > This series introduces a way for applications to read local memory > information via files in the sysfs. So far the only way to do this was > via i915_query ioctl. This is slightly less handy than sysfs for > e

[PULL] drm-intel-next-fixes

2025-05-15 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the drm-intel-next-fixes PR for this week. Just one MST fix and one PSR fix this round. The CI results for drm-intel-next-fixes are bit all over the place after -rc1, before further rc backmerges. Regards, Joonas *** drm-intel-next-fixes-2025-05-15: - Stop writing A

[PULL] drm-intel-gt-next

2025-05-07 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the drm-intel-gt-next PR towards 6.16. No new features, just fixes. SLPC wait boost fix for DG1/DG2, engine reset fix for HSW. Move to usleep_range for <20ms timeouts and fix splats on early probe errors. The rest is usual cleanups and improvements to selftests. Regard

Re: [PATCH v4 00/15] CCS static load balance

2025-03-26 Thread Joonas Lahtinen
Quoting Andi Shyti (2025-03-25 12:52:58) > On Tue, Mar 25, 2025 at 10:24:42AM +0200, Joonas Lahtinen wrote: > > Do you have a reference to some GitLab issues or maybe some external > > project issues where regressions around here are discussed? > > AFAIK, there'

Re: [PATCH v4 00/15] CCS static load balance

2025-03-25 Thread Joonas Lahtinen
Quoting Andi Shyti (2025-03-24 15:29:36) > Hi, > > Back in v3, this patch series was turned down due to community > policies regarding i915 GEM development. Since then, I have > received several requests from userspace developers, which I > initially declined in order to respect those policies. >

Re: [PATCH v2] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-02-19 Thread Joonas Lahtinen
Quoting Jacek Lawrynowicz (2025-02-11 17:57:03) > Hi, can I submit this to drm-misc or should someone commit this to drm-intel? Is the this happening in linux-next or is it still completely out-of-tree? Feels weird that the splat would not have happened in any hybrid GPU systems in the past. Did

Re: [PATCH v4 3/8] drm/i915/gem: fix typos in i915/gem files

2025-01-23 Thread Joonas Lahtinen
Quoting Rodrigo Vivi (2025-01-21 18:14:51) > On Mon, Jan 20, 2025 at 01:45:12PM +0530, Nitin Gote wrote: > > Fix all typos in files under drm/i915/gem reported by codespell tool. > > > > v2: Codespell won't catch it, but it should be > > "user defined" and not "use defined". > > > > Signed-o

[PULL] drm-intel-gt-next

2025-01-10 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the post-Holidays drm-intel-gt-next PR towards kernel 6.14 as promised. There is an engine reset improvement for Haswell (Gen7.5) and older platforms and the rest is smaller fixes and dead code removal. Regards, Joonas *** drm-intel-gt-next-2025-01-10: Driver Changes

Re: [PATCH] drm/i915: Add VM_DONTEXPAND to exported buffers

2025-01-09 Thread Joonas Lahtinen
Hi, Could you elaborate a bit more on which testcase or usecase this pops up with? The check has been in place since 2019 so quite surprising that it's only popping up now. Regards, Joonas Quoting Jacek Lawrynowicz (2025-01-08 12:53:46) > drm_gem_mmap_obj() expects VM_DONTEXPAND flag to be set

[PULL] drm-intel-gt-next

2024-12-18 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the pre-holidays drm-intel-gt-next PR towards 6.14 as promised. As the main improvement there is engine busyness accuracy improvements for GuC submission platforms and fixup for BO mapping corner cases. The rest is smaller refactoring and improvements. Happy Holidays!

[PULL] drm-intel-fixes

2024-11-13 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes PR towards v6.12 release. Just two fixes: One potential OOPS fix for TV outputs and skip GSC loading on ARL-H and ARL-U with old FW. Regards, Joonas *** drm-intel-fixes-2024-11-14: - Don't load GSC on ARL-H and ARL-U if too old FW - Avoid potential OO

[PULL] drm-intel-fixes

2024-10-24 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.12-rc5. Just one Kconfig fix for GVT. Regards, Joonas *** drm-intel-fixes-2024-10-24: - Fix DRM_I915_GVT_KVMGT dependencies in Kconfig The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-

[PULL] drm-intel-fixes

2024-10-17 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.12-rc4. Just two DP MST fixes this round. Regards, Joonas *** drm-intel-fixes-2024-10-17: - Two DP bandwidth related MST fixes The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354: Linux 6.12-rc3 (2024-10-13 14:33

[PULL] drm-intel-fixes

2024-10-10 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes PR towards v6.12-rc3. Just one HDCP refcount fix. Regards, Joonas drm-intel-fixes-2024-10-10: - HDCP refcount fix The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b: Linux 6.12-rc2 (2024-10-06 15:32:27 -0700) are ava

[PULL] drm-intel-fixes

2024-10-02 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes toward v6.12-rc2. Just one & vs && fixup into PM code that should only trigger with debug Kconfig options. Regards, Joonas *** drm-intel-fixes-2024-10-02: - One fix for bitwise and logical "and" mixup in PM code The following changes since commit 985

[PULL] drm-intel-next-fixes

2024-09-26 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes final drm-intel-next-fixes towards v6.12. Just one fix for DP colorimetry detection. Regards, Joonas *** drm-intel-next-fixes-2024-09-26: - Fix colorimetry detection for DP The following changes since commit d7126c0cfc137a580eba92bd82b6d288bd43961d: Merge tag 'dr

[PULL] drm-intel-next-fixes

2024-09-19 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-next-fixes PR towards 6.12. Three display fixes; One to limit BMG to UHBR13.5 and two PSR ones. Regards, Joonas *** drm-intel-next-fixes-2024-09-19: - Fix BMG support to UHBR13.5 - Two PSR fixes The following changes since commit bf05aeac230e390a5aee4bd3dc

[PULL] drm-intel-next-fixes

2024-09-12 Thread Joonas Lahtinen
Hi Dave & Sima, Just two fixes this week in drm-intel-next-fixes towards v6.12-rc1. CI baseline is bit upset afted drm-next, but not getting worse with the two patches at least. Regards, Joonas *** drm-intel-next-fixes-2024-09-12: - Add missing I915_FORMAT_MOD_4_TILED_BMG_CCS modifier for BMG

[PULL] drm-intel-gt-next

2024-09-06 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the final drm-intel-gt-next towards 6.12. Primarily addition of fan speed hwmon, W/A fixups for ARL, add missing register for userspace into DG2/MTL/ARL. Then a few smaller fixes. Regards, Joonas *** drm-intel-gt-next-2024-09-06: Driver Changes: - Expose fan speed

[PULL] drm-intel-fixes

2024-08-29 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.11-rc6. Fix for USB type-C docks, backlight fix for Lenovo Yoga Tab 3 2G version and ARL GuC firmware version correction. Regards, Joonas *** drm-intel-fixes-2024-08-29: - Fix #11195: The external display connect via USB type-C dock stays b

[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

[PULL] drm-intel-fixes

2024-08-21 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.11-rc5. Just one HDCP timeout fix this week. Regards, Joonas *** drm-intel-fixes-2024-08-22: - Fix for HDCP timeouts The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)

Re: [PATCH v2 0/2] Fix mmap memory boundary calculation

2024-08-12 Thread Joonas Lahtinen
Quoting Jann Horn (2024-08-09 18:40:45) > On Fri, Aug 9, 2024 at 4:48 PM Jann Horn wrote: > > On Tue, Aug 6, 2024 at 2:08 PM Joonas Lahtinen > > wrote: > > > Quoting Andi Shyti (2024-08-06 12:46:07) > > > > Hi Greg, > > > > > > > > same

Re: [PULL] drm-intel-fixes

2024-08-09 Thread Joonas Lahtinen
; >> > >> David Gow (2): > >> drm/i915: Allow evicting to use the requested placement > >> drm/i915: Attempt to get pages without eviction first > >> > >> Dnyaneshwar Bhadane (1): > >> drm/i915/display: correct dual pps

Re: [PATCH] drm/i915: 2 GiB of relocations ought to be enough for anybody*

2024-08-07 Thread Joonas Lahtinen
;crazy" number of relocations which have no practical purpose. > > *) Well IGT tests might get upset but they can be easily adjusted. > > Signed-off-by: Tvrtko Ursulin > Reported-by: kernel test robot > Closes: > https://lore.kernel.org/oe-lkp/202405151008.6ddd

Re: [PATCH v2 0/2] Fix mmap memory boundary calculation

2024-08-06 Thread Joonas Lahtinen
Quoting Andi Shyti (2024-08-06 12:46:07) > Hi Greg, > > same question without the stable mailing list not to trigger the > automatic reply. > > > Andi Shyti (2): > > drm/i915/gem: Adjust vma offset for framebuffer mmap offset > > drm/i915/gem: Fix Virtual Memory mapping boundaries calculation

[PULL] drm-intel-fixes

2024-07-31 Thread Joonas Lahtinen
Hi Dave & Sima, Just three smaller fixups. CI is again all over the place after -rc1, but below changes shouldn't make it any worse. Regards, Joonas *** drm-intel-fixes-2024-08-01: - Static analysis fix for int overflow - Fix for HDCP2_STREAM_STATUS macro and removal of PWR_CLK_STATE for gen12

Re: [RFC PATCH 0/3] Introducing I915_FORMAT_MOD_4_TILED_XE2_CCS Modifier for Xe2

2024-05-14 Thread Joonas Lahtinen
Quoting Kenneth Graunke (2024-05-11 03:58:34) > On Tuesday, May 7, 2024 3:56:57 PM PDT Matt Roper wrote: > > On Mon, May 06, 2024 at 09:52:35PM +0300, Juha-Pekka Heikkila wrote: > > > These patches introduce I915_FORMAT_MOD_4_TILED_XE2_CCS modifier, which, > > > from the kernel's perspective, behav

[PULL] drm-intel-gt-next

2024-04-26 Thread Joonas Lahtinen
Hi Dave & Sima, Here's the drm-intel-gt-next PR for v6.10 in one shot. We are adding a new uAPI for Mesa to request higher GT frequency for compute contexts on GuC platform. Then there is a W/A for DG2 to move to fixed CCS load balancing and make all DG2 SKUs appear with single CCS with all the

Re: [PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

2024-03-19 Thread Joonas Lahtinen
Pushed this, thanks for the review. Regards, Joonas Quoting Vivi, Rodrigo (2024-03-18 14:40:56) > On Thu, 2024-03-14 at 14:48 +0200, Joonas Lahtinen wrote: > > Quoting Rodrigo Vivi (2024-03-08 16:58:04) > > > On Fri, Mar 08, 2024 at 04:46:43PM +0200, Joonas Lahtinen wrote: >

Re: [PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

2024-03-14 Thread Joonas Lahtinen
Quoting Rodrigo Vivi (2024-03-08 16:58:04) > On Fri, Mar 08, 2024 at 04:46:43PM +0200, Joonas Lahtinen wrote: > > Add standalone includes for BUG_ON and BUILD_BUG_ON to avoid build failure > > after linux-next include refactoring. > > any lore link so we can use with a

[PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

2024-03-08 Thread Joonas Lahtinen
Add standalone includes for BUG_ON and BUILD_BUG_ON to avoid build failure after linux-next include refactoring. Signed-off-by: Joonas Lahtinen Cc: Chris Wilson Cc: Jani Nikula Cc: Rodrigo Vivi Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_memcpy.c | 2 ++ 1 file changed, 2 insertions

Re: linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2024-03-07 Thread Joonas Lahtinen
Quoting Stephen Rothwell (2024-03-07 04:10:27) > Hi all, > > Today's linux-next merge of the drm tree got a conflict in: > > drivers/gpu/drm/i915/display/intel_dp.c > > between commit: > > 984318aaf7b6 ("drm/i915/panelreplay: Move out psr_init_dpcd() from > init_connector()") > > from the

[PULL] drm-intel-fixes

2024-03-07 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes the final drm-intel-fixes for v6.8. This PR will appear to contain more patches than it does. It's 4 patches on top of drm-fixes after Sima pulled the previous PR as you can observe from git log. Fixes for kernel crash on UHD 730, boot delay regression on PSR, DP DSC W

Re: [PATCH v3 1/4] drm/i915/gt: Refactor uabi engine class/instance list creation

2024-03-05 Thread Joonas Lahtinen
Quoting Andi Shyti (2024-03-01 01:28:56) > 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 insert

[PULL] drm-intel-fixes

2024-03-01 Thread Joonas Lahtinen
Hi Dave & Sima, Here's the drm-intel-fixes towards v6.8(-rc7). One NULL check for mmu notifier and HDCP fix to read from primary connector. Regards, Joonas *** drm-intel-fixes-2024-03-01: - Fix to extract HDCP information from primary connector - Check for NULL mmu_interval_notifier before re

Re: [PATCH] MAINTAINERS: Update email address for Tvrtko Ursulin

2024-02-29 Thread Joonas Lahtinen
to the > main one. > > Signed-off-by: Tvrtko Ursulin > Cc: Daniel Vetter > Cc: Dave Airlie > Cc: Jani Nikula > Cc: Joonas Lahtinen > Cc: Rodrigo Vivi Acked-by: Joonas Lahtinen Regards, Joonas

[PULL] drm-intel-fixes

2024-02-22 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes for v6.8-rc6. Just a single fixup patch for TV mode. Best Regards, Joonas *** drm-intel-fixes-2024-02-22: - Fixup for TV mode The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d: Linux 6.8-rc5 (2024-02-18 12:56:25 -0800) a

Re: [PULL] drm-intel-gt-next

2024-02-20 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2024-02-16 11:41:44) > (+ Jonathan) > > Quoting Dave Airlie (2024-02-16 04:58:03) > > On Thu, 15 Feb 2024 at 20:06, Tvrtko Ursulin > > wrote: > > > > > > Hi Dave, Daniel, > > > > > > First pull request for 6.

Re: [PULL] drm-intel-gt-next

2024-02-16 Thread Joonas Lahtinen
(+ Jonathan) Quoting Dave Airlie (2024-02-16 04:58:03) > On Thu, 15 Feb 2024 at 20:06, Tvrtko Ursulin > wrote: > > > > Hi Dave, Daniel, > > > > First pull request for 6.9 with probably one more coming in one to two > > weeks. > > > > Nothing to interesting in this one, mostly a sprinkle of small

[PULL] drm-intel-fixes

2024-02-15 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-fixes towards v6.8-rc5. Two fixes. Fix for #10172 (blank screen on JSL Chromebooks) and limiting SST link rate within supported range. Best Regards, Joonas *** drm-intel-fixes-2024-02-15: Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit

[PULL] drm-intel-fixes

2024-02-08 Thread Joonas Lahtinen
el-fixes (2024-02-05 15:56:47 +0200) - Just includes gvt-fixes-2024-02-05 Dan Carpenter (1): drm/i915/gvt: Fix uninitialized variable in handle_mmio() Joon

Re: [RFC] drm/i915: Add GuC submission interface version query

2024-02-07 Thread Joonas Lahtinen
a single-shot init time query so I guess u64 is fine too, to keep the code straightforward. > Compile tested only. If Mesa folks confirm this is working for them and after you add link to the Mesa PR, then you can add my: Reviewed-by: Joonas Lahtinen Regards, Joonas > Signed-off-by: Tvrtko

Re: [RFC PATCH] drm/i915: Add GETPARAM for GuC submission version

2024-02-07 Thread Joonas Lahtinen
n Wed, 2024-01-24 at 08:55 +, Tvrtko Ursulin wrote: > >>>>> On 24/01/2024 08:19, Joonas Lahtinen wrote: > >>>>>> Add reporting of the GuC submissio/VF interface version via GETPARAM > >>>>>> properties. Mesa intends to use this

Re: [PULL] gvt-fixes

2024-02-01 Thread Joonas Lahtinen
Hi Zhenyu, I'm getting the following: dim: ff833b32ccc4 ("drm/i915: Replace dead 01.org link"): mandatory review missing. dim: ERROR: issues in commits detected, aborting Can you fix the commit? Regards, Joonas Quoting Zhenyu Wang (2024-01-31 11:38:51) > > Hi, Joonas > > Here is another gvt

[PULL] drm-intel-fixes

2024-01-26 Thread Joonas Lahtinen
Hi Dave & Sima, Just one Cc stable patch (the rest was already in drm-intel-next-fixes). Tried to wait for CI results, but none yet. Best Regards, Joonas *** drm-intel-fixes-2024-01-26: - PSR fix for HSW The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.

[RFC PATCH] drm/i915: Add GETPARAM for GuC submission version

2024-01-24 Thread Joonas Lahtinen
Add reporting of the GuC submissio/VF interface version via GETPARAM properties. Mesa intends to use this information to check for old firmware versions with known bugs before enabling features like async compute. Signed-off-by: Joonas Lahtinen Cc: Kenneth Graunke Cc: Jose Souza Cc: Sagar

[PULL] drm-intel-next-fixes

2024-01-19 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-next-fixes for v6.8. Build warning fix for GCC11, fix for #10071 and DP test pattern fix, one OA fix for XeHP+. Regards, Joonas *** drm-intel-next-fixes-2024-01-19: - DSI sequence revert to fix GitLab #10071 and DP test-pattern fix - Drop -Wstringop-overflo

[PULL] drm-intel-next-fixes

2024-01-11 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-next-fixes towards 6.8 merge window now that drm-intel-gt-next is also merged. Most importantly fixes for linux-next added build warnings and then a couple display fixes. CI results for drm-next seem to have regressed with regards to the shard runs somewhere i

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2024-01-10 17:20:24) > Quoting Matthew Wilcox (2024-01-10 14:37:18) > > On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > > > Hi all, > > > > > > Darrick reported that the fairly new XFS xfile code blows up when

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Joonas Lahtinen
Quoting Matthew Wilcox (2024-01-10 14:37:18) > On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > > Hi all, > > > > Darrick reported that the fairly new XFS xfile code blows up when force > > enabling large folio for shmem. This series fixes this quickly by disabling > > large f

Re: [PATCH v2 1/3] drm/i915/gt: Support fixed CCS mode

2024-01-08 Thread Joonas Lahtinen
Quoting Tvrtko Ursulin (2024-01-05 12:39:31) > > On 04/01/2024 21:23, Andi Shyti wrote: > >>> +void intel_gt_apply_ccs_mode(struct intel_gt *gt) > >>> +{ > >>> + mutex_lock(>->ccs.mutex); > >>> + __intel_gt_apply_ccs_mode(gt); > >>> + mutex_unlock(>->ccs.mutex); > >>> +} > >>> + > >>> +vo

Re: [PATCH 1/3] drm/i915/gt: Support fixed CCS mode

2023-12-22 Thread Joonas Lahtinen
tings. It involves assigning only one CCS to all > the slices. > > Based on a patch by Chris Wilson > and Tejas Upadhyay . > > Signed-off-by: Andi Shyti > Cc: Chris Wilson > Cc: Joonas Lahtinen > Cc: Niranjana Vishwanathapura > Cc: Tejas Upadhyay > +++ b/drivers/g

[PULL] drm-intel-gt-next

2023-12-15 Thread Joonas Lahtinen
Hi Dave & Sima, Final drm-intel-gt-next PR for v6.8. Elimination of kmap_atomic() from the driver to allow kernel wide cleanup. One new DG2 W/A and static checker/spelling fixes. Best Regards, Joonas *** drm-intel-gt-next-2023-12-15: Driver Changes: - Eliminate use of kmap_atomic() in i915 (

Re: [PATCH 04/12] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access

2023-12-13 Thread Joonas Lahtinen
Quoting Ville Syrjala (2023-12-13 02:42:29) > From: Ville Syrjälä > > On MTL accessing stolen memory via the BARs is somehow borked, > and it can hang the machine. As a workaround let's bypass the > BARs and just go straight to DSMBASE/GSMBASE instead. > > Note that on every other platform this

[PULL] drm-intel-gt-next

2023-12-08 Thread Joonas Lahtinen
Hi Dave & Sima, A rather late first drm-intel-gt-next PR towards v6.8. As most significant change we have addition of the DRM fdinfo memory stats functionality. Then DG2 and MTL workaround additions and fixes and a few for older platforms as well. PMU WARN_ON splat cleanup. The rest is mostly co

[Intel-gfx] [PULL] drm-intel-gt-next

2023-08-11 Thread Joonas Lahtinen
/i915/guc: Fix potential null pointer deref in GuC 'steal id' test Jonathan Cavitt (3): drm/i915/gt: Simplify shmem_create_from_object map_type selection drm/i915: Make i915_coherent_map_type GT-centric drm/i915/gt: Apply workaround 22016122933 correctly Joonas Lahtinen

[Intel-gfx] [PULL] drm-intel-gt-next

2023-08-04 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes the first drm-intel-gt-next PR for v6.6. We have a fix for infinite GPU wait race condition found by CI, then improved tweakability of RPS algo and fixes to GuC SLPC for tuning the frequency behavior of the system. OA report zeroing fix, Aux CCS invalidation fix on Ge

[Intel-gfx] [PULL] drm-intel-fixes

2023-06-08 Thread Joonas Lahtinen
Hi Dave & Daniel, Here's the drm-intel-fixes PR for v6.4-rc6. Couple of display compatibility fixes and two static checker fixes for selftests. Regards, Joonas *** drm-intel-fixes-2023-06-08: CDCLK voltage fix for ADL-P and eDP wake sync pulse fix. Two error handling fixes to selftests (to ap

Re: [Intel-gfx] [PATCH v17 1/1] drm/i915: Allow user to set cache at BO creation

2023-06-06 Thread Joonas Lahtinen
Quoting Andi Shyti (2023-06-06 13:18:06) > On Tue, Jun 06, 2023 at 11:10:04AM +0100, Tvrtko Ursulin wrote: > > > > On 06/06/2023 11:00, Andi Shyti wrote: > > > From: Fei Yang > > > > > > To comply with the design that buffer objects shall have immutable > > > cache setting through out their life

Re: [Intel-gfx] [PATCH v15 1/1] drm/i915: Allow user to set cache at BO creation

2023-06-06 Thread Joonas Lahtinen
Quoting Yang, Fei (2023-06-06 09:51:06) > >> On 31/05/2023 18:10, fei.y...@intel.com wrote: > >>> From: Fei Yang > >>> > >>> To comply with the design that buffer objects shall have immutable > >>> cache setting through out their life cycle, {set, get}_caching ioctl's > >>> are no longer supported

[Intel-gfx] [PULL] drm-intel-fixes

2023-06-01 Thread Joonas Lahtinen
Hi Dave & Daniel, One fix appeared this morning, related to OA API for non-power-of-two reports. Full CI results not in yet, BAT is looking good so please check before pulling the trigger. Regards, Joonas *** drm-intel-fixes-2023-06-01: - Fix for OA reporting to allow detecting non-power-of-t

[Intel-gfx] [PULL] drm-intel-fixes

2023-05-25 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes drm-intel-fixes for v4.6-rc4. Again just one fix, for pipejoiner config pipe disabling. Regards, Joonas *** drm-intel-fixes-2023-05-25: PIPEDMC disabling fix for bigjoiner config The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511: Linux

[Intel-gfx] Extension detection by enumeration vs attempt to use extension (Was: Re: [PATCH v10 2/2] drm/i915: Allow user to set cache at BO creation)

2023-05-25 Thread Joonas Lahtinen
Quoting Jordan Justen (2023-05-21 07:30:52) > On 2023-05-18 22:11:03, wrote: > > From: Fei Yang > > > > To comply with the design that buffer objects shall have immutable > > cache setting through out their life cycle, {set, get}_caching ioctl's > > are no longer supported from MTL onward. With

[Intel-gfx] [PULL] drm-intel-fixes

2023-05-17 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes drm-intel-fixes for v6.4-rc3. Just one missing null check addition for HDCP code. Regards, Joonas *** drm-intel-fixes-2023-05-17: Add missing null check for HDCP code. The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6: Linux 6.4-rc2 (2

[Intel-gfx] [PULL] drm-intel-fixes

2023-05-11 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes drm-intel-fixes for v6.4-rc2. Important fix to taint kernel when force_probe is used, two display fixes (null deref/div-by-zero) and a GuC error capture register list correction. Regards, Joonas PS. Again had to remove one commit with incorrect Fixes: tag so check CI

[Intel-gfx] [PULL] drm-intel-next-fixes

2023-05-04 Thread Joonas Lahtinen
Hi Dave & Daniel, One Cc stable DSI sequence fix and missing CPU transcoders for MTL plus a smaller GuC cornern case fix. Best Regards, Joonas *** drm-intel-next-fixes-2023-05-04-1: Add missing GPU transcoder masks for MTL and fix DSI power on sequence for Nextbook Ares 8A. Fix GuC version cor

Re: [Intel-gfx] [PATCH] drm/i915/uapi: Add DRM_I915_QUERY_GEM_CREATE_EXTENSIONS query item

2023-05-02 Thread Joonas Lahtinen
how that can be implemented for the drm/xe driver. Regards, Joonas Quoting Jordan Justen (2023-05-02 23:57:44) > Cc: Fei Yang > Cc: Tvrtko Ursulin > Cc: Joonas Lahtinen > Cc: Daniel Vetter > Signed-off-by: Jordan Justen > --- > drivers/gpu/drm/i915/gem/i915_gem_create.c |

[Intel-gfx] [PULL] drm-intel-next-fixes

2023-04-27 Thread Joonas Lahtinen
Hi Dave & Daniel, Just one Cc stable SKL+ pipe source size fix for #8357: CML-U: external 5120x2160 monitor can't play video. Best Regards, Joonas *** drm-intel-next-fixes-2023-04-27: One cc stable for pipe source size check on SKL+ The following changes since commit 2c69679626d5daa680d71c77a

[Intel-gfx] IOCTL feature detection (Was: Re: [PATCH 8/8] drm/i915: Allow user to set cache at BO creation)

2023-04-25 Thread Joonas Lahtinen
(+ Faith and Daniel as they have been involved in previous discussions) Quoting Jordan Justen (2023-04-24 20:13:00) > On 2023-04-24 02:08:43, Tvrtko Ursulin wrote: > > > > Being able to "list" supported extensions sounds like a reasonable > > principle, albeit a departure from the design directio

[Intel-gfx] [PULL] drm-intel-next-fixes

2023-04-20 Thread Joonas Lahtinen
Hi Dave & Daniel, Here's another drm-intel-next-fixes pull request. One Cc stable CSC plane index fix, then MST PLL fix and smaller null/oob/leak fixes. Regards, Joonas *** drm-intel-next-fixes-2023-04-20-1: Active port PLL MST fix for second stream, CSC plane index fix, null and oob array de

[Intel-gfx] [PULL] drm-intel-next-fixes

2023-04-13 Thread Joonas Lahtinen
Hi Dave & Daniel, Just one Cc:stable fix for indirect sampler state this week on drm-intel-next-fixes. Regards, Joonas *** drm-intel-next-fixes-2023-04-13: Short summary of fixes pull (less than what git shortlog provides): Just one Cc:stable fix for sampler indirect state in bindless heap.

[Intel-gfx] [PULL] drm-intel-gt-next

2023-04-06 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes the final drm-intel-gt-next pull request for v6.4. As top items we have a fix for context runtime accounting, Meteorlake enabling, DMAR error noise elimination due to GPU error capture, BAR resizing forcewake fix and memory contents clearing fix for discrete. More robu

[Intel-gfx] [PULL] drm-intel-gt-next

2023-03-16 Thread Joonas Lahtinen
Hi Dave & Daniel, Here's the first batch of drm-intel-gt-next towards v6.4. There is an important performance monitoring fix (#6333), more resiliency to pcode load delay and avoiding caching problems on LLC systems for ring buffers. Stolen memory probing fix and a missing register whitelisting fo

Re: [Intel-gfx] [PATCH v3] drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

2022-12-15 Thread Joonas Lahtinen
(+ Tvrtko as FYI) Zhenyu, can you take a look at the patch ASAP. Regards, Joonas Quoting Dave Airlie (2022-10-27 08:12:31) > On Thu, 27 Oct 2022 at 13:26, Zheng Hacker wrote: > > > > Dave Airlie 于2022年10月27日周四 08:01写道: > > > > > > On Fri, 7 Oct 2022 at 11:38, Zheng Wang wrote: > > > > > > > >

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/mtl: Add OA support by enabling 32 bit OAG formats for MTL

2022-12-12 Thread Joonas Lahtinen
(Switching to my @linux.intel.com address) Quoting Umesh Nerlige Ramappa (2022-12-08 19:08:46) > On Wed, Nov 30, 2022 at 05:05:35PM -0800, Umesh Nerlige Ramappa wrote: > >Without an entry in oa_init_supported_formats, OA will not be functional > >in MTL. Enable OA support by enabling 32 bit OAG fo

[Intel-gfx] [PULL] drm-intel-gt-next

2022-11-18 Thread Joonas Lahtinen
; for headers in include/ John Harrison (3): drm/i915/guc: Remove excessive line feeds in state dumps drm/i915/guc: Properly initialise kernel contexts drm/i915/guc: Don't deadlock busyness stats vs reset Joonas Lahtinen (1): Merge drm/drm-next into drm-intel-gt-next

[Intel-gfx] [PULL] drm-intel-gt-next

2022-11-03 Thread Joonas Lahtinen
Hi Dave & Daniel, This amends the previous PR that did cause a build error with clang: https://lists.freedesktop.org/archives/dri-devel/2022-October/377713.html Quite naturally, it includes a fix to the hwmon code tested with Clang version 14.0.5 and GCC 12.2.1. Additionally there is a screen f

Re: [Intel-gfx] [PATCH] drm/i915/hwmon: Fix a build error used with clang compiler

2022-11-01 Thread Joonas Lahtinen
Quoting Jani Nikula (2022-10-28 11:46:21) > On Fri, 28 Oct 2022, Gwan-gyeong Mun wrote: > > Resend, because some content was accidentally omitted from the previous > > reply. > > Please ignore the previous email. > > > > Hi all, > > > > I should have written the original commit message more accur

[Intel-gfx] [PULL] drm-intel-gt-next

2022-10-31 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes first drm-intel-gt-next pull req towards 6.2. We have a fix for #6222 (kernel memory corruption issue) and fix for display regression after resume. A missing W/A for Gen12 iGPUs and extension of compute pre-emption timeout to 7.5 seconds to account for compute corner c

Re: [Intel-gfx] [PATCH] drm/i915/dgfx: Temporary hammer to keep autosuspend control 'on'

2022-10-12 Thread Joonas Lahtinen
I think I commented on this already, but the patch subject should really be as informative as possible like: "Disable PCI runtime PM on dGPUs" as that is exactly what the patch does. Also bit unsure if the Fixes: tag should really point to the runtime PM commit but maybe instead to the introducti

[Intel-gfx] [PULL] drm-intel-gt-next

2022-09-16 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes the final drm-intel-gt-next towards 6.1. For stable platforms we have fixes for throttle reasons decoding to sysfs, GuC version update to 7.5, XeHP SDV GSC support and the usual pile of smaller fixes. DG2 and DG1 runtime PM is now mostly fixed for LMEM access via mmap

Re: [Intel-gfx] [PATCH v2] drm/i915/DG{1, 2}: FIXME Temporary hammer to disable rpm

2022-09-15 Thread Joonas Lahtinen
Quoting Anshuman Gupta (2022-09-14 19:13:29) > DG1 and DG2 has lmem, and cpu can access the lmem objects > via mmap and i915 internal i915_gem_object_pin_map() for > i915 own usages. Both of these methods has pre-requisite > requirement to keep GFX PCI endpoint in D0 for a supported > iomem transac

Re: [Intel-gfx] [PATCH v2] drm/i915/DG{1, 2}: FIXME Temporary hammer to disable rpm

2022-09-14 Thread Joonas Lahtinen
On the patch subject, could we aim to be a bit more readable and concise. Something like: "drm/i915: Temporarily disable RPM on DG1/DG2" The patch title definitely should not have a FIXME in it if we're going to merge it in that form. There's nothing to be fixed about the patch itself, we are ap

Re: [Intel-gfx] [PATCH v7 00/15] GSC support for XeHP SDV and DG2

2022-09-12 Thread Joonas Lahtinen
Quoting Vivi, Rodrigo (2022-09-09 19:33:45) > On Fri, 2022-09-09 at 08:17 -0700, Ceraolo Spurio, Daniele wrote: > > > > > > On 9/9/2022 3:24 AM, Joonas Lahtinen wrote: > > > Dave, do you have a preference how to deal with the mishap here, > > > shall I do

Re: [Intel-gfx] [PATCH 6/7] drm/i915/guc: Make GuC log sizes runtime configurable

2022-09-12 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2022-08-26 09:23:08) > Quoting John Harrison (2022-08-25 19:31:39) > > On 8/25/2022 00:15, Joonas Lahtinen wrote: > > > Quoting John Harrison (2022-08-24 21:45:09) > > >> We also don't want to tie the GuC logging buffer size to the DR

[Intel-gfx] [PULL] drm-intel-gt-next

2022-09-09 Thread Joonas Lahtinen
5/guc: remove runtime info printing from time stamp logging John Harrison (4): drm/i915/guc: Make GuC log sizes runtime configurable drm/i915/guc: Reduce spam from error capture drm/i915/uc: Support for version reduced and multiple firmware files drm/i915/uc: Add patch lev

Re: [Intel-gfx] [PATCH v7 00/15] GSC support for XeHP SDV and DG2

2022-09-09 Thread Joonas Lahtinen
Dave, do you have a preference how to deal with the mishap here, shall I do a force-push to drm-intel-gt-next to correctly record the Acked-by or revert and re-push? Or just leave it as is? Quoting Greg Kroah-Hartman (2022-09-01 18:09:09) > On Sat, Aug 06, 2022 at 03:26:21PM +0300, Tomas Winkler w

Re: [Intel-gfx] [PATCH] Revert "drm/i915/dg2: Add preemption changes for Wa_14015141709"

2022-09-05 Thread Joonas Lahtinen
Quoting Matt Roper (2022-08-27 00:02:33) > This reverts commit ca6920811aa5428270dd78af0a7a36b10119065a. > > The intent of Wa_14015141709 was to inform us that userspace can no > longer control object-level preemption as it has on past platforms > (i.e., by twiddling register bit CS_CHICKEN1[0]).

  1   2   3   4   5   6   7   8   9   10   >