aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
AgeCommit message (Collapse)Author
2018-11-08lunarg-sdk/amdfalconx86: deprecate the sdkAwais Belal
We're now deprecating the LunarG SDK support but we'll still keep basic Vulkan support in. The directory structure has also been changed just to make it clear. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-04amd-features.inc: align with MELAwais Belal
MEL is now basing its features in a way that disregard which _particular image_ is being built and gives this flexibility to user where they can decide which extra features should be populated. This is manipulated in the local.conf using EXTRA_IMAGE_FEATURES. This aligns the AMD features accordingly and basis all functionality on EXTRA_IMAGE_FEATURES. This would help minimize the risk of going off track with feature manipulation while doing open as well as MEL based builds. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-09-24layer.conf/README.md: add meta-python as a dependencyAwais Belal
All the GPU based BSPs use mesa as their GL. The newer versions of mesa require python-mako on host (native) to generate some build files and python-mako-native is only available through meta-python at this time. The core layer only provides python3-mako-native which is not usable here. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-09-05amdfalconx86.conf: enable MEL specific graphics featureAwais Belal
MEL provides an additional graphics feature which is required in order to support different types of images under MEL. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-07-18tune-x.inc: use the m64 TUNE_FEATUREAwais Belal
All the currently supported BSPs are 64bit so use the appropriate m64 TUNE_FEATURE in order to get the build environment evaluated properly. Otherwise the basic -m64 switch which is required for proper linker output specification and other such things do not end up in the correct form and the build fails in case a toolchain that supports 32 and 64bit builds is used. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-22AMD-Features: feature component var names to follow _PKGS conventionArsalan H. Awan
This makes configurable feature component variables to use a standardized naming convention i.e. should end with _PKGS instead of _COMPONENTS or _PACKAGES Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22Created IMAGE_FEATURES to be used by AMD BSPs removing all img.bbappendsArsalan H. Awan
This defines AMD Features that can be added as EXTRA_IMAGE_FEATURES to different machines based on what is supported on a machine. This adds a broad flexibility and control over packages being installed on a machine for any image without needing to create bbappends for all the images that are to be supported. > Each feature can contain packages and packagegroups as its components. > Feature components can be dependent on DISTRO, IMAGE_FEATURE, or any variable in general. e.g.: Components of "amd-feature-graphics" may be dependent on "x11-base" as an IMAGE_FEATURE. Some packages may only be included for a specific DISTRO. Some packages may only be installed if user allows them in local.conf etc. > Each machine must add the required features to EXTRA_IMAGE_FEATURES in its own machine config file. > All required features must be added to a machine regardless of the image being built, but make sure that feature components are included based on dependency conditions. e.g. say "amd-feature-graphics" was added to a machine that supported graphics, but components of this feature must not be installed on an image that is only console based such as "core-image-base", therefore such components must depend on an IMAGE_FEATURE that is based on graphics such as "x11-base". > Each machine can also override feature components in its own machine config when adding the feature to EXTRA_IMAGE_FEATURES. e.g.: a feature may be added to a specific machine with minimal (or extended) packages based on requirement. Features are classified as: * amd-common-pkgs : Common pkgs to be added to all machines * amd-feature-multimedia : Multimedia packages (it does not depend on graphics because a machine may not have a GUI but could play videos and sounds from console) * amd-feature-graphics : Graphics packages * amd-feature-networking : Networking packages * amd-feature-debug-profile : Debugging and Profiling tools * More features may be added later as needed Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-04-17mpv: align with upstreamAwais Belal
Drop layer specific recipe and leverage the upstream one which is more recent. This would also make the maintenance feasible. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-13layer.conf: add LAYERSERIES_COMPATAwais Belal
This is now an upstream requirement for compliance and throws warnings on the console if not handled appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-19vulkan-tools: don't use deprecated functions from utils.bbclassAwais Belal
The correct way of using this is through the meta/lib/oe so drop the deprecated calls. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-19Merge remote-tracking branch 'origin/morty' into masterAwais Belal
2018-02-14vulkan-tools: fix build error with Qt5Awais Belal
The vulkan-tools configuration process checks for Qt5 _and_ Qt5Svg availability before enabling the traceviewer but our enablement of the feature only checks for Qt5 layer which creates a discrepancy. This ends up in an installation failure when we try to manually install traceviewer binary which is skipped during the build process due to the above reason. We fix this by depending upon the qtsvg package as well which is checked for during the configuration process otherwise a race condition would cause undesireable/unknown condition. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-12Merge morty into masterAwais Belal
2017-10-11amdfalconx86: use actual license text for LIC_FILES_CHKSUMAwais Belal
Increases maintainability and readability by using a single file with the actual license text being tested. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-11amdfalconx86: drop usage of PV and PRAwais Belal
PV is extracted from the filename and PR is managed through the PR service so no need to define them explicitly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-09-22vulkan-tools: Move the changes to original recipesAhsan Hussain
meta-steppeeagle and meta-seattle do not have a vulkan-tools recipe, so move the relevant changes to the original recipes for now. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-09-19vulkan-tools: Enable vktraceviewer, iff Qt layers are enabledAhsan Hussain
This tool was not enabled and would cause configuration issue when Qt layers are configured in the build. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-06-16libdrm: move to upstream versionAwais Belal
We now default to the upstream version of libdrm which is 2.4.81 and hence is much stable than the one we were using earlier for AMD BSPs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-05-25Merge pull request #425 from rsanjaym/mortyWade Farnsworth
V1000 release
2017-05-25moving some of amdfalconx86 related kernel patches to meta-amdfalconx86 layerSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-05-10amdgpu: Disable Power Gating as a workaroundAhsan Hussain
This is a workaround for hang issues with compute shaders. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-05-03vulkan: correct path for vulkan layersAwais Belal
The Vulkan loader looks for pre-installed layers in various hardcoded paths on the system and broadcasts this information to the application when requested. This now corrects the path for these layers and moves the layers to one of the loader defined paths so they are found automatically when searched. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-04-19amdgpu: get maximum and used UVD handlesAhsan Hussain
This enables the ability to get max. and used UVD handles from userspace. JIRA Ticket: INTAMDDET-1890 Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-03-31amdfalconx86: disable DEBUG_PREEMPT and DEBUG_RODATAAwais Belal
These configurations conflict with KGDB debugging in some cases and generate stack dumps in various other situations. The stack dumps related to mwaitx are properly fixed through https://patchwork.kernel.org/patch/8549611/ but the mentioned patch is only available for Yocto kernel 4.8 and we don't use these so it is much better to avoid the problem with this for the time being rather than backporting the patch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-30kernel-module: Fix recipes for amd-spi and amd-wdtAhsan Hussain
Setting PN and FILES inside the recipe was conflicting with the module.bbclass bits. SPI driver made it into the RFS because of different module package name (due to source files) than what was specified in the recipe. This is also why we were seeing two packages for it, namely kernel-module-spi-amd and kernel-module-amd-spi. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-01-11Merge pull request #395 from rsanjaym/mortyDrew Moseley
OGL 4.3 and kernel bug fixes
2017-01-04amdfalconx86: enable and use cb-mbs-optionsMichael
2017-01-03kernel: Add support for vulkan semaphore and cache raster config valuesSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-12-07amdfalconx86.conf: only populate vativesdk-glslang in case of melAwais Belal
The Vulkan integration mainly targets the MEL Commercial configurations so the required tools should only be populated in that particular case. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-30amdfalconx86/conf: split INCLUDE_GAMING_COMPONENTSAdeel Arshad
We have analyzed that the configuration variable INCLUDE_GAMING_COMPONENTS, is no longer valid as the components it include are not particularly specific to gaming. So we have splitted it into two configuration variables INCLUDE_VULKAN and INCLUDE_CODEXL. Signed-off-by: Adeel Arshad <adeel_arshad@mentor.com>
2016-11-11vulkan-loader-layers: fix segfault on vulkaninfoAwais Belal
The vulkaninfo command segfaults if the DISPLAY environment variable is not set because it uses xlib and xcb interfaces which in a way that assumes availability of the said variable. We now explicitly check such scenarios to avoid segfaulting and provide user with a bit of detail. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-08machine.conf: allow for modifications through customer layersAwais Belal
The machine configuration now includes a config fragment that can be provided through customer layers. This will help in situations where a variable can only be touched through conf files rather than recipes one such example is the SERIAL_CONSOLES variable. Also pick up APPEND_ADDITIONAL which can be passed through the same customer layer for flexibility. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-07linux-yocto: fix QA warningsAwais Belal
Fixes warnings printed out during kernel_configcheck phase regarding CONFIG_BT_6LOWPAN and CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-01Merge pull request #359 from drewmoseley/drm-cleanupDrew Moseley
libdrm: Cleanup libdrm recipes
2016-11-01libdrm: Cleanup libdrm recipesDrew Moseley
Move libdrm recipe into the common layer. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-10-28amdfalconx86.conf: drop amd_gnb_bus auto loadingAwais Belal
The AMD_GNB_BUS was available under kernel 4.1 which has been dropped during the upgrade to 4.4 so the auto loading mechnism is not required anymore. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-27glslang: add to nativesdkAwais Belal
The glslangValidator is required for application development on the host through CodeBench. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-25lunarg-sdk: update all components to SDK version 1.0.26Awais Belal
This updates all the components of LunarG SDK to version 1.0.26 from 1.0.21 and adjusts patches/configurations to cater the updated bits. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-21conf: specify serial console prior to vga consoleAwais Belal
As a best practise the serial consoles should be provided earlier on the kernel command line than the vga consoles because the last console is used for taking user input and is mapped to /dev/console. Using it differently can break things at places where conflicting/incorrect serial drivers can generate a kernel panic in such a scenario. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-17vulkan-loader-layers: update demo namesAwais Belal
Same name of demos are available under mesa-demos package so we rename here just to avoid any conflicts and make both set of demos available on hte target. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14linux-yocto/rt: consolidate common settings where possibleAwais Belal
This consolidates common settings between standard and RT type kernel across the BSPs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14SE/BE: move to 4.4 kernelAwais Belal
This commit does a few things which cannot be separated easily so it cannot be split in to separate commits. * Drops all 4.1 kernel bits. * Moves all common patches from meta-amdfalconx86 to common. * Moves SE/BE builds to 4.4 kernel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14linux-yocto-rt: enable 4.4 kernel for amdfalconx86Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-13add amdgpu.cg_mask and amdgpu.pg_mask parameters disable EDCSanjay R Mehta
2016-10-05libdrm vulkan supportSanjay R Mehta
2016-10-03amdgpu vulkan supportSanjay R Mehta
2016-09-20Merge pull request #348 from abelal/gaming_compsMichael Powell
amdfalconx86: provide mechanism for enabling gaming components
2016-09-20Merge pull request #335 from drewmoseley/multimedia-licensesAwais Belal
multimedia: Add more license files for commercial multimedia
2016-09-20amdfalconx86: provide mechanism for enabling gaming componentsAwais Belal
The newly added LunarG SDK components require a mechanism to be pushed to target RootFS as well as to the ADE that is being generated. The same inclusion handling should be made available for any other gaming components such as CodeXL that are integrated. We now define a packagegroup (packagegroup-gaming) to implement this mechanism and provide a variable in local.conf for amdfalconx86 to enable these components. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-09-16Merge pull request #343 from abelal/add_lunargsdk_componentsDrew Moseley
Add LunarG SDK components