Re: [PATCH] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Simon Ser
On Tuesday, November 10, 2020 6:39 PM, Sam Ravnborg wrote: > You could consider migrating to drm_dbg_atomic() and friends while > touching this - so we get one more core file migrated. > You have a drm_device so the code is fine with the new drm_ based > logging. That's a good point! Sent a v2.

Re: [PATCH] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-10 Thread Simon Ser
On Tuesday, November 10, 2020 5:04 PM, Ville Syrjälä wrote: > On Tue, Nov 10, 2020 at 03:58:01PM +, Simon Ser wrote: > > Be nice to user-space and log what happened when returning EINVAL in > > drm_mode_atomic_ioctl. > > > > Signed-off-by: Simon Ser > > Cc: Daniel Vetter > > Cc: Maarten Lan

Re: [PATCH] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-10 Thread Ville Syrjälä
On Tue, Nov 10, 2020 at 03:58:01PM +, Simon Ser wrote: > Be nice to user-space and log what happened when returning EINVAL in > drm_mode_atomic_ioctl. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Thomas Zimmermann > --- > drivers/gpu/

[PATCH] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-10 Thread Simon Ser
Be nice to user-space and log what happened when returning EINVAL in drm_mode_atomic_ioctl. Signed-off-by: Simon Ser Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- drivers/gpu/drm/drm_atomic_uapi.c | 16 1 file changed, 12 insertions(+),