aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2018-05-10linux-yocto/4.9: fix bpf backports for spectre/meltdownAwais Belal
A commit was missed during backports which generates failure during build. This now picks that commit up as well and updates the series appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-09Merge pull request #521 from abelal/add_amdvlkWade Farnsworth
Add amdvlk for v1000
2018-04-19Merge pull request #517 from abelal/amd_spectre_kaiserWade Farnsworth
AMD Spectre/Meltdown Upstream backports
2018-04-18core-image-sato: deploy amdvlk conditionally for v1000Awais Belal
The AMD Vulkan ICD for v1000 is now integrated in the layer so deploy it whenever INCLUDE_VULKAN is set. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-12DRM/hotplug: fixed udev ruleArsalan H. Awan
The udev rule for hotplug was getting triggered multiple times at system boot-up even when there was no occurance of a hotplug event. This generates a huge stream of DRM events at startup, observable in kernel logs, resulting in system boot-up delays. This commit fixes the udev rule by making use of the HOTPLUG uevent environment variable that is set by the uevent drm_sysfs_hotplug_event generated by DRM sysfs class at the time of a hotplug: kernel_source/drivers/gpu/drm/drm_sysfs.c That way, the udev hotplug rule is only triggered at the time of a DRM hotplug, as it should. Fixes issue: INTAMDDET-2306 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-04-09Merge pull request #513 from abelal/dpdk_snowyWade Farnsworth
DPDK + Strongswan for Snowy Owl
2018-04-04linux-yocto_4.9: move upstream backports to common layerAwais Belal
This moves the upstream backports to the common layer and uses an append to apply these so the same could be used for other common changes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-03linux-yocto: move 4.9 recipe to commonAwais Belal
The kernel 4.9 recipe is being used for v1000 as well as snowyowl. Move the base recipe to common and then use appends for BSP overrides. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-30common: drop packages merged mistakenlyAwais Belal
This drops some packages which were merged unintentionally under https://github.com/MentorEmbedded/meta-amd/commit/2b7369b74af7b8c533fb061a5856ddb029ec0ff8 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29console-image: install strongswan for snowyowlAwais Belal
Install the strongswan package conditionally for the snowyowl BSP only. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29console-image: include dpdk components for snowyowlAwais Belal
This installs various dpdk components on the target RFS conditionally for snowyowl BSP only at the moment. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: fix deployment pathsAwais Belal
This forces the build system to deploy build artifacts such as examples and tests under /usr/share/dpdk/. Earlier the output would populate directly under /usr/share which is not very convenient for identifying what the package actually provides. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk/ccp/axgbe: fix shared libs buildAwais Belal
This fixes shared library builds for CCP and AXGBE drivers and provides a way of selecting the sort of build user requires however there are some caveats of using a shared mode build and this has been documented with the change. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: integrate support for AXGBE driverAwais Belal
This enables support for the AXGBE driver found on the snowyowl BSP. The patches have been backported from the upstream dpdk project. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: enable support for snowyowl and CCP driversAwais Belal
This enables the dpdk framework for the snowyowl BSP and backports the patches for the crypto hardware CCP from the main dpdk project. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-28mesa: enable dri3 for v1000Awais Belal
This enables dri3 under Mesa for v1000. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf68-config: fix various indentation issuesAwais Belal
Cleaned up indentation issues as the file was pretty messed up. The OE guidelines suggest using 4 spaces and no tabs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf86-config: enable TearFree for AMDGPUAwais Belal
This enables the Xorg TearFree option for the AMDGPU to cope with various tearing issues. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf86-config: provide generic mechanism to set Xorg configsAwais Belal
Various Xorg configs are needed to be set in different scenarios and can become painful when trying to configure one-by-one. This now provides a way to simply populate an array and use that to populate as many values as required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-05common/xrandr: fixed scale issueArsalan-Awan
Whenever scale value is increased when it is between 0.0 - 1.0 and is kept within 0.0 - 1.0 range, the display does not expand to fullscreen. It rather becomes smaller and leaves blank spaces on the right and bottom sides. And the following error message shows up: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 139 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 36 Current serial number in output stream: 38 Before xrandr attempts to apply the transformation matrix requested by "scale", "transform" or "scale-from" options, it disables the CRTCs for which the transformed image's dimensions are larger than the target display's resolution/mode. But, when the image is smaller, it does not disable the CRTCs, and proceeds with applying the transformation (involves framebuffer dimension changes). This works well for all the scale values and transitions except for the above mentioned transitions. This patch fixes such issues! Issue: INTAMDDET-2189 Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2018-02-28Merge pull request #507 from Arsalan-Awan/fixed-build-with-dbg-pkgsWade Farnsworth
Fixed build with EXTRA_IMAGE_FEATURES "dbg-pkgs"
2018-02-28amd-common-configurations.inc: set overhead to 1.1 to support dbg-pkgsArsalan-Awan
With dbg-pkgs added to EXTRA_IMAGE_FEATURES, build fails at do_bootimg with an error that ROOTFS_SIZE exceeds 4GB. Post install scripts and the package management system use disk space inside an overhead area (which defaults to "1.3"). We will reduce it to 1.1 to allow build with "dbg-pkgs". Otherwise ROOTFS_SIZE exceeds 4GB. (Not possible for FAT fs used for HDDIMG) where: ROOTFS_SIZE = (actual-rootfs-dir-size * overhead-factor) + rootfs-extra-space The following can be used to add extra available space in rootfs as required: IMAGE_ROOTFS_EXTRA_SPACE_append = " + <size-in-kilobytes>" Also, when using the above variable to add extra space, it may cause an error similar to this: The initramfs size 294088(K) overrides INITRAMFS_MAXSIZE: 131072(K) You can set INITRAMFS_MAXSIZE a larger value. Usually, it should be less than 1/2 of ram size, or you may fail to boot it. You may need to adjust INITRAMFS_MAXSIZE variable to fix that, or as a workaround, you could set it to an empty string, to avoid such error, as: INITRAMFS_MAXSIZE = "" Issue: INTAMDDET-2285 Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2018-02-27qemu: fix builds with recent glibcAwais Belal
This backports a fix for hosts using recent glibc, the support is backported from http://cgit.openembedded.org/openembedded-core/commit/?id=b1b7a46f0febe7ac17ec46ecdf88b4120a7d75c4 Upstream morty already has this fixed so we do a conditional backport for MEL releases. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-27fontconfig: Fix namespace conflicts with glibcAwais Belal
This is essentially a backport of http://cgit.openembedded.org/openembedded-core/commit/?id=7687234ff0f36ae943ca17624da9cdd8da0da83b for MEL releases so the patch is included conditionally. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-01-18libva: upgrade to 1.7.3Awais Belal
This upgrades libva to 1.7.3 to align with requirements. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-01-16boost: fix build failure due to pchAwais Belal
This backports http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-support/boost?id=9f30160f8623aebe8459e5b155d01397ff0f13b3 The failure occurs due to a race condition so it is hard to reproduce reliably but it is seen every now and then. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-29grub-efi: add RDEPENDS on efibootmgrAwais Belal
The grub-install mechanism for grub-efi requires efibootmgr at runtime so add a dependency accordingly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-10Merge pull request #479 from Arsalan-Awan/hotplug-multi-display-modesWade Farnsworth
Fixed display hotplug for single and multiple displays. Added MULTI_DISPLAY_MODE hotplug option.
2017-12-07Merge pull request #482 from abelal/va_vdpau_updateWade Farnsworth
v1000: libva and vdpau updates
2017-12-07vdpau: update libvdpau and vdpauinfoAwais Belal
This updates libvdpau to 1.1.1 and vdpauinfo to 1.0 so HEVC support can be enabled. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-06Fixed display hotplug for single and multiple displays.Arsalan-Awan
Added MULTI_DISPLAY_MODE option to set display mode across multiple displays when hotplug events occur. Allowed options for MULTI_DISPLAY_MODE are: * auto * mirrored * extended-h * extended-v Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2017-12-06snowyowl: fix build with an openssl enabled kernelAwais Belal
This fixes the build for all the components that fail when an openssl enabled kernel is used for the target where configurations such as CONFIG_MODULE_SIG are used. The fix should probably be submitted upstream. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-11-30libva: update to 1.7.0Awais Belal
This upgrades the libva and libva-gl packages to 1.7.0. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-11-29amd-common.inc: deploy gstreamer packages conditionallyAwais Belal
On images such as console-image or core-image-base where no x11 or GUI support is available we do not want to deploy the gst packages so make the inclusion conditional. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-20mesa: fix display corruption issues on PFAwais Belal
These set of patches resolve the display corruption issues on the PF platform where a garbled sato GUI and other artifacts are seen. Signed-off-by: Avinash M N <avimn@amd.com> Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-19Merge pull request #439 from abelal/grub_revertWade Farnsworth
Revert "amd-common-configurations: drop grub and parted"
2017-10-11remove unnecessary newlinesAwais Belal
Cosmetic change to remove unnecessary newlines in recipes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-11common: smbus-test: 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-11common: 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-07-19Mesa: Enable ARB_texture_float extension for Core ProfilesAhsan Hussain
ARB_texture_float is required to have OGL 3.0 and above contexts. It is disabled by default due to patent concerns, but since we had this enabled for amdfalconx86 I hope there's no problem enabling it for v1000 platform as well. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-06-29Revert "amd-common-configurations: drop grub and parted"Awais Belal
These are required for the dual-boot setup as well where grub is launched manually for installation. This reverts commit 37e12862f1886e2fc8f103ce108318c6b0fd4e39.
2017-06-16codexl: Revert "Output versioned libs"Ahsan Hussain
CodeXL graphics webserver code finds and loads custom libraries, used in frame analysis. It just doesn't expect them to have qualified sonames/version numbers. While this can be easily fixed in the code, these libs are installed under codexl install dir hierarchy, and not the standard lib path hence versioning of libraries and associated fix seems unlikely to be accepted upstream. Hence this reverts commit 601aeeaad2cc92a151c74f2c4e61c9f26f43eb6
2017-06-14common: improve llvm versioningAwais Belal
This is mainly targeted against master branch builds. Doing it now has the advantage that the change makes it in for any releases prior to moving to the master branch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-06-01core-image-sato: deploy Vulkan components for v1000Awais Belal
This allows the user to leverage the INCLUDE_VULKAN variable from local.conf and tell the build system to deploy the required Vulkan bits on the target. Enables support for v1000 machine. Signed-off-by: Awais Belal <awais_belal@mentor.com>
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-04-21kernel: Reverting refine pg code for gfx_v8.Sanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-21libdrm: Add vram memory info,Sanjay R Mehta
Add new seamaphore support, Add uvd instance info Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-21mesa: Fix for regression failureSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>