diff options
author | Aric Cyr <aric.cyr@amd.com> | 2016-12-29 15:27:12 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:09:40 -0400 |
commit | ab2541b67395088b9de8ebf3943ef9ef86bccc41 (patch) | |
tree | c4f25d2560d5f619d8a151f65c43a99f86592267 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | 624d7c4708b27be2dc095579394efadd80f090dd (diff) |
drm/amd/display: Remove dc_target object
dc_target does not fit well into DRM framework so removed it.
This will prevent the driver from leveraging the pipe-split
code for tiled displays, so will have to be handled at a higher
level. Most places that used dc_target now directly use dc_stream
instead.
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 3a3adfa16ada..0d92126b4c4a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |||
@@ -428,8 +428,8 @@ struct amdgpu_crtc { | |||
428 | 428 | ||
429 | int otg_inst; | 429 | int otg_inst; |
430 | uint32_t flip_flags; | 430 | uint32_t flip_flags; |
431 | /* After Set Mode target will be non-NULL */ | 431 | /* After Set Mode stream will be non-NULL */ |
432 | struct dc_target *target; | 432 | const struct dc_stream *stream; |
433 | }; | 433 | }; |
434 | 434 | ||
435 | struct amdgpu_encoder_atom_dig { | 435 | struct amdgpu_encoder_atom_dig { |
@@ -550,7 +550,7 @@ struct amdgpu_connector { | |||
550 | const struct dc_sink *dc_sink; | 550 | const struct dc_sink *dc_sink; |
551 | const struct dc_link *dc_link; | 551 | const struct dc_link *dc_link; |
552 | const struct dc_sink *dc_em_sink; | 552 | const struct dc_sink *dc_em_sink; |
553 | const struct dc_target *target; | 553 | const struct dc_stream *stream; |
554 | void *con_priv; | 554 | void *con_priv; |
555 | bool dac_load_detect; | 555 | bool dac_load_detect; |
556 | bool detected_by_load; /* if the connection status was determined by load */ | 556 | bool detected_by_load; /* if the connection status was determined by load */ |