浏览代码

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>
Roman Li 7 年之前
父节点
当前提交
63b024c869
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 3
      drivers/gpu/drm/amd/display/dc/core/dc.c
  2. 0 3
      drivers/gpu/drm/amd/display/dc/dc.h

+ 0 - 3
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_version = resource_parse_asic_id(init_params->asic_id);
 	dc_ctx->dce_version = dc_version;
 	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.
 	/* Resource should construct all asic specific resources.
 	 * This should be the only place where we need to parse the asic id
 	 * This should be the only place where we need to parse the asic id
 	 */
 	 */

+ 0 - 3
drivers/gpu/drm/amd/display/dc/dc.h

@@ -288,9 +288,6 @@ struct dc_init_data {
 
 
 	struct dc_config flags;
 	struct dc_config flags;
 	uint32_t log_mask;
 	uint32_t log_mask;
-#if defined(CONFIG_DRM_AMD_DC_FBC)
-	uint64_t fbc_gpu_addr;
-#endif
 };
 };
 
 
 struct dc *dc_create(const struct dc_init_data *init_params);
 struct dc *dc_create(const struct dc_init_data *init_params);