Revision f492c171a38d77fc13a8998a0721f2da50835224 authored by Christian König on 13 September 2012, 08:33:47 UTC, committed by Alex Deucher on 13 September 2012, 20:17:49 UTC
Only increase the higher 32bits if we really detect a wrap around.

v2: instead of increasing the higher 32bits just use the higher
    32bits from the last emitted fence.
v3: also use last emitted fence value as upper limit.

The intention of this patch is to make fences as robust as
they where before introducing 64bit fences. This is
necessary because on older systems it looks like the fence
value gets corrupted on initialization.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=51344

Should also fix:
https://bugs.freedesktop.org/show_bug.cgi?id=54129
https://bugs.freedesktop.org/show_bug.cgi?id=54662
https://bugzilla.redhat.com/show_bug.cgi?id=846505
https://bugzilla.redhat.com/show_bug.cgi?id=845639

3.5 needs a separate patch due to changes in the
fence code.  Will send that out separately.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 985f61f
Raw File
Kconfig
# ALSA Sparc drivers

menuconfig SND_SPARC
	bool "Sparc sound devices"
	depends on SPARC
	default y
	help
	  Support for sound devices specific to Sun SPARC architectures.

if SND_SPARC

config SND_SUN_AMD7930
	tristate "Sun AMD7930"
	depends on SBUS
	select SND_PCM
	help
	  Say Y here to include support for AMD7930 sound device on Sun.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-sun-amd7930.

config SND_SUN_CS4231
	tristate "Sun CS4231"
	select SND_PCM
	help
	  Say Y here to include support for CS4231 sound device on Sun.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-sun-cs4231.

config SND_SUN_DBRI
	tristate "Sun DBRI"
	depends on SBUS
	select SND_PCM
	help
	  Say Y here to include support for DBRI sound device on Sun.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-sun-dbri.

endif	# SND_SPARC
back to top