1. 03 May, 2017 1 commit
  2. 02 May, 2017 4 commits
  3. 29 Apr, 2017 14 commits
  4. 14 Apr, 2017 5 commits
  5. 13 Apr, 2017 2 commits
  6. 08 Apr, 2017 1 commit
  7. 07 Apr, 2017 1 commit
    • Daniel Stone's avatar
      drm-legacy: Use correct DRM event context version · c47739b9
      Daniel Stone authored
      DRM_EVENT_CONTEXT_VERSION is the latest context version supported by
      whatever version of libdrm is present. kmscube was blindly asserting
      it supported whatever version that may be, even if it actually didn't.
      
      With libdrm 2.4.78, setting a higher context version than 2 will attempt
      to call the page_flip_handler2 vfunc if it was non-NULL, which being a
      random chunk of stack memory, it might well have been.
      
      Set the version as 2, which should be bumped only with the appropriate
      version checks.
      Signed-off-by: 's avatarDaniel Stone <daniels@collabora.com>
      c47739b9
  8. 05 Apr, 2017 1 commit
  9. 27 Mar, 2017 3 commits
  10. 21 Mar, 2017 2 commits
    • Fabio Estevam's avatar
      Makefile.am: Add -std=c99 to CFLAGS · 6cbd03ab
      Fabio Estevam authored
      Currently the following build errors are seen on mips64el:
      
      cube-tex.c: In function 'get_fd_rgba':
      cube-tex.c:230:2: error: 'for' loop initial declarations are only allowed in C99 mode
        for (uint32_t i = 0; i < texh; i++) {
        ^
      cube-tex.c:230:2: note: use option -std=c99 or -std=gnu99 to compile your code
      cube-tex.c: In function 'get_fd_y':
      cube-tex.c:261:2: error: 'for' loop initial declarations are only allowed in C99 mode
        for (uint32_t i = 0; i < texh; i++) {
        ^
      cube-tex.c: In function 'get_fd_uv':
      cube-tex.c:292:2: error: 'for' loop initial declarations are only allowed in C99 mode
        for (uint32_t i = 0; i < texh/2; i++) {
        ^
      
      Add the -std=c99 option in CFLAGS to fix this problem.
      Signed-off-by: 's avatarFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
      6cbd03ab
    • Fabio Estevam's avatar
      drm-legacy: Include <sys/select.h> · e72f8544
      Fabio Estevam authored
      Include <sys/select.h> to fix the following build error seen on mips64el:
      
      drm-legacy.c: In function 'legacy_run':
      drm-legacy.c:45:2: error: unknown type name 'fd_set'
        fd_set fds;
        ^
      drm-legacy.c:55:2: warning: implicit declaration of function 'FD_ZERO' [-Wimplicit-function-declaration]
        FD_ZERO(&fds);
        ^
      drm-legacy.c:56:2: warning: implicit declaration of function 'FD_SET' [-Wimplicit-function-declaration]
        FD_SET(0, &fds);
        ^
      drm-legacy.c:94:4: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration]
          ret = select(drm.fd + 1, &fds, NULL, NULL, NULL);
          ^
      drm-legacy.c:101:4: warning: implicit declaration of function 'FD_ISSET' [-Wimplicit-function-declaration]
          } else if (FD_ISSET(0, &fds)) {
          ^
      Signed-off-by: 's avatarFabio Estevam <festevam@gmail.com>
      Reviewed-by: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
      e72f8544
  11. 19 Mar, 2017 1 commit
  12. 18 Mar, 2017 1 commit
  13. 15 Mar, 2017 4 commits