From: Dmytro Laktyushkin <Dmytro.Laktyushkin@xxxxxxx> 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