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_gfx9.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
05ec6231 2763da27

+9 -18
+9 -18
drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h
··· 21 21 * 22 22 */ 23 23 24 - static const unsigned int gfx9_SECT_CONTEXT_def_1[] = 25 - { 24 + static const unsigned int gfx9_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 unsigned int gfx9_SECT_CONTEXT_def_2[] = 239 - { 239 + static const unsigned int gfx9_SECT_CONTEXT_def_2[] = { 240 240 0x00000000, // PA_SC_SCREEN_EXTENT_CONTROL 241 241 0x00000000, // PA_SC_TILE_STEERING_OVERRIDE 242 242 0x00000000, // CP_PERFMON_CNTX_CNTL ··· 519 521 0x00000000, // CB_MRT6_EPITCH 520 522 0x00000000, // CB_MRT7_EPITCH 521 523 }; 522 - static const unsigned int gfx9_SECT_CONTEXT_def_3[] = 523 - { 524 + static const unsigned int gfx9_SECT_CONTEXT_def_3[] = { 524 525 0x00000000, // PA_CL_POINT_X_RAD 525 526 0x00000000, // PA_CL_POINT_Y_RAD 526 527 0x00000000, // PA_CL_POINT_SIZE 527 528 0x00000000, // PA_CL_POINT_CULL_RAD 528 529 }; 529 - static const unsigned int gfx9_SECT_CONTEXT_def_4[] = 530 - { 530 + static const unsigned int gfx9_SECT_CONTEXT_def_4[] = { 531 531 0x00000000, // DB_DEPTH_CONTROL 532 532 0x00000000, // DB_EQAA 533 533 0x00000000, // CB_COLOR_CONTROL ··· 684 688 0x00000000, // VGT_GS_OUT_PRIM_TYPE 685 689 0x00000000, // IA_ENHANCE 686 690 }; 687 - static const unsigned int gfx9_SECT_CONTEXT_def_5[] = 688 - { 691 + static const unsigned int gfx9_SECT_CONTEXT_def_5[] = { 689 692 0x00000000, // WD_ENHANCE 690 693 0x00000000, // VGT_PRIMITIVEID_EN 691 694 }; 692 - static const unsigned int gfx9_SECT_CONTEXT_def_6[] = 693 - { 695 + static const unsigned int gfx9_SECT_CONTEXT_def_6[] = { 694 696 0x00000000, // VGT_PRIMITIVEID_RESET 695 697 }; 696 - static const unsigned int gfx9_SECT_CONTEXT_def_7[] = 697 - { 698 + static const unsigned int gfx9_SECT_CONTEXT_def_7[] = { 698 699 0x00000000, // VGT_GS_MAX_PRIMS_PER_SUBGROUP 699 700 0x00000000, // VGT_DRAW_PAYLOAD_CNTL 700 701 0, // HOLE ··· 759 766 0x00000000, // VGT_STRMOUT_CONFIG 760 767 0x00000000, // VGT_STRMOUT_BUFFER_CONFIG 761 768 }; 762 - static const unsigned int gfx9_SECT_CONTEXT_def_8[] = 763 - { 769 + static const unsigned int gfx9_SECT_CONTEXT_def_8[] = { 764 770 0x00000000, // PA_SC_CENTROID_PRIORITY_0 765 771 0x00000000, // PA_SC_CENTROID_PRIORITY_1 766 772 0x00001000, // PA_SC_LINE_CNTL ··· 916 924 0x00000000, // CB_COLOR7_DCC_BASE 917 925 0x00000000, // CB_COLOR7_DCC_BASE_EXT 918 926 }; 919 - static const struct cs_extent_def gfx9_SECT_CONTEXT_defs[] = 920 - { 927 + static const struct cs_extent_def gfx9_SECT_CONTEXT_defs[] = { 921 928 {gfx9_SECT_CONTEXT_def_1, 0x0000a000, 212 }, 922 929 {gfx9_SECT_CONTEXT_def_2, 0x0000a0d6, 282 }, 923 930 {gfx9_SECT_CONTEXT_def_3, 0x0000a1f5, 4 },