Cross Reference: pipe_msm.c
xref: /xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/pipe-loader/pipe_msm.c
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/pipe-loader/
1848b8605Smrg
2848b8605Smrg#include "target-helpers/inline_debug_helper.h"
3848b8605Smrg#include "state_tracker/drm_driver.h"
4848b8605Smrg#include "freedreno/drm/freedreno_drm_public.h"
5848b8605Smrg
6848b8605Smrgstatic struct pipe_screen *
7b8e80941Smrgcreate_screen(int fd, const struct pipe_screen_config *config)
8848b8605Smrg{
9848b8605Smrg   struct pipe_screen *screen;
10848b8605Smrg
11b8e80941Smrg   screen = fd_drm_screen_create(fd, NULL);
12848b8605Smrg   if (!screen)
13848b8605Smrg      return NULL;
14848b8605Smrg
15848b8605Smrg   screen = debug_screen_wrap(screen);
16848b8605Smrg
17848b8605Smrg   return screen;
18848b8605Smrg}
19848b8605Smrg
20848b8605SmrgPUBLIC
21b8e80941SmrgDRM_DRIVER_DESCRIPTOR("msm", NULL, create_screen)
22

Indexes created Sat Nov 29 02:09:32 GMT 2025