diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-23 03:23:21 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-08 18:31:10 -0500 |
commit | 40bacf1631a3e8654b1128aa9b72e73ca801c9e4 (patch) | |
tree | 9d4dc63b4dfb124203335dd4e541c657417960ce /drivers/gpu/drm/radeon/radeon.h | |
parent | 5a6f98f5bff7f975c61d56b5c756b5a96c4db167 (diff) |
drm/radeon/kms: add support for hw i2c on r1xx-r5xx
wire hw i2c support into radeon i2c algo.
fixes merged:
- handle bus probing correctly
- use meaningful error numbers
- abort if transaction fails
- The line mapping is different depending on the asic.
- protect hw i2c engine with a mutex
- rs300 doesn't have a pin select bit
- r200 has a different pin select setup
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index f57480ba1355..88113f756ab7 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -829,6 +829,7 @@ struct radeon_device { | |||
829 | struct r600_ih ih; /* r6/700 interrupt ring */ | 829 | struct r600_ih ih; /* r6/700 interrupt ring */ |
830 | struct workqueue_struct *wq; | 830 | struct workqueue_struct *wq; |
831 | struct work_struct hotplug_work; | 831 | struct work_struct hotplug_work; |
832 | struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */ | ||
832 | 833 | ||
833 | /* audio stuff */ | 834 | /* audio stuff */ |
834 | struct timer_list audio_timer; | 835 | struct timer_list audio_timer; |