Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Clean up errors in clearstate_si.h

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

Signed-off-by: chenxuebing <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

chenxuebing and committed by
Alex Deucher
ac4d654f 762343f7

+8 -16
+8 -16
drivers/gpu/drm/amd/amdgpu/clearstate_si.h
··· 21 21 * 22 22 */ 23 23 24 - static const u32 si_SECT_CONTEXT_def_1[] = 25 - { 24 + static const u32 si_SECT_CONTEXT_def_1[] = { 26 25 0x00000000, // DB_RENDER_CONTROL 27 26 0x00000000, // DB_COUNT_CONTROL 28 27 0x00000000, // DB_DEPTH_VIEW ··· 235 236 0x00000000, // PA_SC_VPORT_ZMIN_15 236 237 0x3f800000, // PA_SC_VPORT_ZMAX_15 237 238 }; 238 - static const u32 si_SECT_CONTEXT_def_2[] = 239 - { 239 + static const u32 si_SECT_CONTEXT_def_2[] = { 240 240 0x00000000, // CP_PERFMON_CNTX_CNTL 241 241 0x00000000, // CP_RINGID 242 242 0x00000000, // CP_VMID ··· 509 511 0x00000000, // CB_BLEND6_CONTROL 510 512 0x00000000, // CB_BLEND7_CONTROL 511 513 }; 512 - static const u32 si_SECT_CONTEXT_def_3[] = 513 - { 514 + static const u32 si_SECT_CONTEXT_def_3[] = { 514 515 0x00000000, // PA_CL_POINT_X_RAD 515 516 0x00000000, // PA_CL_POINT_Y_RAD 516 517 0x00000000, // PA_CL_POINT_SIZE ··· 517 520 0x00000000, // VGT_DMA_BASE_HI 518 521 0x00000000, // VGT_DMA_BASE 519 522 }; 520 - static const u32 si_SECT_CONTEXT_def_4[] = 521 - { 523 + static const u32 si_SECT_CONTEXT_def_4[] = { 522 524 0x00000000, // DB_DEPTH_CONTROL 523 525 0x00000000, // DB_EQAA 524 526 0x00000000, // CB_COLOR_CONTROL ··· 676 680 0x00000000, // VGT_GS_OUT_PRIM_TYPE 677 681 0x00000000, // IA_ENHANCE 678 682 }; 679 - static const u32 si_SECT_CONTEXT_def_5[] = 680 - { 683 + static const u32 si_SECT_CONTEXT_def_5[] = { 681 684 0x00000000, // VGT_PRIMITIVEID_EN 682 685 }; 683 - static const u32 si_SECT_CONTEXT_def_6[] = 684 - { 686 + static const u32 si_SECT_CONTEXT_def_6[] = { 685 687 0x00000000, // VGT_PRIMITIVEID_RESET 686 688 }; 687 - static const u32 si_SECT_CONTEXT_def_7[] = 688 - { 689 + static const u32 si_SECT_CONTEXT_def_7[] = { 689 690 0x00000000, // VGT_MULTI_PRIM_IB_RESET_EN 690 691 0, // HOLE 691 692 0, // HOLE ··· 917 924 0x00000000, // CB_COLOR7_CLEAR_WORD0 918 925 0x00000000, // CB_COLOR7_CLEAR_WORD1 919 926 }; 920 - static const struct cs_extent_def si_SECT_CONTEXT_defs[] = 921 - { 927 + static const struct cs_extent_def si_SECT_CONTEXT_defs[] = { 922 928 {si_SECT_CONTEXT_def_1, 0x0000a000, 212 }, 923 929 {si_SECT_CONTEXT_def_2, 0x0000a0d8, 272 }, 924 930 {si_SECT_CONTEXT_def_3, 0x0000a1f5, 6 },