[PATCH 08/76] drm/amd/dal: fix dc creation
Harry Wentland
harry.wentland at amd.com
Mon Nov 21 23:00:28 UTC 2016
From: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
drivers/gpu/drm/amd/dal/dc/core/dc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c
index ad4884a6f98d..a65950bf771b 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c
@@ -557,8 +557,8 @@ static bool construct(struct core_dc *dc,
/* Create GPIO service */
dc_ctx->gpio_service = dal_gpio_service_create(
dc_version,
- as->dce_environment,
- as->ctx);
+ dc_ctx->dce_environment,
+ dc_ctx);
if (!dc_ctx->gpio_service) {
ASSERT_CRITICAL(false);
--
2.10.1
More information about the amd-gfx
mailing list