[PATCH igt 3/9] msm/mapping: update for sparse
Kamil Konieczny
kamil.konieczny at linux.intel.com
Tue Jul 1 16:11:27 UTC 2025
Hi Rob,
On 2025-06-30 at 11:08:57 -0700, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
Fix 'From: ' e-mail address to match s-o-b.
Also add 'tests/' prefix:
[PATCH igt 3/9] tests/msm/msm_mapping: update for sparse
>
> The debugfs format changes a bit. Update the igt test to handle both
> cases.
>
> Signed-off-by: Rob Clark <rob.clark at oss.qualcomm.com>
> ---
> tests/msm/msm_mapping.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/msm/msm_mapping.c b/tests/msm/msm_mapping.c
> index ac20ca91d613..f536db82aba2 100644
> --- a/tests/msm/msm_mapping.c
> +++ b/tests/msm/msm_mapping.c
> @@ -148,6 +148,10 @@ get_bo_addr(int drm_fd, const char *name)
>
> ret = sscanf(line, " vmas: [gpu: aspace=%"PRIx64", %"PRIx64",mapped,inuse=1]",
> &dummy, &addr);
> + if (ret != 2) {
> + ret = sscanf(line, " vmas: [gpu: vm=%"PRIx64", %"PRIx64", mapped]",
> + &dummy, &addr);
Align to 'line'.
Regards,
Kamil
> + }
> igt_fail_on(ret != 2);
>
> return addr;
> --
> 2.50.0
>
More information about the igt-dev
mailing list