aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorFabien DESSENNE <[email protected]>2017-01-12 17:27:37 +0100
committerVincent Abriou <[email protected]>2017-02-10 09:34:39 +0100
commit6801723b0187c0bb0803758b7b7ef14ba22fdcf2 (patch)
tree7696405c5238cb7d041bc64a6c7eb337adf295c8 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentc62052d1469d283aff31527bfdccd9da08a46005 (diff)
drm/sti: do not check hw scaling if mode is not set
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 <[email protected]> Acked-by: Vincent Abriou <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions