Re: [PATCH] drm/amd/display: fix incompatible structure layouts

From: Arnd Bergmann
Date: Fri Feb 02 2018 - 11:03:08 EST


On Fri, Feb 2, 2018 at 4:39 PM, Harry Wentland <harry.wentland@xxxxxxx> wrote:
> On 2018-02-02 07:31 AM, Arnd Bergmann wrote:
>> Building the amd display driver with link-time optimizations revealed a bug
>
> Curious how I'd go about building with link-time optimizations.

I got the idea from last week's LWN article on the topic, see
https://lwn.net/Articles/744507/. I needed the latest gcc version to
avoid some compiler bugs, and a few dozen kernel patches on top
to get a clean build in random configurations (posted them all today).

Most normal configurations probably work out of the box, but I have
not actually tried running any ;-)

Arnd