Re: [PATCH v2] drm: refuse ADDFB2 ioctl for broken bigendian drivers

2018-09-10 Thread kbuild test robot
Hi Gerd, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc2 next-20180906] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/G

Re: [PATCH v2] drm: refuse ADDFB2 ioctl for broken bigendian drivers

2018-09-07 Thread Daniel Vetter
On Fri, Sep 07, 2018 at 09:32:13AM +0200, Gerd Hoffmann wrote: > Drivers must set the quirk_addfb_prefer_host_byte_order quirk to make > the drm_mode_addfb() compat code work correctly on bigendian machines. > > If they don't they interpret pixel_format values incorrectly for bug > compatibility,

[PATCH v2] drm: refuse ADDFB2 ioctl for broken bigendian drivers

2018-09-07 Thread Gerd Hoffmann
Drivers must set the quirk_addfb_prefer_host_byte_order quirk to make the drm_mode_addfb() compat code work correctly on bigendian machines. If they don't they interpret pixel_format values incorrectly for bug compatibility, which in turn implies the ADDFB2 ioctl does not work correctly then. So