xref: /aosp_15_r20/external/intel-media-driver/media_driver/media_interface/media_srcs.cmake (revision ba62d9d3abf0e404f2022b4cd7a85e107f48596f)
1# Copyright (c) 2017, Intel Corporation
2#
3# Permission is hereby granted, free of charge, to any person obtaining a
4# copy of this software and associated documentation files (the "Software"),
5# to deal in the Software without restriction, including without limitation
6# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7# and/or sell copies of the Software, and to permit persons to whom the
8# Software is furnished to do so, subject to the following conditions:
9#
10# The above copyright notice and this permission notice shall be included
11# in all copies or substantial portions of the Software.
12#
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
17# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19# OTHER DEALINGS IN THE SOFTWARE.
20
21
22if(GEN8_BDW)
23    media_include_subdirectory(media_interfaces_m8_bdw)
24endif()
25
26if(GEN9_BXT)
27    media_include_subdirectory(media_interfaces_m9_bxt)
28endif()
29
30if(GEN9_SKL)
31    media_include_subdirectory(media_interfaces_m9_skl)
32endif()
33
34if(GEN9_CFL)
35    media_include_subdirectory(media_interfaces_m9_cfl)
36endif()
37
38if(GEN9_GLK)
39    media_include_subdirectory(media_interfaces_m9_glk)
40endif()
41
42if(GEN9_KBL)
43    media_include_subdirectory(media_interfaces_m9_kbl)
44endif()
45
46if(GEN11_ICLLP)
47    media_include_subdirectory(media_interfaces_m11_icllp)
48endif()
49
50if(GEN11_JSL)
51    media_include_subdirectory(media_interfaces_m11_jsl_ehl)
52endif()
53
54if(GEN12_TGLLP)
55    media_include_subdirectory(media_interfaces_m12_tgllp)
56endif()
57
58if(GEN12_DG1)
59    media_include_subdirectory(media_interfaces_m12_dg1)
60endif()
61
62if(GEN12_RKL)
63    media_include_subdirectory(media_interfaces_m12_rkl)
64endif()
65
66if(GEN12_ADLS)
67    media_include_subdirectory(media_interfaces_m12_adls)
68endif()
69
70if(GEN12_ADLP)
71    media_include_subdirectory(media_interfaces_m12_adlp)
72endif()
73
74if(GEN12_ADLN)
75    media_include_subdirectory(media_interfaces_m12_adln)
76endif()
77
78if(XEHP_SDV)
79    media_include_subdirectory(media_interfaces_xehp_sdv)
80endif()
81
82if(DG2)
83    media_include_subdirectory(media_interfaces_dg2)
84endif()
85
86if(PVC)
87    media_include_subdirectory(media_interfaces_pvc)
88endif()
89
90
91include(${MEDIA_EXT}/media_interface/media_srcs.cmake OPTIONAL)
92