drm/amd/display: fix a potential issue in DSC logic
authorWenjing Liu <Wenjing.Liu@amd.com>
Thu, 25 Apr 2019 16:11:50 +0000 (12:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:12 +0000 (09:34 -0500)
commitcba4d59c936cd17ac601c188725ccd779467a509
treeb095ab895117e3b635d6d49976d4b92503ded507
parente34fe1bba65880c5dd66fae11362bd5c370493c1
drm/amd/display: fix a potential issue in DSC logic

[why]
In compute dsc bandwidth range there is an uninitialized variable

[how]
Initialize the variable to the correct value.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c