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

Arnd Bergmann arnd at arndb.de
Fri Feb 2 16:02:57 UTC 2018


On Fri, Feb 2, 2018 at 4:39 PM, Harry Wentland <harry.wentland at amd.com> 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


More information about the amd-gfx mailing list