diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index b9e9e8b02fb7..11723d8fffbd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |||
| @@ -57,7 +57,6 @@ struct amdgpu_hpd; | |||
| 57 | #define to_amdgpu_connector(x) container_of(x, struct amdgpu_connector, base) | 57 | #define to_amdgpu_connector(x) container_of(x, struct amdgpu_connector, base) |
| 58 | #define to_amdgpu_encoder(x) container_of(x, struct amdgpu_encoder, base) | 58 | #define to_amdgpu_encoder(x) container_of(x, struct amdgpu_encoder, base) |
| 59 | #define to_amdgpu_framebuffer(x) container_of(x, struct amdgpu_framebuffer, base) | 59 | #define to_amdgpu_framebuffer(x) container_of(x, struct amdgpu_framebuffer, base) |
| 60 | #define to_amdgpu_plane(x) container_of(x, struct amdgpu_plane, base) | ||
| 61 | 60 | ||
| 62 | #define to_dm_plane_state(x) container_of(x, struct dm_plane_state, base); | 61 | #define to_dm_plane_state(x) container_of(x, struct dm_plane_state, base); |
| 63 | 62 | ||
| @@ -325,7 +324,7 @@ struct amdgpu_mode_info { | |||
| 325 | struct card_info *atom_card_info; | 324 | struct card_info *atom_card_info; |
| 326 | bool mode_config_initialized; | 325 | bool mode_config_initialized; |
| 327 | struct amdgpu_crtc *crtcs[AMDGPU_MAX_CRTCS]; | 326 | struct amdgpu_crtc *crtcs[AMDGPU_MAX_CRTCS]; |
| 328 | struct amdgpu_plane *planes[AMDGPU_MAX_PLANES]; | 327 | struct drm_plane *planes[AMDGPU_MAX_PLANES]; |
| 329 | struct amdgpu_afmt *afmt[AMDGPU_MAX_AFMT_BLOCKS]; | 328 | struct amdgpu_afmt *afmt[AMDGPU_MAX_AFMT_BLOCKS]; |
| 330 | /* DVI-I properties */ | 329 | /* DVI-I properties */ |
| 331 | struct drm_property *coherent_mode_property; | 330 | struct drm_property *coherent_mode_property; |
| @@ -434,11 +433,6 @@ struct amdgpu_crtc { | |||
| 434 | struct drm_pending_vblank_event *event; | 433 | struct drm_pending_vblank_event *event; |
| 435 | }; | 434 | }; |
| 436 | 435 | ||
| 437 | struct amdgpu_plane { | ||
| 438 | struct drm_plane base; | ||
| 439 | enum drm_plane_type plane_type; | ||
| 440 | }; | ||
| 441 | |||
| 442 | struct amdgpu_encoder_atom_dig { | 436 | struct amdgpu_encoder_atom_dig { |
| 443 | bool linkb; | 437 | bool linkb; |
| 444 | /* atom dig */ | 438 | /* atom dig */ |
