[igt-dev] [PATCH i-g-t] i915/gem_mmap: Modified offset in subtest "bad-size"
Chris Wilson
chris at chris-wilson.co.uk
Wed Sep 16 14:49:16 UTC 2020
Quoting apoorva1.singh at intel.com (2020-09-16 15:28:22)
> From: Apoorva Singh <apoorva1.singh at intel.com>
>
> Subtest "bad-size" should keep valid/good offset
> corresponding to buffer object being mapped.
> Currently, subtest will pass for any value of size
> provided as the offset value itself will not allow
> to map any size of memory which defies the purpose
> of this subtest.
>
> The subtest should not pass due to bad offset value
> while it should pass only due to bad size provided.
>
> v2: Added new offset. Updated the same changes in
> "bad-size" subtest of gem_mmap_wc too.
>
> Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
2 for the price of 1, excellent.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the igt-dev
mailing list