summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-10-30 09:57:05 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2019-10-30 12:18:32 +0800
commit5a52d5ccd7675383903cdefa7074084ef98e9334 (patch)
tree34cac542b736b51d79c49217d380df6361930fa2 /recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
parent570be75f9a840df4c27cda825ef95a0409a285a5 (diff)
downloadmeta-intel-5a52d5ccd7675383903cdefa7074084ef98e9334.tar.gz
gma500-gfx-check: remove
This is a check to avoid loading gma500 module on certain older hardware using 32 bit BSP where gma was claiming ownership of graphics when it shouldn't have. The platforms for which this was added aren't supported anymore so remove. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh')
-rw-r--r--recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh b/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
deleted file mode 100644
index 75cda99f..00000000
--- a/recipes-bsp/gma500-gfx-check/gma500-gfx-check/gma500-gfx-check.sh
+++ /dev/null
@@ -1,15 +0,0 @@
1#!/bin/sh
2
3# Check for devices we wish to avoid gma500_gfx for
4DEVICES="0x8119 0x4108"
5
6# Checked flag to avoid infinite modprobe
7echo "gma500_gfx_checked" >> /dev/kmsg;
8
9for DEVICE in $DEVICES; do
10 if udevadm trigger --subsystem-match=pci --verbose --attr-match=device=$DEVICE | grep "pci" >> /dev/null ; then
11 echo "Found $DEVICE, avoiding gma500_gfx module" >> /dev/kmsg;
12 exit 0
13 fi
14done
15exit 1