summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core/dc.c
diff options
context:
space:
mode:
authorRoman Li <Roman.Li@amd.com>2017-12-13 17:29:01 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:19 -0500
commit63b024c86974f7cc03fc9b8d780408218c347f8b (patch)
treef0e1c2d141424104939e6e90ccd3470d840ecc30 /drivers/gpu/drm/amd/display/dc/core/dc.c
parent42e67c3b3c4a2fee4d32cecec6e7a612b97ec13f (diff)
downloadlinux-63b024c86974f7cc03fc9b8d780408218c347f8b.tar.bz2
drm/amd/display: cleanup after FBC init rework
After reworking FBC init for dynamic mem alloc old FBC init code in DC became redundant. Removing it. Signed-off-by: Roman Li <Roman.Li@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/core/dc.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 35e84ed031de..59ad71a8ced0 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -359,9 +359,6 @@ static bool construct(struct dc *dc,
dc_version = resource_parse_asic_id(init_params->asic_id);
dc_ctx->dce_version = dc_version;
-#if defined(CONFIG_DRM_AMD_DC_FBC)
- dc->ctx->fbc_gpu_addr = init_params->fbc_gpu_addr;
-#endif
/* Resource should construct all asic specific resources.
* This should be the only place where we need to parse the asic id
*/