diff options
author | Ville Syrjälä <[email protected]> | 2019-09-30 21:30:45 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2019-10-02 17:21:48 +0300 |
commit | 006e570128f413759b9df64b51bae79903679c9b (patch) | |
tree | 9f0381b3f7b3011ffbccb7529e9a15c67b1c11a5 /lib/mpi/mpi-cmp.c | |
parent | 15de0889b0c905a64d6f0fbc765a25d7899a560b (diff) |
drm/i915: Fix g4x sprite scaling stride check with GTT remapping
I forgot to update the g4x sprite scaling stride check when GTT
remapping was introduced. The stride of the original framebuffer
is irrelevant when remapping is used and instead we want to check
the stride of the remapped view.
Also drop the duplicate width_bytes check. We already check that
a few lines earlier.
Fixes: df79cf441910 ("drm/i915: Store the final plane stride in plane_state")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions