* [PATCH 01/11] drm/amd/dal/dc: remove unused function
@ 2016-11-22 16:57 Alex Deucher
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c
index 7fdce9b..612a7bb 100644
--- a/drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c
+++ b/drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c
@@ -3662,12 +3662,6 @@ static void bios_parser_post_init(struct dc_bios *dcb)
process_ext_display_connection_info(bp);
}
-static bool bios_parser_is_accelerated_mode(
- struct dc_bios *dcb)
-{
- bios_is_accelerated_mode(dcb);
-}
-
/**
* bios_parser_set_scratch_critical_state
*
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 02/11] drm/amd/dal/dc: fix warnings in dce_stream_encoder.c
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c Alex Deucher
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c
index 93ce496..7c92396 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c
@@ -223,12 +223,7 @@ static void dce110_stream_encoder_dp_set_stream_attribute(
struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space)
{
- uint32_t h_active_start;
- uint32_t v_active_start;
uint32_t misc0;
- uint32_t misc1;
- uint32_t h_blank;
- uint32_t h_back_porch;
struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc);
/* set pixel encoding */
@@ -435,8 +430,6 @@ static void dce110_stream_encoder_set_mst_bandwidth(
struct fixed31_32 avg_time_slots_per_mtp)
{
struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc);
- struct dc_context *ctx = enc110->base.ctx;
- uint32_t retries = 0;
uint32_t x = dal_fixed31_32_floor(
avg_time_slots_per_mtp);
uint32_t y = dal_fixed31_32_ceil(
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-11-22 16:57 ` [PATCH 02/11] drm/amd/dal/dc: fix warnings in dce_stream_encoder.c Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
[not found] ` <1479833848-14275-3-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-11-22 16:57 ` [PATCH 04/11] drm/amd/dal/dc: fix bug in dal_display_clock_get_min_clocks_state Alex Deucher
` (7 subsequent siblings)
9 siblings, 1 reply; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
index 968d418..15a4531 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
@@ -964,7 +964,6 @@ bool dce110_link_encoder_construct(
const struct dce110_link_enc_aux_registers *aux_regs,
const struct dce110_link_enc_hpd_registers *hpd_regs)
{
- struct graphics_object_encoder_cap_info enc_cap_info = {0};
enc110->base.funcs = &dce110_lnk_enc_funcs;
enc110->base.ctx = init_data->ctx;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 04/11] drm/amd/dal/dc: fix bug in dal_display_clock_get_min_clocks_state
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-11-22 16:57 ` [PATCH 02/11] drm/amd/dal/dc: fix warnings in dce_stream_encoder.c Alex Deucher
2016-11-22 16:57 ` [PATCH 03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 05/11] drm/amd/dal/dc: fix warning in dal_display_clock_dce112_construct Alex Deucher
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Missing return.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c b/drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c
index 4929cd2..bcc0a51 100644
--- a/drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c
+++ b/drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c
@@ -118,7 +118,7 @@ bool dal_display_clock_get_min_clocks_state(
enum clocks_state *clocks_state)
{
if (!disp_clk->funcs->get_min_clocks_state)
- false;
+ return false;
*clocks_state = disp_clk->funcs->get_min_clocks_state(disp_clk);
return true;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 05/11] drm/amd/dal/dc: fix warning in dal_display_clock_dce112_construct
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (2 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 04/11] drm/amd/dal/dc: fix bug in dal_display_clock_get_min_clocks_state Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 06/11] drm/amd/dal/dc: fix warning in dce110_hw_sequencer.c Alex Deucher
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c b/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
index 600a09c..e819725 100644
--- a/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
+++ b/drivers/gpu/drm/amd/dal/dc/gpu/dce112/display_clock_dce112.c
@@ -843,7 +843,6 @@ bool dal_display_clock_dce112_construct(
struct display_clock_dce112 *dc112,
struct dc_context *ctx)
{
- struct dm_pp_static_clock_info *static_clk_info = {0};
struct display_clock *dc_base = &dc112->disp_clk_base;
/*if (NULL == as)
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 06/11] drm/amd/dal/dc: fix warning in dce110_hw_sequencer.c
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (3 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 05/11] drm/amd/dal/dc: fix warning in dal_display_clock_dce112_construct Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 07/11] drm/amd/dal/dc: fix warning in dce110_resource.c Alex Deucher
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
index ef00588..c500788 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
@@ -1158,7 +1158,6 @@ static enum dc_status apply_ctx_to_hw_fpga(
{
enum dc_status status = DC_ERROR_UNEXPECTED;
int i;
- struct dc_bios *dcb = dc->ctx->dc_bios;
for (i = 0; i < context->res_ctx.pool->pipe_count; i++) {
struct pipe_ctx *pipe_ctx_old =
@@ -1411,7 +1410,6 @@ static void set_plane_config(
struct resource_context *res_ctx)
{
struct mem_input *mi = pipe_ctx->mi;
- struct dc_context *ctx = pipe_ctx->stream->ctx;
struct core_surface *surface = pipe_ctx->surface;
struct xfm_grph_csc_adjustment adjust;
struct out_csc_color_matrix tbl_entry;
@@ -1749,7 +1747,6 @@ static void dce110_program_front_end_for_pipe(
{
struct mem_input *mi = pipe_ctx->mi;
struct pipe_ctx *old_pipe = NULL;
- struct dc_context *ctx = pipe_ctx->stream->ctx;
struct core_surface *surface = pipe_ctx->surface;
struct xfm_grph_csc_adjustment adjust;
struct out_csc_color_matrix tbl_entry;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 07/11] drm/amd/dal/dc: fix warning in dce110_resource.c
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (4 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 06/11] drm/amd/dal/dc: fix warning in dce110_hw_sequencer.c Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 08/11] drm/amd/dal/dc: fix include order in dce80_resource.c Alex Deucher
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c
index f9cebc9..4db8c4d 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c
@@ -1238,7 +1238,6 @@ static bool construct(
struct firmware_info info;
struct dc_bios *bp;
struct dm_pp_static_clock_info static_clk_info = {0};
- struct resource_straps straps = {0};
ctx->dc_bios->regs = &bios_regs;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 08/11] drm/amd/dal/dc: fix include order in dce80_resource.c
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (5 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 07/11] drm/amd/dal/dc: fix warning in dce110_resource.c Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 09/11] drm/amd/dal/dc: handle NULL mem_input in dc_init_dchub Alex Deucher
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Fixes redefinition warnings
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c b/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
index 3de4030..99b8182 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
@@ -23,6 +23,8 @@
*
*/
+#include "dce/dce_8_0_d.h"
+#include "dce/dce_8_0_sh_mask.h"
#include "dm_services.h"
@@ -51,9 +53,6 @@
#include "reg_helper.h"
-#include "dce/dce_8_0_d.h"
-#include "dce/dce_8_0_sh_mask.h"
-
/* TODO remove this include */
#ifndef mmDP_DPHY_INTERNAL_CTRL
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 09/11] drm/amd/dal/dc: handle NULL mem_input in dc_init_dchub
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (6 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 08/11] drm/amd/dal/dc: fix include order in dce80_resource.c Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 10/11] drm/amd/dal/dc: fix warning in dc_link_dp_set_test_pattern Alex Deucher
2016-11-22 16:57 ` [PATCH 11/11] drm/amd/dal/dc: fix warning in calculate_bandwidth Alex Deucher
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Fail gracefully if mem_input is NULL.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/core/dc.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c
index 7636fc6..106f60f 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c
@@ -1808,7 +1808,7 @@ bool dc_init_dchub(struct dc *dc, struct dchub_init_data *dh_data)
{
int i;
struct core_dc *core_dc = DC_TO_CORE(dc);
- struct mem_input *mi;
+ struct mem_input *mi = NULL;
for (i = 0; i < core_dc->res_pool->pipe_count; i++) {
if (core_dc->res_pool->mis[i] != NULL) {
@@ -1816,6 +1816,10 @@ bool dc_init_dchub(struct dc *dc, struct dchub_init_data *dh_data)
break;
}
}
+ if (mi == NULL) {
+ dm_error("no mem_input!\n");
+ return false;
+ }
if (mi->funcs->mem_input_update_dchub)
mi->funcs->mem_input_update_dchub(mi, dh_data);
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 10/11] drm/amd/dal/dc: fix warning in dc_link_dp_set_test_pattern
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (7 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 09/11] drm/amd/dal/dc: handle NULL mem_input in dc_init_dchub Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
2016-11-22 16:57 ` [PATCH 11/11] drm/amd/dal/dc: fix warning in calculate_bandwidth Alex Deucher
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
index 2b0b23a..2585ec3 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
@@ -2309,6 +2309,7 @@ bool dc_link_dp_set_test_pattern(
unsigned char link_qual_pattern[LANE_COUNT_DP_MAX] = {0};
union dpcd_training_pattern training_pattern;
union test_response test_response;
+ enum dpcd_phy_test_patterns pattern;
memset(&training_pattern, 0, sizeof(training_pattern));
memset(&test_response, 0, sizeof(test_response));
@@ -2376,8 +2377,6 @@ bool dc_link_dp_set_test_pattern(
p_link_settings);
}
- enum dpcd_phy_test_patterns pattern;
-
switch (test_pattern) {
case DP_TEST_PATTERN_VIDEO_MODE:
pattern = PHY_TEST_PATTERN_NONE;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 11/11] drm/amd/dal/dc: fix warning in calculate_bandwidth
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (8 preceding siblings ...)
2016-11-22 16:57 ` [PATCH 10/11] drm/amd/dal/dc: fix warning in dc_link_dp_set_test_pattern Alex Deucher
@ 2016-11-22 16:57 ` Alex Deucher
9 siblings, 0 replies; 12+ messages in thread
From: Alex Deucher @ 2016-11-22 16:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
index 0dbe47d..0b2bb39 100644
--- a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
+++ b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
@@ -39,7 +39,6 @@ static void calculate_bandwidth(
{
const int32_t pixels_per_chunk = 512;
- const int32_t max_chunks_non_fbc_mode = 16;
const int32_t high = 2;
const int32_t mid = 1;
const int32_t low = 0;
@@ -51,7 +50,6 @@ static void calculate_bandwidth(
const uint32_t s_mid5 = 5;
const uint32_t s_mid6 = 6;
const uint32_t s_high = 7;
- const uint32_t vertical_front_porch = 450; /*us*/
const uint32_t bus_efficiency = 1;
const uint32_t dmif_chunk_buff_margin = 1;
--
2.5.5
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c
[not found] ` <1479833848-14275-3-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
@ 2016-11-22 17:01 ` Christian König
0 siblings, 0 replies; 12+ messages in thread
From: Christian König @ 2016-11-22 17:01 UTC (permalink / raw)
To: Alex Deucher, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Am 22.11.2016 um 17:57 schrieb Alex Deucher:
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> index 968d418..15a4531 100644
> --- a/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> +++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c
> @@ -964,7 +964,6 @@ bool dce110_link_encoder_construct(
> const struct dce110_link_enc_aux_registers *aux_regs,
> const struct dce110_link_enc_hpd_registers *hpd_regs)
> {
> - struct graphics_object_encoder_cap_info enc_cap_info = {0};
>
This new line is probably superfluous now as well.
With this fixed the set is Reviewed-by: Christian König
<christian.koenig@amd.com>.
Regards,
Christian.
> enc110->base.funcs = &dce110_lnk_enc_funcs;
> enc110->base.ctx = init_data->ctx;
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2016-11-22 17:01 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22 16:57 [PATCH 01/11] drm/amd/dal/dc: remove unused function Alex Deucher
[not found] ` <1479833848-14275-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-11-22 16:57 ` [PATCH 02/11] drm/amd/dal/dc: fix warnings in dce_stream_encoder.c Alex Deucher
2016-11-22 16:57 ` [PATCH 03/11] drm/amd/dal/dc: fix warning in dce_link_encoder.c Alex Deucher
[not found] ` <1479833848-14275-3-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-11-22 17:01 ` Christian König
2016-11-22 16:57 ` [PATCH 04/11] drm/amd/dal/dc: fix bug in dal_display_clock_get_min_clocks_state Alex Deucher
2016-11-22 16:57 ` [PATCH 05/11] drm/amd/dal/dc: fix warning in dal_display_clock_dce112_construct Alex Deucher
2016-11-22 16:57 ` [PATCH 06/11] drm/amd/dal/dc: fix warning in dce110_hw_sequencer.c Alex Deucher
2016-11-22 16:57 ` [PATCH 07/11] drm/amd/dal/dc: fix warning in dce110_resource.c Alex Deucher
2016-11-22 16:57 ` [PATCH 08/11] drm/amd/dal/dc: fix include order in dce80_resource.c Alex Deucher
2016-11-22 16:57 ` [PATCH 09/11] drm/amd/dal/dc: handle NULL mem_input in dc_init_dchub Alex Deucher
2016-11-22 16:57 ` [PATCH 10/11] drm/amd/dal/dc: fix warning in dc_link_dp_set_test_pattern Alex Deucher
2016-11-22 16:57 ` [PATCH 11/11] drm/amd/dal/dc: fix warning in calculate_bandwidth Alex Deucher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.