mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
drm/amd/display: Clean FPGA code in dc
[Why] Drop dead code for Linux. [How] Remove all IS_FPGA_MAXIMUS_DC and IS_DIAG_DC Reviewed-by: Ariel Bernstein <eric.bernstein@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
7e60ab4eb3
commit
25879d7b49
@@ -1513,10 +1513,7 @@ static bool dcn301_resource_construct(
|
||||
|
||||
if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
|
||||
dc->debug = debug_defaults_drv;
|
||||
else if (dc->ctx->dce_environment == DCE_ENV_FPGA_MAXIMUS) {
|
||||
dc->debug = debug_defaults_diags;
|
||||
} else
|
||||
dc->debug = debug_defaults_diags;
|
||||
|
||||
// Init the vm_helper
|
||||
if (dc->vm_helper)
|
||||
vm_helper_init(dc->vm_helper, 16);
|
||||
@@ -1710,9 +1707,8 @@ static bool dcn301_resource_construct(
|
||||
|
||||
/* Audio, Stream Encoders including HPO and virtual, MPC 3D LUTs */
|
||||
if (!resource_construct(num_virtual_links, dc, &pool->base,
|
||||
(!IS_FPGA_MAXIMUS_DC(dc->ctx->dce_environment) ?
|
||||
&res_create_funcs : &res_create_maximus_funcs)))
|
||||
goto create_fail;
|
||||
&res_create_funcs))
|
||||
goto create_fail;
|
||||
|
||||
/* HW Sequencer and Plane caps */
|
||||
dcn301_hw_sequencer_construct(dc);
|
||||
|
||||
Reference in New Issue
Block a user