aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-10-27 01:50:59 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2021-11-09 10:02:44 -0500
commit90ab96f3872eae816f4e07deaa77322a91237960 (patch)
tree92936f5f450ca2f6be883ed2a8eb0b832f295e66 /tools/perf/scripts/python/export-to-sqlite.py
parentcecbc0c7eba7983965cac94f88d2db00b913253b (diff)
drm/i915/fb: Fix rounding error in subsampled plane size calculation
For NV12 FBs with odd main surface tile-row height the CCS surface height was incorrectly calculated 1 less than the actual value. Fix this by rounding up the result of divison. For consistency do the same for the CCS surface width calculation. Fixes: b3e57bccd68a ("drm/i915/tgl: Gen-12 render decompression") Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211026225105.2783797-2-imre.deak@intel.com (cherry picked from commit 2ee5ef9c934ad26376c9282171e731e6c0339815) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions