[igt-dev] [PATCH i-g-t] tests/api_intel_bb: Handle different alignments in delta-check

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Feb 8 12:38:17 UTC 2022


On Mon, 07 Feb 2022 23:52:09 -0800, Zbigniew Kempczyński wrote:
>
> > Patch is correct. However shouldn't we add gem_detect_safe_alignment() to
> > intel_bb_add_object() too? Thanks.
>
> If you mean we should fix intel_bb_add_object() and __intel_bb_create()
> I'm with you.

Correct!

> Currently it works because bb gem object is created within system memory
> and generally both offsets are page aligned. But I agree, we should change
> intel-bb alignment handling.
>
> I'm going to prepare such patch soon but I don't know should I mix this
> with delta-check. Please decide.

Sorry, I meant do this independently of delta-check. Delta-check is already
merged. Thanks.


More information about the igt-dev mailing list