diff options
| author | Hans de Goede <[email protected]> | 2018-09-11 09:15:42 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-18 13:22:59 +0200 |
| commit | 3c94952c38cefce6fde11b0cb44d7f961237faa8 (patch) | |
| tree | 83ef9158e012b6a8c2b4508b37aaad5be519c0ca /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | a5aca20574693dac83dfcc98b08a41251b97edfb (diff) | |
staging: vboxvideo: Skip currrent crtc when updating crtcs
In vbox_crtc_set_base_and_mode() we update all the crtcs when the
single_framebuffer setting changes, including the one on which
vbox_crtc_set_base_and_mode() was called, so we end up doing
vbox_do_modeset() on it twice. This commit skips the crtc on which
we are updating in the loop to update the other crtcs.
This commit also removes the vbox_set_view() call from the loop,
vbox_set_view() does not depend on the single_framebuffer setting and it
was being called on the passed in crtc parameter and not on the crtci
local iterator value (typo), so it was a no-op already.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions