mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 06:22:40 -04:00
drm/amd/display: Refactor DCN4x and related code
[why & how] Refactor existing code related to DCN4x for better code sharing with other modules. Reviewed-by: Charlene Liu <charlene.liu@amd.com> Signed-off-by: Swapnil Patel <Swapnil.Patel@amd.com> Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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
f6d17270d1
commit
02a2793ab2
@@ -33,7 +33,6 @@
|
||||
#include "dml2_dc_resource_mgmt.h"
|
||||
#include "dml21_wrapper.h"
|
||||
|
||||
|
||||
static void initialize_dml2_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_params_st *out)
|
||||
{
|
||||
if (dml2->config.use_native_soc_bb_construction)
|
||||
@@ -792,7 +791,7 @@ bool dml2_create(const struct dc *in_dc, const struct dml2_configuration_options
|
||||
// TODO : Temporarily add DCN_VERSION_3_2 for N-1 validation. Remove DCN_VERSION_3_2 after N-1 validation phase is complete.
|
||||
if ((in_dc->debug.using_dml21)
|
||||
&& (in_dc->ctx->dce_version == DCN_VERSION_4_01
|
||||
))
|
||||
))
|
||||
return dml21_create(in_dc, dml2, config);
|
||||
|
||||
// Allocate Mode Lib Ctx
|
||||
|
||||
Reference in New Issue
Block a user