Cross Reference: pipe_i915.c
xref: /xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/pipe-loader/pipe_i915.c
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/pipe-loader/
pipe_i915.c revision 848b8605
1
2#include "target-helpers/inline_debug_helper.h"
3#include "state_tracker/drm_driver.h"
4#include "i915/drm/i915_drm_public.h"
5#include "i915/i915_public.h"
6
7static struct pipe_screen *
8create_screen(int fd)
9{
10   struct i915_winsys *iws;
11   struct pipe_screen *screen;
12
13   iws = i915_drm_winsys_create(fd);
14   if (!iws)
15      return NULL;
16
17   screen = i915_screen_create(iws);
18   if (!screen)
19      return NULL;
20
21   screen = debug_screen_wrap(screen);
22
23   return screen;
24}
25
26PUBLIC
27DRM_DRIVER_DESCRIPTOR("i915", "i915", create_screen, NULL)
28

Indexes created Sat Nov 29 18:09:35 GMT 2025