diff options
author | 2016-06-29 13:37:35 -0700 | |
---|---|---|
committer | 2016-07-01 10:47:51 -0700 | |
commit | beca4cf55323147ca9c8a98de1871be6e4fe8f34 (patch) | |
tree | 105f2911895cea4b1bbab84bdd03f972c7250b3a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/vmwgfx: Delay pinning fbdev framebuffer until after mode set (diff) | |
download | wireguard-linux-beca4cf55323147ca9c8a98de1871be6e4fe8f34.tar.xz wireguard-linux-beca4cf55323147ca9c8a98de1871be6e4fe8f34.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions