Re: [PATCH 3/3] drm/sti: do not check hw scaling if mode is not set

2017-02-01 Thread Vincent ABRIOU
Acked-by: Vincent Abriou On 01/12/2017 05:27 PM, Fabien Dessenne wrote: > Fix a division by 0 case : in some cases, when the HQVDP plane is being > disabled atomic_check() is called with "mode->clock = 0". > In that case, do not check for scaling capabilities. > > Signed-off-by: Fabien Dessenne

[PATCH 3/3] drm/sti: do not check hw scaling if mode is not set

2017-01-12 Thread Fabien Dessenne
Fix a division by 0 case : in some cases, when the HQVDP plane is being disabled atomic_check() is called with "mode->clock = 0". In that case, do not check for scaling capabilities. Signed-off-by: Fabien Dessenne --- drivers/gpu/drm/sti/sti_hqvdp.c | 6 +++--- 1 file changed, 3 insertions(+), 3