drm/i915/overlay: Prevent divide by zero bugs in scaling
authorjsg <jsg@openbsd.org>
Wed, 9 Feb 2022 04:29:02 +0000 (04:29 +0000)
committerjsg <jsg@openbsd.org>
Wed, 9 Feb 2022 04:29:02 +0000 (04:29 +0000)
commit0d1a5d29364b4acda98e3bea73ce71f95fbfe79b
tree926fa4d0f656cb051b26fcafd9e136ecc761cafd
parent03dc15f4a55cd3ab8f18e3344414bfea38fc3a12
drm/i915/overlay: Prevent divide by zero bugs in scaling

From Dan Carpenter
5cba71707f0a7fe19fa1feaf25a4c094876c2db1 in linux 5.15.y/5.15.22
90a3d22ff02b196d5884e111f39271a1d4ee8e3e in mainline linux
sys/dev/pci/drm/i915/display/intel_overlay.c