From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.11 01/31] drm/xe/migrate: Handle clear ccs logic for xe2 dgfx
Date: Sat, 23 Nov 2024 09:30:38 -0500 [thread overview]
Message-ID: <20241123083456-400083e420760b67@stable.kernel.org> (raw)
In-Reply-To: <20241122210719.213373-2-lucas.demarchi@intel.com>
[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 108c972a11c5f6e37be58207460d9bcac06698db
WARNING: Author mismatch between patch and upstream commit:
Backport author: Lucas De Marchi <lucas.demarchi@intel.com>
Commit author: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
Status in newer kernel trees:
6.12.y | Present (exact SHA1)
6.11.y | Not found
Note: The patch differs from the upstream commit:
---
--- - 2024-11-23 08:22:04.287621219 -0500
+++ /tmp/tmp.piLgrFj0iY 2024-11-23 08:22:04.278840217 -0500
@@ -1,3 +1,5 @@
+commit 108c972a11c5f6e37be58207460d9bcac06698db upstream.
+
For Xe2 dGPU, we clear the bo by modifying the VRAM using an
uncompressed pat index which then indirectly updates the
compression status as uncompressed i.e zeroed CCS.
@@ -13,15 +15,16 @@
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8dd869dd8dda5e17ace28c04f1a48675f5540874.1721250309.git.akshata.jahagirdar@intel.com
+Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
drivers/gpu/drm/xe/xe_migrate.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
-index fa23a7e7ec435..85eec95c9bc27 100644
+index a849c48d8ac90..8315cb02f370d 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
-@@ -347,6 +347,11 @@ static u32 xe_migrate_usm_logical_mask(struct xe_gt *gt)
+@@ -348,6 +348,11 @@ static u32 xe_migrate_usm_logical_mask(struct xe_gt *gt)
return logical_mask;
}
@@ -33,7 +36,7 @@
/**
* xe_migrate_init() - Initialize a migrate context
* @tile: Back-pointer to the tile we're initializing for.
-@@ -420,7 +425,7 @@ struct xe_migrate *xe_migrate_init(struct xe_tile *tile)
+@@ -421,7 +426,7 @@ struct xe_migrate *xe_migrate_init(struct xe_tile *tile)
return ERR_PTR(err);
if (IS_DGFX(xe)) {
@@ -42,7 +45,7 @@
/* min chunk size corresponds to 4K of CCS Metadata */
m->min_chunk_size = SZ_4K * SZ_64K /
xe_device_ccs_bytes(xe, SZ_64K);
-@@ -1034,7 +1039,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
+@@ -1035,7 +1040,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
clear_system_ccs ? 0 : emit_clear_cmd_len(gt), 0,
avail_pts);
@@ -51,7 +54,7 @@
batch_size += EMIT_COPY_CCS_DW;
/* Clear commands */
-@@ -1062,7 +1067,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
+@@ -1063,7 +1068,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
if (!clear_system_ccs)
emit_clear(gt, bb, clear_L0_ofs, clear_L0, XE_PAGE_SIZE, clear_vram);
@@ -60,3 +63,6 @@
emit_copy_ccs(gt, bb, clear_L0_ofs, true,
m->cleared_mem_ofs, false, clear_L0);
flush_flags = MI_FLUSH_DW_CCS;
+--
+2.47.0
+
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.11.y | Success | Success |
next prev parent reply other threads:[~2024-11-23 14:30 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-22 21:06 [PATCH 6.11 00/31] xe/i915 fixes for 6.11 Lucas De Marchi
2024-11-22 21:06 ` [PATCH 6.11 01/31] drm/xe/migrate: Handle clear ccs logic for xe2 dgfx Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin [this message]
2024-11-22 21:06 ` [PATCH 6.11 02/31] drm/xe/migrate: Add helper function to program identity map Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 03/31] drm/xe/kunit: Kill xe_cur_kunit() Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 04/31] drm/xe/kunit: Simplify xe_bo live tests code layout Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 05/31] drm/xe/kunit: Simplify xe_dma_buf " Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 06/31] drm/xe/kunit: Simplify xe_migrate " Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 07/31] drm/xe/migrate: Add kunit to test clear functionality Lucas De Marchi
2024-11-23 14:30 ` Sasha Levin
2024-11-22 21:06 ` [PATCH 6.11 08/31] drm/xe/xe2: Introduce identity map for compressed pat for vram Lucas De Marchi
2024-11-22 21:06 ` [PATCH 6.11 09/31] drm/xe/xe_migrate: Handle migration logic for xe2+ dgfx Lucas De Marchi
2024-11-22 21:06 ` [PATCH 6.11 10/31] drm/xe/uc: Use managed bo for HuC and GSC objects Lucas De Marchi
2024-11-22 21:06 ` [PATCH 6.11 11/31] drm/{i915, xe}: Avoid direct inspection of dpt_vma from outside dpt Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 12/31] drm/xe: Handle polling only for system s/r in xe_display_pm_suspend/resume() Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 13/31] drm/xe/display: handle HPD polling in display runtime suspend/resume Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 14/31] drm/i915/dp: Assume panel power is off if runtime suspended Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 15/31] drm/i915/dp: Disable unnecessary HPD polling for eDP Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 16/31] drm/xe: Remove runtime argument from display s/r functions Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 17/31] drm/xe/display: Separate the d3cold and non-d3cold runtime PM handling Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 18/31] drm/xe/display: Add missing HPD interrupt enabling during non-d3cold RPM resume Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 19/31] drm/xe: Use separate rpm lockdep map for non-d3cold-capable devices Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 20/31] drm/xe: Fix missing conversion to xe_display_pm_runtime_resume Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 21/31] drm/xe/xe2: Extend performance tuning to media GT Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 22/31] drm/xe/xe2: Add performance tuning for L3 cache flushing Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 23/31] drm/xe/client: use mem_type from the current resource Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 24/31] drm/xe: Do not run GPU page fault handler on a closed VM Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 25/31] drm/xe/queue: move xa_alloc to prevent UAF Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 26/31] drm/i915: Do not explicilty enable FEC in DP_TP_CTL for UHBR rates Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 27/31] drm/xe/display: Do not suspend resume dp mst during runtime Lucas De Marchi
2024-12-02 9:50 ` Greg KH
2024-12-02 14:40 ` Lucas De Marchi
2024-12-02 14:47 ` Greg KH
2024-12-02 15:28 ` Lucas De Marchi
2024-12-02 16:35 ` Rodrigo Vivi
2024-12-02 17:01 ` Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 28/31] drm/xe/display: Do not do intel_fbdev_set_suspend " Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 29/31] drm/xe/bmg: improve cache flushing behaviour Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 30/31] drm/xe/xe2lpg: Extend Wa_15016589081 for xe2lpg Lucas De Marchi
2024-11-22 21:07 ` [PATCH 6.11 31/31] drm/xe: use devm_add_action_or_reset() helper Lucas De Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241123083456-400083e420760b67@stable.kernel.org \
--to=sashal@kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).