• Arnaldo Carvalho de Melo's avatar
    tools headers UAPI: Update tools's copy of drm.h headers to pick DRM_IOCTL_MODE_CLOSEFB · 1233d1d5
    Arnaldo Carvalho de Melo authored
    Picking the changes from:
    
      8570c279 ("drm/syncobj: Add deadline support for syncobj waits")
      9724ed6c ("drm: Introduce DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT")
      e4d983ac ("drm: introduce DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP")
      d208d875 ("drm: introduce CLOSEFB IOCTL")
      afa5cf31 ("drm/i915/uapi: fix typos/spellos and punctuation")
    
    Addressing these perf build warnings:
    
      Warning: Kernel ABI header differences:
    
    Now 'perf trace' and other code that might use the
    tools/perf/trace/beauty autogenerated tables will be able to translate
    this new ioctl command into a string:
    
      $ tools/perf/trace/beauty/drm_ioctl.sh > before
      $ cp include/uapi/drm/drm.h tools/include/uapi/drm/drm.h
      $ tools/perf/trace/beauty/drm_ioctl.sh > after
      $ diff -u before after
      --- before	2024-01-26 10:54:23.486381862 -0300
      +++ after	2024-01-26 10:54:35.767902442 -0300
      @@ -109,6 +109,7 @@
       	[0xCD] = "SYNCOBJ_TIMELINE_SIGNAL",
       	[0xCE] = "MODE_GETFB2",
       	[0xCF] = "SYNCOBJ_EVENTFD",
      +	[0xD0] = "MODE_CLOSEFB",
       	[DRM_COMMAND_BASE + 0x00] = "I915_INIT",
       	[DRM_COMMAND_BASE + 0x01] = "I915_FLUSH",
       	[DRM_COMMAND_BASE + 0x02] = "I915_FLIP",
      $
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Javier Martinez Canillas <javierm@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Rob Clark <robdclark@chromium.org>
    Cc: Simon Ser <contact@emersion.fr>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Zack Rusin <zack.rusin@broadcom.com>
    Link: https://lore.kernel.org/lkml/ZbPIN9Dcc5AM0uxo@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    1233d1d5
i915_drm.h 127 KB