From: Brajesh Gupta <brajesh.gupta@imgtec.com>
To: Development mailing list for IGT GPU Tools
<igt-dev@lists.freedesktop.org>
Cc: Alessio Belle <alessio.belle@imgtec.com>,
Brajesh Gupta <brajesh.gupta@imgtec.com>,
Luigi Santivetti <luigi.santivetti@imgtec.com>
Subject: [PATCH i-g-t v3 3/3] lib/igt_pvr: Pass DRM_PVR_BO_PM_FW_PROTECT flag for PM MList allocation
Date: Wed, 11 Nov 2026 10:32:23 +0530 [thread overview]
Message-ID: <20261111-b4-render_update-v3-3-979dcf01ff43@imgtec.com> (raw)
In-Reply-To: <20261111-b4-render_update-v3-0-979dcf01ff43@imgtec.com>
Pass DRM_PVR_BO_PM_FW_PROTECT flag for PM MList allocation to indicate
only PM/FW allowed to access the memory.
Signed-off-by: Brajesh Gupta <brajesh.gupta@imgtec.com>
---
lib/igt_pvr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/igt_pvr.c b/lib/igt_pvr.c
index 9e88b2e41..36846d7d6 100644
--- a/lib/igt_pvr.c
+++ b/lib/igt_pvr.c
@@ -842,7 +842,8 @@ static void igt_pvr_create_hwrt_rt_data_args(int fd, uint32_t vm_ctx,
{
rt_data_args->pm_mlist_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_BYPASS_DEVICE_CACHE));
+ DRM_PVR_BO_BYPASS_DEVICE_CACHE |
+ DRM_PVR_BO_PM_FW_PROTECT));
rt_data_args->macrotile_array_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
--
2.43.0
next prev parent reply other threads:[~2026-11-11 5:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 5:02 [PATCH i-g-t v3 0/3] imagination: Update allocation flags for buffers in submit job Brajesh Gupta
2026-11-11 5:02 ` [PATCH i-g-t v3 1/3] lib/igt_pvr: Update general heap allocation interface to pass flags Brajesh Gupta
2026-11-11 5:02 ` [PATCH i-g-t v3 2/3] imagination: Skip CPU access flag for a few Render related allocations Brajesh Gupta
2026-11-11 5:02 ` Brajesh Gupta [this message]
2026-11-11 6:26 ` ✓ Xe.CI.BAT: success for imagination: Update allocation flags for buffers in submit job (rev2) Patchwork
2026-11-11 6:47 ` ✓ i915.CI.BAT: " Patchwork
2026-11-11 11:25 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-11-11 16:52 ` ✓ i915.CI.Full: success " Patchwork
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=20261111-b4-render_update-v3-3-979dcf01ff43@imgtec.com \
--to=brajesh.gupta@imgtec.com \
--cc=alessio.belle@imgtec.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=luigi.santivetti@imgtec.com \
/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