1. 16 Jan, 2013 3 commits
  2. 10 Jan, 2013 4 commits
  3. 09 Jan, 2013 2 commits
    • Keith Packard's avatar
      hw/xfree86: Require only one working CRTC to start the server. · 6703a7c7
      Keith Packard authored
      Instead of requiring every mode set to complete successfully, start up
      as long as at least one CRTC is working. This avoids failures when one
      or more CRTCs can't start due to mode setting conflicts.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
    • Aaron Plattner's avatar
      dix: Make small bitfields that store enums unsigned · 8b328d4e
      Aaron Plattner authored
      Commit 31bf8177
       changed the clientState field
      from a signed int to a signed int 2-bit bitfield.  The ClientState enum that is
      expected to be assigned to this field has four values: ClientStateInitial (0),
      ClientStateRunning (1), ClientStateRetained (2), and ClientStateGone (3).
      However, because this bitfield is signed, ClientStateRetained becomes -2 when
      assigned, and ClientStateGone becomes -1.  This causes warnings:
       test.c:54:10: error: case label value exceeds maximum value for type [-Werror]
       test.c:55:10: error: case label value exceeds maximum value for type [-Werror]
      The code here is a switch statement:
       53     switch (client->clientState) {
       54     case ClientStateGone:
       55     case ClientStateRetained:
       56         [...]
       57         break;
       59     default:
       60         [...]
       61         break;
       62     }
      It also causes bizarre problems like this:
       client->clientState = ClientStateGone;
       assert(client->clientState == ClientStateGone); // this assert fails
      Also change the signedness of nearby bitfields to match.
      Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by:  Colin Harrison <colin.harrison at virgin.net>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
  4. 19 Dec, 2012 5 commits
  5. 18 Dec, 2012 5 commits
  6. 17 Dec, 2012 21 commits