[igt-dev] [Intel-gfx] [PATCH v7 i-g-t 2/4] kms_writeback: Add initial writeback tests

Maxime Ripard maxime at cerno.tech
Wed Apr 15 10:06:18 UTC 2020


On Wed, Apr 15, 2020 at 09:49:46AM +0000, Simon Ser wrote:
> > > +   igt_output_set_prop_value(output, IGT_CONNECTOR_WRITEBACK_OUT_FENCE_PTR, (uint64_t)out_fence_ptr);
> >
> > On ARM (32bits), this cast creates a compilation error since the
> > pointer size isn't an uint64_t.
>
> Does casting to uintptr_t before uint64_t fix it?

It does yep. Casting to uintptr_t alone also works

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20200415/ff4e9d33/attachment.sig>


More information about the igt-dev mailing list