aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2016-06-29 13:37:35 -0700
committerSinclair Yeh <[email protected]>2016-07-01 10:47:51 -0700
commitbeca4cf55323147ca9c8a98de1871be6e4fe8f34 (patch)
tree105f2911895cea4b1bbab84bdd03f972c7250b3a /lib/mpi/mpi-cmp.c
parentd5f1a291e32309324a8c481ed84b5c118d1360ea (diff)
drm/vmwgfx: Fix corner case screen target management
When the surface backing a framebuffer doesn't match the framebuffer's dimensions, the screen target code would test the framebuffer dimensions rather than the surface dimensions when deciding whether to bind the surface as a screen target directly. This causes a screen target - surface dimension mismatch and a subsequent device error. Fix this by testing against the surface dimension. v2: Fix review comments by Sinclair Yeh. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Sinclair Yeh <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions