[PATCH 32/76] drm/amd/dal: Remove adapter service dependency in power_down
Harry Wentland
harry.wentland at amd.com
Mon Nov 21 23:00:52 UTC 2016
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
index 670d7f3987d0..fef7bc4c33cb 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
@@ -1360,7 +1360,7 @@ void dce110_link_encoder_disable_output(
struct bp_transmitter_control cntl = { 0 };
enum bp_result result;
- if (!is_dig_enabled(enc110) &&
+ if (!is_dig_enabled(enc110) && enc110->base.adapter_service &&
dal_adapter_service_should_optimize(
enc110->base.adapter_service,
OF_SKIP_POWER_DOWN_INACTIVE_ENCODER)) {
--
2.10.1
More information about the amd-gfx
mailing list