diff options
author | 2018-04-09 16:15:20 -0400 | |
---|---|---|
committer | 2018-05-15 13:43:27 -0500 | |
commit | f0c0761b38ac30b04d4fed436ff10e894ec0e525 (patch) | |
tree | 249089d8013df231ae3935f411c84d637cc5f87f /drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h | |
parent | drm/amd/display: add missing colorspace for set black color (diff) | |
download | linux-dev-f0c0761b38ac30b04d4fed436ff10e894ec0e525.tar.xz linux-dev-f0c0761b38ac30b04d4fed436ff10e894ec0e525.zip |
drm/amd/display: Use dig enable to determine fast boot optimization.
Linux doesn't know lid state, better to check dig enable
value from register.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/display/dc/inc/hw/link_encoder.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h b/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h index 54d8a1386142..cf6df2e7beb2 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h @@ -149,6 +149,7 @@ struct link_encoder_funcs { bool connect); void (*enable_hpd)(struct link_encoder *enc); void (*disable_hpd)(struct link_encoder *enc); + bool (*is_dig_enabled)(struct link_encoder *enc); void (*destroy)(struct link_encoder **enc); }; |