drm/amd/display: prevent potential division by zero errors
authorjsg <jsg@openbsd.org>
Tue, 19 Sep 2023 12:42:34 +0000 (12:42 +0000)
committerjsg <jsg@openbsd.org>
Tue, 19 Sep 2023 12:42:34 +0000 (12:42 +0000)
commit4369b360926e05fddc385fdd0ec0b1b8c64d23f3
tree28b2b32ca141788770e9764d2b34bcee3d8314b3
parentb9fd6188ab9ae03a8c8d40b3ea11adc7d1ac5791
drm/amd/display: prevent potential division by zero errors

From Hamza Mahfooz
ff536a96687cf976d89bed08d40fcaae6bf50304 in linux-6.1.y/6.1.54
07e388aab042774f284a2ad75a70a194517cdad4 in mainline linux
sys/dev/pci/drm/amd/display/modules/freesync/freesync.c