[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

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 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-29 Thread Joonas Lahtinen
Quoting Christian König (2025-01-29 12:33:52) > Am 29.01.25 um 09:03 schrieb Joonas Lahtinen: > > Quoting Christian König (2024-12-20 14:56:14) > >> Am 20.12.24 um 12:31 schrieb Mika Kuoppala: > >>> Implement debugger vm access for userptrs. > >>> > &g

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-29 Thread Joonas Lahtinen
Quoting Christian König (2024-12-20 14:56:14) > Am 20.12.24 um 12:31 schrieb Mika Kuoppala: > > Implement debugger vm access for userptrs. > > > > When bind is done, take ref to current task so that > > we know from which vm the address was bound. Then during > > debugger pread/pwrite we use this t

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

Re: [PATCH 14/26] drm/xe/eudebug: implement userptr_vma access

2024-12-17 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2024-12-11 14:59:33) > Quoting Christian König (2024-12-10 16:03:14) > > If you really want to expose an interface to userspace which walks the > > process > > page table, installs an MMU notifier, kmaps the resulting page and then > > mem

Re: [PATCH 01/26] ptrace: export ptrace_may_access

2024-12-12 Thread Joonas Lahtinen
Quoting Christoph Hellwig (2024-12-10 06:29:38) > On Mon, Dec 09, 2024 at 03:32:52PM +0200, Mika Kuoppala wrote: > > xe driver would like to allow fine grained access control > > for GDB debugger using ptrace. Without this export, the only > > option would be to check for CAP_SYS_ADMIN. > > > > Th

Re: [PATCH 14/26] drm/xe/eudebug: implement userptr_vma access

2024-12-11 Thread Joonas Lahtinen
First of all, do appreciate taking the time to explain your positions much more verbosely this time. Quoting Christian König (2024-12-10 16:03:14) > Am 10.12.24 um 12:57 schrieb Joonas Lahtinen: > > Quoting Christian König (2024-12-10 12:00:48) > > Am 10.12.24 u

Re: [PATCH 14/26] drm/xe/eudebug: implement userptr_vma access

2024-12-10 Thread Joonas Lahtinen
Quoting Christian König (2024-12-10 12:00:48) > Am 10.12.24 um 10:33 schrieb Joonas Lahtinen: > > Quoting Christian König (2024-12-09 17:42:32) > > Am 09.12.24 um 16:31 schrieb Simona Vetter: > > On Mon, Dec 09, 2024 at 03:03:04PM +0100,

Re: [PATCH 14/26] drm/xe/eudebug: implement userptr_vma access

2024-12-10 Thread Joonas Lahtinen
Quoting Christian König (2024-12-09 17:42:32) > Am 09.12.24 um 16:31 schrieb Simona Vetter: > > On Mon, Dec 09, 2024 at 03:03:04PM +0100, Christian König wrote: > >> Am 09.12.24 um 14:33 schrieb Mika Kuoppala: > >>> From: Andrzej Hajda > >>> > >>> Debugger needs to read/write program's vmas includ

Re: [PATCH 14/26] drm/xe/eudebug: implement userptr_vma access

