1. 21 Nov, 2019 20 commits
  2. 18 Nov, 2019 2 commits
  3. 14 Nov, 2019 2 commits
    • Pekka Paalanen's avatar
      libweston: drop a misleading dmabuf comment · 69dcd23c
      Pekka Paalanen authored
      This comment was added in 230f3b1b with the
      intent that if we had an information table about pixel formats (which we do
      have today), we could implement more sanity checks like ensuring that width
      pixels fit into stride.
      
      Daniel Vetter said on #dri-devel IRC recently:
      
      	< danvet> since userspace shouldn't look at stride for buffers with
      	modifiers, only pass it around unchanged
      
      I asked for clarification. It was expected that userspace would not do any kind
      of sanity checks as modifiers could change everything.
      
      Let's remove the misleading code comment so that people don't get the idea of
      adding more well-intended but ill-advised sanity checks. If more checks are
      added, they must take the modifier into account, which the existing checks do
      not do.
      
      After 5 years, it is far too late to remove our existing sanity checks, but we
      can attempt to not cause any more damage that would restrict what people can do
      in the kernel.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
      69dcd23c
    • Marius Vlad's avatar
      compositor: Fix some warning when passing debugoptimized to meson · 9c4b5c49
      Marius Vlad authored
      Increase the buf size such it can accomodate sufficiently large local
      buffers. Spotted whilst looking for something else.
      
      ../compositor/main.c:157:22: warning: ‘%s’ directive output may be
      truncated writing up to 511 bytes into a region of size 128
      [-Wformat-truncation=]
        157 |  snprintf(buf, len, "%s[%s.%03li]", datestr,
            |                      ^~             ~~~~~~~
      ../compositor/main.c:157:21: note: directive argument in the range
      [-9223372036854775, 9223372036854775]
        157 |  snprintf(buf, len, "%s[%s.%03li]", datestr,
            |                     ^~~~~~~~~~~~~~
      ../compositor/main.c:157:2: note: ‘snprintf’ output between 7 and 659
      bytes into a destination of size 128
        157 |  snprintf(buf, len, "%s[%s.%03li]", datestr,
            |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        158 |    timestr, (tv.tv_usec / 1000));
            |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      9c4b5c49
  4. 13 Nov, 2019 1 commit
  5. 12 Nov, 2019 3 commits
  6. 11 Nov, 2019 12 commits