drm/amd/display: Ensure index calculation will not overflow
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:02:02 +0000 (09:02 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:02:02 +0000 (09:02 +0000)
commit279234558b8f4e04397d233c94ab5bdae737202c
tree613a6330daaa87648c699bac19359f68f50dfc41
parent223108ef13d2af701b23405abceeb6d08b796faf
drm/amd/display: Ensure index calculation will not overflow

From Alex Hung
3dc6bb57dab36b38b7374af0ac916174c146b6ed in linux-6.6.y/6.6.50
8e2734bf444767fed787305ccdcb36a2be5301a2 in mainline linux
sys/dev/pci/drm/amd/display/dc/dml/calcs/dcn_calcs.c