mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: rename _lvp to l_vp
Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ee76592482
commit
51f2af1d83
|
@ -937,7 +937,7 @@ static unsigned int CalculateVMAndRowBytes(
|
|||
*MetaRowByte = 0;
|
||||
}
|
||||
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_lvp) {
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_l_vp) {
|
||||
MacroTileSizeBytes = 256;
|
||||
MacroTileHeight = BlockHeight256Bytes;
|
||||
} else if (SurfaceTiling == dm_sw_4kb_s || SurfaceTiling == dm_sw_4kb_s_x
|
||||
|
@ -3348,7 +3348,7 @@ void dml20_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
|
|||
== dm_420_10))
|
||||
|| (((mode_lib->vba.SurfaceTiling[k] == dm_sw_gfx7_2d_thin_gl
|
||||
|| mode_lib->vba.SurfaceTiling[k]
|
||||
== dm_sw_gfx7_2d_thin_lvp)
|
||||
== dm_sw_gfx7_2d_thin_l_vp)
|
||||
&& !((mode_lib->vba.SourcePixelFormat[k]
|
||||
== dm_444_64
|
||||
|| mode_lib->vba.SourcePixelFormat[k]
|
||||
|
|
|
@ -997,7 +997,7 @@ static unsigned int CalculateVMAndRowBytes(
|
|||
*MetaRowByte = 0;
|
||||
}
|
||||
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_lvp) {
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_l_vp) {
|
||||
MacroTileSizeBytes = 256;
|
||||
MacroTileHeight = BlockHeight256Bytes;
|
||||
} else if (SurfaceTiling == dm_sw_4kb_s || SurfaceTiling == dm_sw_4kb_s_x
|
||||
|
@ -3385,7 +3385,7 @@ void dml20v2_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode
|
|||
== dm_420_10))
|
||||
|| (((mode_lib->vba.SurfaceTiling[k] == dm_sw_gfx7_2d_thin_gl
|
||||
|| mode_lib->vba.SurfaceTiling[k]
|
||||
== dm_sw_gfx7_2d_thin_lvp)
|
||||
== dm_sw_gfx7_2d_thin_l_vp)
|
||||
&& !((mode_lib->vba.SourcePixelFormat[k]
|
||||
== dm_444_64
|
||||
|| mode_lib->vba.SourcePixelFormat[k]
|
||||
|
|
|
@ -1338,7 +1338,7 @@ static unsigned int CalculateVMAndRowBytes(
|
|||
*MetaRowByte = 0;
|
||||
}
|
||||
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_lvp) {
|
||||
if (SurfaceTiling == dm_sw_linear || SurfaceTiling == dm_sw_gfx7_2d_thin_gl || SurfaceTiling == dm_sw_gfx7_2d_thin_l_vp) {
|
||||
MacroTileSizeBytes = 256;
|
||||
MacroTileHeight = BlockHeight256Bytes;
|
||||
} else if (SurfaceTiling == dm_sw_4kb_s || SurfaceTiling == dm_sw_4kb_s_x
|
||||
|
@ -3453,7 +3453,7 @@ void dml21_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
|
|||
== dm_420_10))
|
||||
|| (((mode_lib->vba.SurfaceTiling[k] == dm_sw_gfx7_2d_thin_gl
|
||||
|| mode_lib->vba.SurfaceTiling[k]
|
||||
== dm_sw_gfx7_2d_thin_lvp)
|
||||
== dm_sw_gfx7_2d_thin_l_vp)
|
||||
&& !((mode_lib->vba.SourcePixelFormat[k]
|
||||
== dm_444_64
|
||||
|| mode_lib->vba.SourcePixelFormat[k]
|
||||
|
|
|
@ -85,7 +85,7 @@ enum dm_swizzle_mode {
|
|||
dm_sw_var_s_x = 29,
|
||||
dm_sw_var_d_x = 30,
|
||||
dm_sw_64kb_r_x,
|
||||
dm_sw_gfx7_2d_thin_lvp,
|
||||
dm_sw_gfx7_2d_thin_l_vp,
|
||||
dm_sw_gfx7_2d_thin_gl,
|
||||
};
|
||||
enum lb_depth {
|
||||
|
|
Loading…
Reference in New Issue