diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-14 11:12:21 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-14 11:12:21 +0100 |
commit | c71ab584e9562af23cf2a7600ecdde837dc9a918 (patch) | |
tree | 6148d43d45be40cb4ca8a824023ccca6885ca2ec /strata/libdrm-common | |
parent | da43378f60293a8ee4611a7b4c05525c41ba2ab2 (diff) | |
download | definitions-sam/ruamel-patch-1.tar.gz |
Migrations with ruamel.yaml after my first blank lines patchsam/ruamel-patch-1
Change-Id: I59f47b5c970dc415c96c7ad4cc943a0f11098ad2
Diffstat (limited to 'strata/libdrm-common')
-rw-r--r-- | strata/libdrm-common/drm.morph | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/strata/libdrm-common/drm.morph b/strata/libdrm-common/drm.morph index a614a831..4b0bdcc1 100644 --- a/strata/libdrm-common/drm.morph +++ b/strata/libdrm-common/drm.morph @@ -4,12 +4,14 @@ build-system: autotools pre-configure-commands: # Tegra requires a new coherent BO attribute, not currently upstream, so # patch it here - - sed -i '/NOUVEAU_GEM_DOMAIN_MAPPABLE (1 << 3)/a#define NOUVEAU_GEM_DOMAIN_COHERENT (1 << 4)' include/drm/nouveau_drm.h + - sed -i '/NOUVEAU_GEM_DOMAIN_MAPPABLE (1 << 3)/a#define NOUVEAU_GEM_DOMAIN_COHERENT (1 + << 4)' include/drm/nouveau_drm.h - | sed -i '/info->domain |= NOUVEAU_GEM_DOMAIN_MAPPABLE;/a\ if (bo->flags & NOUVEAU_BO_COHERENT)\ info->domain |= NOUVEAU_GEM_DOMAIN_COHERENT;' nouveau/abi16.c - - sed -i '/NOUVEAU_BO_NOSNOOP 0x20000000/a#define NOUVEAU_BO_COHERENT 0x10000000' nouveau/nouveau.h + - sed -i '/NOUVEAU_BO_NOSNOOP 0x20000000/a#define NOUVEAU_BO_COHERENT 0x10000000' + nouveau/nouveau.h configure-commands: - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix="$PREFIX" --enable-tegra-experimental-api --enable-freedreno-experimental-api +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --enable-tegra-experimental-api --enable-freedreno-experimental-api |