diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2016-06-29 23:37:35 +0300 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2016-07-01 20:47:51 +0300 |
commit | beca4cf55323147ca9c8a98de1871be6e4fe8f34 (patch) | |
tree | 105f2911895cea4b1bbab84bdd03f972c7250b3a /arch/arm/mach-picoxcell/Kconfig | |
parent | d5f1a291e32309324a8c481ed84b5c118d1360ea (diff) | |
download | linux-beca4cf55323147ca9c8a98de1871be6e4fe8f34.tar.xz |
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 <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'arch/arm/mach-picoxcell/Kconfig')
0 files changed, 0 insertions, 0 deletions