diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-12-20 10:11:32 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-12-20 10:13:47 +0200 |
commit | 6350d1b6e4bdecdee82601731a52323ec047b394 (patch) | |
tree | e35b8f95f61a61fd1ffe45007b4288323c80dc6b /utils | |
parent | 3174f3efd6768667e568a27ac98ca04d063a9071 (diff) |
kmstest: fix bug in setups_to_outputs()
Bad output used to get the crtc, causing crash.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/kmstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp index 3a98468..f12ed09 100644 --- a/utils/kmstest.cpp +++ b/utils/kmstest.cpp @@ -577,7 +577,7 @@ static vector<OutputInfo> setups_to_outputs(Card& card, const vector<Arg>& outpu // create default framebuffers if needed for (OutputInfo& o : outputs) { if (!o.crtc) { - get_default_crtc(card, *current_output); + get_default_crtc(card, o); o.user_set_crtc = true; } |