mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
drm/amd/display: Move conn_state to header
We'll need it in amdgpu_dm_mst_types.c as well. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
2d7d273d22
commit
b3734397a0
@@ -1679,19 +1679,6 @@ static int dm_early_init(void *handle)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct dm_connector_state {
|
||||
struct drm_connector_state base;
|
||||
|
||||
enum amdgpu_rmx_type scaling;
|
||||
uint8_t underscan_vborder;
|
||||
uint8_t underscan_hborder;
|
||||
bool underscan_enable;
|
||||
struct mod_freesync_user_enable user_enable;
|
||||
};
|
||||
|
||||
#define to_dm_connector_state(x)\
|
||||
container_of((x), struct dm_connector_state, base)
|
||||
|
||||
static bool modeset_required(struct drm_crtc_state *crtc_state,
|
||||
struct dc_stream_state *new_stream,
|
||||
struct dc_stream_state *old_stream)
|
||||
|
||||
Reference in New Issue
Block a user