From bc992fc6cc810074e37acb03d66bed8a1097e3ad Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:12:00 -0600 Subject: [PATCH] nouveau/parser: Parse all fields in each method When converting to mako, the break got moved to the wrong spot and we were only parsing the first method. Now we parse them all. Part-of: --- src/nouveau/nvidia-headers/class_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/nvidia-headers/class_parser.py b/src/nouveau/nvidia-headers/class_parser.py index 633e642..8697833 100644 --- a/src/nouveau/nvidia-headers/class_parser.py +++ b/src/nouveau/nvidia-headers/class_parser.py @@ -203,8 +203,8 @@ P_DUMP_${nvcl}_MTHD_DATA(FILE *fp, uint16_t idx, uint32_t data, fprintf(fp, "(0x%x)${bs}n", parsed); %endif %endif - break; %endfor + break; %endfor default: fprintf(fp, "%s.VALUE = 0x%x${bs}n", prefix, data); -- 2.7.4