From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 15 Apr 2020 13:08:51 +0300 From: Petri Latvala Message-ID: <20200415100851.GS9497@platvala-desk.ger.corp.intel.com> References: <20191022005910.siuiwfikmr76qpg3@smtp.gmail.com> <20200415094649.2tgelyotjliao2dk@gilmour.lan> <0kwho152-gzRe09N-ECBh9KepTGX-b_MU8X-TtBnTdWAQP9o5ni7tOVqGn9LK2U2ormexeYvS8U1uVcBMY5Lv-Le4z0dnnMnRaSbb29xjqo=@emersion.fr> <20200415100618.dffhwxhctgarqleq@gilmour.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200415100618.dffhwxhctgarqleq@gilmour.lan> Subject: Re: [igt-dev] [Intel-gfx] [PATCH v7 i-g-t 2/4] kms_writeback: Add initial writeback tests List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Maxime Ripard Cc: Simon Ser , "intel-gfx@lists.freedesktop.org" , Liviu Dudau , "igt-dev@lists.freedesktop.org" , Daniel Vetter , nd , Brian Starkey List-ID: 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 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev