mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Add DRM platform for BSD
This moves lnx_platform.c to the shared directory and adds it to the BSD build. This is needed for PRIME render offload. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
committed by
Aaron Plattner
parent
7ce57e179b
commit
5468123822
@@ -36,10 +36,10 @@ if host_machine.system() == 'linux'
|
|||||||
'linux/lnx_bell.c',
|
'linux/lnx_bell.c',
|
||||||
'linux/lnx_init.c',
|
'linux/lnx_init.c',
|
||||||
'linux/lnx_kmod.c',
|
'linux/lnx_kmod.c',
|
||||||
'linux/lnx_platform.c',
|
|
||||||
'linux/lnx_video.c',
|
'linux/lnx_video.c',
|
||||||
'misc/SlowBcopy.c',
|
'misc/SlowBcopy.c',
|
||||||
'shared/VTsw_usl.c',
|
'shared/VTsw_usl.c',
|
||||||
|
'shared/drm_platform.c',
|
||||||
]
|
]
|
||||||
if build_agp
|
if build_agp
|
||||||
srcs_xorg_os_support += 'linux/lnx_agp.c'
|
srcs_xorg_os_support += 'linux/lnx_agp.c'
|
||||||
@@ -96,6 +96,7 @@ elif host_machine.system().endswith('bsd')
|
|||||||
'bsd/bsd_VTsw.c',
|
'bsd/bsd_VTsw.c',
|
||||||
'bsd/bsd_bell.c',
|
'bsd/bsd_bell.c',
|
||||||
'bsd/bsd_init.c',
|
'bsd/bsd_init.c',
|
||||||
|
'shared/drm_platform.c',
|
||||||
'shared/pm_noop.c'
|
'shared/pm_noop.c'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user