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 2/3] imagination: Skip CPU access flag for a few Render related allocations
Date: Wed, 11 Nov 2026 10:32:22 +0530 [thread overview]
Message-ID: <20261111-b4-render_update-v3-2-979dcf01ff43@imgtec.com> (raw)
In-Reply-To: <20261111-b4-render_update-v3-0-979dcf01ff43@imgtec.com>
Skip passing CPU access flag for BO's that don't need host access.
Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Signed-off-by: Brajesh Gupta <brajesh.gupta@imgtec.com>
---
lib/igt_pvr.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/lib/igt_pvr.c b/lib/igt_pvr.c
index e771d0660..9e88b2e41 100644
--- a/lib/igt_pvr.c
+++ b/lib/igt_pvr.c
@@ -400,7 +400,6 @@ uint32_t igt_pvr_ioctl_create_context(int fd, enum drm_pvr_ctx_type type,
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd,
vm_ctx_handle,
POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
create_context_args.static_context_state = to_user_pointer(init_render_context_stream);
create_context_args.static_context_state_len =
@@ -818,15 +817,12 @@ static void igt_pvr_create_hwrt_geom_data_args(int fd, uint32_t vm_ctx,
{
geom_data_args->rtc_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
geom_data_args->tpc_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
geom_data_args->vheap_table_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
geom_data_args->tpc_size = POWERVR_GPU_PAGE_SIZE;
geom_data_args->tpc_stride = 0x1;
@@ -846,15 +842,12 @@ 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_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
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_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
rt_data_args->region_header_dev_addr =
igt_pvr_get_gpu_addr(igt_pvr_allocate_general(fd, vm_ctx, POWERVR_GPU_PAGE_SIZE,
- DRM_PVR_BO_ALLOW_CPU_USERSPACE_ACCESS |
DRM_PVR_BO_BYPASS_DEVICE_CACHE));
}
--
2.43.0
next prev parent reply other threads:[~2026-11-11 5:05 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 ` Brajesh Gupta [this message]
2026-11-11 5:02 ` [PATCH i-g-t v3 3/3] lib/igt_pvr: Pass DRM_PVR_BO_PM_FW_PROTECT flag for PM MList allocation Brajesh Gupta
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-2-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