2024-12-09 Thread Joonas Lahtinen
(+ Thomas and Matt B who this was reviewed with as a concept) Quoting Christian König (2024-12-09 16:03:04) > Am 09.12.24 um 14:33 schrieb Mika Kuoppala: > > +int xe_vm_userptr_access(struct xe_userptr_vma *uvma, u64 offset, > > + void *buf, u64 len, bool write) > > +{ > >

Re: [RFC PATCH 13/29] drm/xe/mmap: Add mmap support for PCI memory barrier

2024-11-20 Thread Joonas Lahtinen
Adding Michal from the compute userspace team for sharing references to the code. Quoting Christian König (2024-11-19 12:00:44) > Am 19.11.24 um 00:37 schrieb Matthew Brost: > > From: Tejas Upadhyay > > > > In order to avoid having userspace to use MI_MEM_FENCE, > > we are adding a mechanism for

[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

Re: [PATCH v6 2/8] drm/ttm: Add ttm_bo_access

2024-11-12 Thread Joonas Lahtinen
(+ Thomas) Quoting Christian König (2024-11-12 11:23:36) > Am 11.11.24 um 23:45 schrieb Matthew Brost: > > [SNIP] > > So I think only way to allow interactive debugging is to avoid the > dma_fences. Curious to hear if there are ideas for otherwise. > > You ne

Re: [PATCH v6 2/8] drm/ttm: Add ttm_bo_access

2024-11-12 Thread Joonas Lahtinen
(+ Thomas and Francois related to the page-faults and scheduling) Quoting Christian König (2024-11-12 10:58:18) > Am 12.11.24 um 09:28 schrieb Simona Vetter: > > On Mon, Nov 11, 2024 at 04:00:02PM +0200, Joonas Lahtinen wrote: > >> Quoting Christian König (2024-11-11 13:34:12)

Re: [PATCH v6 2/8] drm/ttm: Add ttm_bo_access

2024-11-11 Thread Joonas Lahtinen
Quoting Christian König (2024-11-11 13:34:12) > Am 11.11.24 um 11:10 schrieb Simona Vetter: > > On Mon, Nov 11, 2024 at 10:00:17AM +0200, Joonas Lahtinen wrote: > >> Back from some time off and will try to answer below. > >> > >> Adding Dave and Sima as this to

Re: [PATCH v6 2/8] drm/ttm: Add ttm_bo_access

2024-11-11 Thread Joonas Lahtinen
Back from some time off and will try to answer below. Adding Dave and Sima as this topic has been previously discussed to some extent and will be good to reach common understanding about what the series is trying to do and what is the difference to the AMD debugging model. Quoting Christian König

[PULL] drm-intel-fixes

2024-10-23 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

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

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

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

[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

Re: [PATCH v2 0/4] drm/xe: Support optional pinning of userptr pages

2023-09-08 Thread Joonas Lahtinen
Quoting Thomas Hellström (2023-08-22 19:21:32) > This series adds a flag at VM_BIND time to pin the memory backing a VMA. > Initially this is needed for long-running workloads on hardware that > neither support mid-thread preemption nor pagefaults, since without it > the userptr MMU notifier will w

[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

[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

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

[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

[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

Extension detection by enumeration vs attempt to use extension (Was: Re: [Intel-gfx] [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

[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

[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

[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

[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

IOCTL feature detection (Was: Re: [Intel-gfx] [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

[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

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

[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

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

[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

[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

[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

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

[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] 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]).

[PATCH v2] drm/i915/guc: Remove log size module parameters

2022-08-26 Thread Joonas Lahtinen
Remove the module parameters for configuring GuC log size. We should instead rely on tuning the defaults to be usable for reporting bugs. v2: - Use correct 1M unit Fixes: 8ad0152afb1b ("drm/i915/guc: Make GuC log sizes runtime configurable") Signed-off-by: Joonas Lahtinen Cc: Jani

[PATCH] drm/i915/guc: Remove log size module parameters

2022-08-26 Thread Joonas Lahtinen
Remove the module parameters for configuring GuC log size. We should instead rely on tuning the defaults to be usable for reporting bugs. Fixes: 8ad0152afb1b ("drm/i915/guc: Make GuC log sizes runtime configurable") Signed-off-by: Joonas Lahtinen Cc: Jani Nikula Cc: Rodrigo Vivi

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

2022-08-25 Thread Joonas Lahtinen
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) > >> On 8/24/2022 02:01, Joonas Lahtinen wrote: > >>> NACK on this one. Let's get this reverted or fixed to el

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

2022-08-25 Thread Joonas Lahtinen
Quoting John Harrison (2022-08-24 21:45:09) > On 8/24/2022 02:01, Joonas Lahtinen wrote: > > NACK on this one. Let's get this reverted or fixed to eliminate > > new module parameters. > > > > What prevents us just from using the maximum sizes? Or alternativel

[PULL] drm-intel-gt-next

2022-08-24 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes the first drm-intel-gt-next PR towards 6.1. Quite a small one. As primary things, there's the parallel support of GuC v69 and v70 which already went in via -fixes, improvements to the TLB invalidation performance regressions, further DG2 enabling and improved debugging

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

2022-08-24 Thread Joonas Lahtinen
NACK on this one. Let's get this reverted or fixed to eliminate new module parameters. What prevents us just from using the maximum sizes? Or alternatively we could check the already existing drm.debug variable or anything else but addding 3 new module parameters. For future reference, please do

[PULL] drm-intel-fixes

2022-05-19 Thread Joonas Lahtinen
Hi Dave & Daniel, Here's the previous PR + additional fix for regression #5806: GPU hangs and display artifacts on 5.18-rc3 on Intel GM45. Was also discussed here: https://lore.kernel.org/all/CAHk-=wj0ghsg6iw3d8ufptm9a_dvtsqrrofy9wopobbybyu...@mail.gmail.com/ Regards, Joonas *** drm-intel-fix

[PULL] drm-intel-fixes

2022-05-18 Thread Joonas Lahtinen
Hi Dave & Daniel, Two final -fixes for v5.18. One is to reject DMC with out-of-spec MMIO (Cc: stable) and another to correctly mark guilty contexts on GuC reset. Regards, Joonas *** drm-intel-fixes-2022-05-19: - Reject DMC firmware with out-of-spec MMIO addresses. - Correctly mark guilty cont

[PULL] drm-intel-fixes

2022-05-11 Thread Joonas Lahtinen
Hi Dave & Daniel, One fix for memory corruption under heavy load (#5732, Cc: stable). Regards, Joonas *** drm-intel-fixes-2022-05-12: Fix for #5732: (Cc stable) kernel memory corruption when running a lot of OpenCL tests in parallel The following changes since commit c5eb0a61238dd6faf37f58c9

[PULL] drm-intel-fixes

2022-04-27 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes drm-intel-fixes PR for v5.18-rc5. Fixes for backlight control on XMG Core 15 e21 (#5284, regression since 5.15) and black display plane on Acer One AO532h. Then two smaller display fixes picked up by tooling. Regards, Joonas *** drm-intel-fixes-2022-04-28: - Fix #5

Re: [PULL v2] gvt-next

2022-04-20 Thread Joonas Lahtinen
+ Tvrtko Quoting Christoph Hellwig (2022-04-21 08:47:38) > On Thu, Apr 21, 2022 at 04:57:34AM +, Wang, Zhi A wrote: > > Is it possible that I can send two different pull based on the same branch? > > I was thinking I can remove this line in the original patch and then add a > > small patch to

Re: [PATCH 05/34] drm/i915/gvt: cleanup the Makefile

2022-04-20 Thread Joonas Lahtinen
+ Tvrtko Quoting Jason Gunthorpe (2022-04-13 17:45:48) > On Wed, Apr 13, 2022 at 02:26:23PM +, Wang, Zhi A wrote: > > On 4/13/22 1:43 PM, Jason Gunthorpe wrote: > > > On Wed, Apr 13, 2022 at 01:39:35PM +, Wang, Zhi A wrote: > > > > > >> It seems Jani's makefile clean patch has already inc

[PULL] drm-intel-fixes

2022-04-20 Thread Joonas Lahtinen
Hi Dave & Daniel, Here go drm-intel-fixes for v5.18-rc4. Two display fixes: Disable VRR if user disables it from panel settings and avoid claiming PSR2 is enabled when it is not supported by config. Regards, Joonas *** drm-intel-fixes-2022-04-20: - Unset enable_psr2_sel_fetch if PSR2 detectio

  1   2   3   4   5   >