OSDN Git Service

drm/amd/display: Fix incorrect vba type
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Thu, 16 May 2019 18:33:14 +0000 (14:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:13 +0000 (09:34 -0500)
SwathWidthCThisState is expected to be an unsigned int array.

Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h

index faf33e7..0347f74 100644 (file)
@@ -633,7 +633,7 @@ struct vba_vars_st {
        bool           LinkDSCEnable;
        bool           ODMCombine4To1SupportCheckOK[DC__VOLTAGE_STATES + 1];
        bool ODMCombineEnableThisState[DC__NUM_DPP__MAX];
-       double         SwathWidthCThisState[DC__NUM_DPP__MAX];
+       unsigned int   SwathWidthCThisState[DC__NUM_DPP__MAX];
        bool           ViewportSizeSupportPerPlane[DC__NUM_DPP__MAX];
        double         AlignedDCCMetaPitchY[DC__NUM_DPP__MAX];
        double         AlignedDCCMetaPitchC[DC__NUM_DPP__MAX];