Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Christian König
Am 12.09.2018 um 11:12 schrieb Chris Wilson: Quoting Daniel Vetter (2018-09-12 10:02:47) On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson wrote: Quoting Daniel Vetter (2018-09-12 09:39:30) On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson wrote: If the ioctl is not supported on a particular piec

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
Quoting Daniel Vetter (2018-09-12 10:02:47) > On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson > wrote: > > Quoting Daniel Vetter (2018-09-12 09:39:30) > >> On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson > >> wrote: > >> > If the ioctl is not supported on a particular piece of HW/driver > >> > co

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson wrote: > Quoting Daniel Vetter (2018-09-12 09:39:30) >> On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson >> wrote: >> > If the ioctl is not supported on a particular piece of HW/driver >> > combination, report ENODEV so that it can be easily distingui

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
Quoting Daniel Vetter (2018-09-12 09:39:30) > On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson > wrote: > > If the ioctl is not supported on a particular piece of HW/driver > > combination, report ENODEV so that it can be easily distinguished from > > both the lack of the ioctl and from a regular i

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson wrote: > If the ioctl is not supported on a particular piece of HW/driver > combination, report ENODEV so that it can be easily distinguished from > both the lack of the ioctl and from a regular invalid parameter. > > Signed-off-by: Chris Wilson > Cc