]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix a divide by zero error
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 13 Sep 2022 20:21:09 +0000 (16:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:46 +0000 (09:41 -0400)
commit90ec19b11e2953c69b9800195835f8ad30fb13e3
treeb0f04a36c56f2f409dd5cd24ee17b9eac4c11ce8
parent3bf167416e5940dabec05c3e742ba7e8266234f7
drm/amd/display: fix a divide by zero error

[Why&How]

Incorrect variable was being checked for zero condition.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c