diff options
| author | Imre Deak <[email protected]> | 2021-10-27 01:50:59 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2021-11-02 18:07:07 +0200 |
| commit | 2ee5ef9c934ad26376c9282171e731e6c0339815 (patch) | |
| tree | cd5bbea7d350399fe9e46bb27482f6ec1201999a /scripts/objdiff | |
| parent | 112a87c48e83cf226325735009712b515f48c495 (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 <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions