提交 e9522309 编写于 作者: E Eric Bernstein 提交者: Alex Deucher

drm/amd/display: Add num_opp to resource_caps

Number of OPPs to be instantiated is based on number
of timing generators, not number of pipes.
Signed-off-by: NEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 12036586
...@@ -417,6 +417,7 @@ static const struct dce110_clk_src_mask cs_mask = { ...@@ -417,6 +417,7 @@ static const struct dce110_clk_src_mask cs_mask = {
static const struct resource_caps res_cap = { static const struct resource_caps res_cap = {
.num_timing_generator = 4, .num_timing_generator = 4,
.num_opp = 4,
.num_video_plane = 4, .num_video_plane = 4,
.num_audio = 4, .num_audio = 4,
.num_stream_encoder = 4, .num_stream_encoder = 4,
......
...@@ -38,6 +38,7 @@ enum dce_version resource_parse_asic_id( ...@@ -38,6 +38,7 @@ enum dce_version resource_parse_asic_id(
struct resource_caps { struct resource_caps {
int num_timing_generator; int num_timing_generator;
int num_opp;
int num_video_plane; int num_video_plane;
int num_audio; int num_audio;
int num_stream_encoder; int num_stream_encoder;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册