#!/bin/sh
F="$1"
test -f "$F" || exit 0
sed -n -e '
/drm\|i915/ {
    s/^.[^]]*..//
    s/i915_bpo/i915/g
    p
}' "$F" > "$F"_drm
