diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-10-22 22:42:56 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-01-14 19:37:53 +0200 |
commit | 5b34ab52401f0f1f191bcb83a182c83b506f4763 (patch) | |
tree | 2e203df4a861ebcce829f09b0755ac4adf65a0a4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 625f8fb5bb5f5d25731c98d1f02e5023d41385f3 (diff) |
drm/modes: Switch to 64bit maths to avoid integer overflow
The new >8k CEA modes have dotclocks reaching 5.94 GHz, which
means our clock*1000 will now overflow the 32bit unsigned
integer. Switch to 64bit maths to avoid it.
Cc: stable@vger.kernel.org
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201022194256.30978-1-ville.syrjala@linux.intel.com
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions