Re: [PATCH] drm: tilcdc: Calculate the vrefresh if it is not set by userspace

2017-10-12 Thread Jyri Sarha
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/11/17 05:57, Kevin Hao wrote: > On Tue, Oct 10, 2017 at 04:58:15PM +0300, Jyri Sarha wrote: >> >> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.

Re: [PATCH] drm: tilcdc: Calculate the vrefresh if it is not set by userspace

2017-10-11 Thread Kevin Hao
On Tue, Oct 10, 2017 at 04:58:15PM +0300, Jyri Sarha wrote: > > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > > On 10/10/17 15:09, Kevin Hao wrote: > > The check for vrefresh has been removed by commit 11abbc9f3

[PATCH] drm: tilcdc: Calculate the vrefresh if it is not set by userspace

2017-10-11 Thread Kevin Hao
The check for vrefresh has been removed by commit 11abbc9f39e0 ("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled"). But the userspace is really possible to request a display mode with vrefresh uninitialized, then it would cause the following calltrace: [] (unwind_backtrace)

Re: [PATCH] drm: tilcdc: Calculate the vrefresh if it is not set by userspace

2017-10-10 Thread Jyri Sarha
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/10/17 15:09, Kevin Hao wrote: > The check for vrefresh has been removed by commit 11abbc9f39e0 > ("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is >