12 Nov, 2014
1 commit
-
While developing MST support I noticed I often got the wrong data
back from a transaction, in a racy fashion. I noticed the scratch
space wasn't locked against concurrent users.Based on a patch by Alex, but I've made it a bit more obvious when
things are locked.Signed-off-by: Dave Airlie
Signed-off-by: Alex Deucher
Cc: stable@vger.kernel.org
02 Jun, 2014
1 commit
-
The i2c and aux buses use the same pads so add
a mutex to protect access to the pads.Signed-off-by: Alex Deucher
Signed-off-by: Christian König
08 Jan, 2014
1 commit
-
Move prototype declaration of function radeon_atom_copy_swap() to header
file drm/radeon/radeon_mode.h because it is used by more than one file.This eliminates the following warnings in drm/radeon/atombios_dp.c:
drivers/gpu/drm/radeon/atombios_dp.c:53:6: warning: no previous prototype for ‘radeon_atom_copy_swap’ [-Wmissing-prototypes]Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
Signed-off-by: Alex Deucher
05 Dec, 2013
1 commit
-
When probing the bus, we need to set the byte count
to 0 rather than 1.v2: Don't count the first byte.
bug:
https://bugzilla.kernel.org/show_bug.cgi?id=66241Signed-off-by: Alex Deucher
Cc: stable@vger.kernel.org
16 Nov, 2013
1 commit
-
Useless to count the register index in number of bytes we are writing.
Fixes a regression with hw i2c enabled.
Signed-off-by: Jerome Glisse
Signed-off-by: Alex Deucher
Cc: stable@vger.kernel.org
31 Aug, 2013
2 commits
-
These fixes make writes work properly. Previously
only reads worked. Note that this feature is off
by default.Signed-off-by: Alex Deucher
-
Need to swap the data fetched over i2c properly. This
is the same fix as the endian fix for aux channel
transactions.Signed-off-by: Alex Deucher
Cc: stable@vger.kernel.org
03 Oct, 2012
1 commit
-
Convert #include "..." to #include in drivers/gpu/.
Signed-off-by: David Howells
Acked-by: Dave Airlie
Acked-by: Arnd Bergmann
Acked-by: Thomas Gleixner
Acked-by: Paul E. McKenney
Acked-by: Dave Jones
03 Feb, 2012
1 commit
-
Starting with DCE3 hardware, atom contains a general purpose
ProcessI2cChannelTransaction similar to ProcessAuxChannelTransaction.Add an implementation using the atom tables for DCE3+ hardware.
This should be a little less CPU intensive than bit banging and
may work better in certain cases.Enable it by setting the radeon hw_i2c module parameter to 1. E.g.,
radeon.hw_i2c=1
on the kernel command line in grub.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie