https://github.com/torvalds/linux
Revision c50f13f911b90a722308bffbf26187ff3890aa1e authored by Dave Airlie on 22 October 2015, 00:24:55 UTC, committed by Dave Airlie on 22 October 2015, 00:24:55 UTC
Just a crash fix for radeon and amdgpu if the user has forcibly disabled
dpm and tries to access the pwm sysfs controls.

* 'drm-fixes-4.3' of git://people.freedesktop.org/~agd5f/linux:
  drm/amdgpu: add missing dpm check for KV dpm late init
  drm/amdgpu/dpm: don't add pwm attributes if DPM is disabled
  drm/radeon/dpm: don't add pwm attributes if DPM is disabled
2 parent s c2a7558 + 677c884
Raw File
Tip revision: c50f13f911b90a722308bffbf26187ff3890aa1e authored by Dave Airlie on 22 October 2015, 00:24:55 UTC
Merge branch 'drm-fixes-4.3' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Tip revision: c50f13f
xen-hypercalls.sh
#!/bin/sh
out="$1"
shift
in="$@"

for i in $in; do
	eval $CPP $LINUXINCLUDE -dD -imacros "$i" -x c /dev/null
done | \
awk '$1 == "#define" && $2 ~ /__HYPERVISOR_[a-z][a-z_0-9]*/ { v[$3] = $2 }
	END {   print "/* auto-generated by scripts/xen-hypercall.sh */"
		for (i in v) if (!(v[i] in v))
			print "HYPERCALL("substr(v[i], 14)")"}' | sort -u >$out
back to top