diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-11-23 18:02:35 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-07 19:22:42 -0500 |
commit | 4143e919ea999c9356ae4f71b5a3a80e075290d5 (patch) | |
tree | a73412bd65201398aa364146f70b35e1ea6b43bb /drivers/gpu/drm/radeon/radeon_mode.h | |
parent | 6a93cb250a60af1bb7b4070949f8546a2fdc52ef (diff) |
drm/radeon/kms: store sink type in atom dig connector
This will be used laster when the encoder and transmitters
are set up.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 1964afb94dbc..338d0af18510 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -339,8 +339,10 @@ struct radeon_encoder { | |||
339 | struct radeon_connector_atom_dig { | 339 | struct radeon_connector_atom_dig { |
340 | uint32_t igp_lane_info; | 340 | uint32_t igp_lane_info; |
341 | bool linkb; | 341 | bool linkb; |
342 | /* displayport */ | ||
342 | struct radeon_i2c_chan *dp_i2c_bus; | 343 | struct radeon_i2c_chan *dp_i2c_bus; |
343 | u8 dpcd[8]; | 344 | u8 dpcd[8]; |
345 | u8 dp_sink_type; | ||
344 | }; | 346 | }; |
345 | 347 | ||
346 | struct radeon_connector { | 348 | struct radeon_connector { |
@@ -364,7 +366,7 @@ struct radeon_framebuffer { | |||
364 | struct drm_gem_object *obj; | 366 | struct drm_gem_object *obj; |
365 | }; | 367 | }; |
366 | 368 | ||
367 | extern int radeon_dp_getsinktype(struct radeon_connector *radeon_connector); | 369 | extern u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector); |
368 | extern void radeon_dp_getdpcd(struct radeon_connector *radeon_connector); | 370 | extern void radeon_dp_getdpcd(struct radeon_connector *radeon_connector); |
369 | extern int radeon_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode, | 371 | extern int radeon_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode, |
370 | uint8_t write_byte, uint8_t *read_byte); | 372 | uint8_t write_byte, uint8_t *read_byte); |