RE: [PATCH 2/2] drm/dsc: Use 32-bit integers for some DSC parameter calculations

2019-11-14 Thread Cornij, Nikola
Looks good to me -Original Message- From: mikita.lip...@amd.com Sent: November 13, 2019 2:07 PM To: amd-gfx@lists.freedesktop.org Cc: Wentland, Harry ; Deucher, Alexander ; Cornij, Nikola ; manasi.d.nav...@intel.com; Lipski, Mikita Subject: [PATCH 2/2] drm/dsc: Use 32-bit integers

[PATCH 2/2] drm/dsc: Use 32-bit integers for some DSC parameter calculations

2019-11-13 Thread mikita.lipski
From: Mikita Lipski [why] There are a few DSC PPS parameters, such as scale_increment_interval, that could overflow 16-bit integer if non-DSC-spec-compliant configuration was used. There is a check in the code against that, however 16-bit integer is used to store those values, which invalidates t