~thomir-deactivatedaccount/mir/enable-tests

« back to all changes in this revision

Viewing changes to src/server/graphics/gbm/real_kms_display_configuration.cpp

  • Committer: Tarmac
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2013-09-11 18:55:00 UTC
  • mfrom: (1061.1.1 mir)
  • Revision ID: tarmac-20130911185500-gzkp5frrwmmnh4yc
Revert revision 1054 ABI-change (the libmirclient3 one), which seems to cause a lot of problems.

Approved by kevin gunn, PS Jenkins bot, Kevin DuBois.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 
109
109
void mgg::RealKMSDisplayConfiguration::configure_output(
110
110
    DisplayConfigurationOutputId id, bool used,
111
 
    geometry::Point top_left, size_t mode_index,
112
 
    MirPowerMode power_mode)
 
111
    geometry::Point top_left, size_t mode_index)
113
112
{
114
113
    auto iter = find_output_with_id(id);
115
114
 
123
122
        output.used = used;
124
123
        output.top_left = top_left;
125
124
        output.current_mode_index = mode_index;
126
 
        output.power_mode = power_mode;
127
125
    }
128
126
    else
129
127
    {
224
222
    {
225
223
        outputs.push_back({id, card_id, type, formats, modes, preferred_mode_index,
226
224
                           physical_size, connected, false, geom::Point(),
227
 
                           current_mode_index, 0u, mir_power_mode_on});
 
225
                           current_mode_index, 0u});
228
226
    }
229
227
    else
230
228
    {