Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-10 Thread Archit Taneja
On 04/08/2017 12:03 AM, Daniel Vetter wrote: On Fri, Apr 07, 2017 at 02:17:43PM +0200, Romain Perier wrote: This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-10 Thread Archit Taneja
On 04/08/2017 12:03 AM, Daniel Vetter wrote: On Fri, Apr 07, 2017 at 02:17:43PM +0200, Romain Perier wrote: This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Daniel Vetter
On Fri, Apr 07, 2017 at 02:17:43PM +0200, Romain Perier wrote: > This helper is supposed to validate or reject the modeline before it > applied by the mode setting. Currently this function has been dropped, > it was previously set to a dummy function that always returned true. For > both cases,

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Daniel Vetter
On Fri, Apr 07, 2017 at 02:17:43PM +0200, Romain Perier wrote: > This helper is supposed to validate or reject the modeline before it > applied by the mode setting. Currently this function has been dropped, > it was previously set to a dummy function that always returned true. For > both cases,

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Daniel Vetter
On Fri, Apr 7, 2017 at 7:15 PM, Archit Taneja wrote: > On 4/7/2017 5:47 PM, Romain Perier wrote: >> >> This helper is supposed to validate or reject the modeline before it >> applied by the mode setting. Currently this function has been dropped, >> it was previously set to

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Daniel Vetter
On Fri, Apr 7, 2017 at 7:15 PM, Archit Taneja wrote: > On 4/7/2017 5:47 PM, Romain Perier wrote: >> >> This helper is supposed to validate or reject the modeline before it >> applied by the mode setting. Currently this function has been dropped, >> it was previously set to a dummy function that

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Archit Taneja
Hi, On 4/7/2017 5:47 PM, Romain Perier wrote: This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function that always returned true. For both cases, this means that

Re: [PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Archit Taneja
Hi, On 4/7/2017 5:47 PM, Romain Perier wrote: This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function that always returned true. For both cases, this means that

[PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Romain Perier
This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function that always returned true. For both cases, this means that userspace can ask for a bad modeline that will be always

[PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Romain Perier
This helper is supposed to validate or reject the modeline before it applied by the mode setting. Currently this function has been dropped, it was previously set to a dummy function that always returned true. For both cases, this means that userspace can ask for a bad modeline that will be always