diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2025-09-05 13:46:26 +0300 |
---|---|---|
committer | Mika Kahola <mika.kahola@intel.com> | 2025-09-05 15:24:46 +0300 |
commit | 70a9b201cfa893fd0b7125c8f9205d9e12e02ba5 (patch) | |
tree | 0403922e0611d276ef1b63cf606b4a3a5a5520e0 /rust/helpers/bitops.c | |
parent | 1de89eca2004ebf0858cde504c903430b60f0975 (diff) |
drm/i915/display: Avoid divide by zero
skl_crtc_allocate_plane_ddb allow iter.data_rate to be zero
which could cause divide by zero in skl_allocate_plane_ddb,
check against that.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250905104626.1274147-3-juhapekka.heikkila@gmail.com
Diffstat (limited to 'rust/helpers/bitops.c')
0 files changed, 0 insertions, 0 deletions