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

Petri Latvala petri.latvala at intel.com
Wed Apr 15 10:08:51 UTC 2020


On Wed, Apr 15, 2020 at 12:06:18PM +0200, Maxime Ripard wrote:
> 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


to_user_pointer(out_fence_ptr)

-- 
Petri Latvala


More information about the Intel-gfx mailing list