drm/amd/display: Fix various issues found by compiler warning as errors
[Why] Diagnostics team reported various issues found when enabling warnings as errors [How] Fix implicit conversions Signed-off-by: Eric Bernstein <eric.bernstein@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
acdac228c4
commit
47b0c91f29
@ -3681,7 +3681,7 @@ static void set_crtc_test_pattern(struct dc_link *link,
|
||||
struct pipe_ctx *odm_pipe;
|
||||
enum controller_dp_color_space controller_color_space;
|
||||
int opp_cnt = 1;
|
||||
int count;
|
||||
uint16_t count = 0;
|
||||
|
||||
switch (test_pattern_color_space) {
|
||||
case DP_TEST_PATTERN_COLOR_SPACE_RGB:
|
||||
|
@ -189,7 +189,7 @@ struct _vcs_dpi_ip_params_st {
|
||||
unsigned int min_vblank_lines;
|
||||
unsigned int dppclk_delay_subtotal;
|
||||
unsigned int dispclk_delay_subtotal;
|
||||
unsigned int dcfclk_cstate_latency;
|
||||
double dcfclk_cstate_latency;
|
||||
unsigned int dppclk_delay_scl;
|
||||
unsigned int dppclk_delay_scl_lb_only;
|
||||
unsigned int dppclk_delay_cnvc_formatter;
|
||||
|
@ -25,16 +25,15 @@
|
||||
#ifndef __DC_DWBC_H__
|
||||
#define __DC_DWBC_H__
|
||||
|
||||
#include "dal_types.h"
|
||||
#include "dc_hw_types.h"
|
||||
|
||||
|
||||
#define DWB_SW_V2 1
|
||||
#define DWB_MCIF_BUF_COUNT 4
|
||||
|
||||
/* forward declaration of mcif_wb struct */
|
||||
struct mcif_wb;
|
||||
|
||||
enum dce_version;
|
||||
|
||||
enum dwb_sw_version {
|
||||
dwb_ver_1_0 = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user