nouveau/headers: Mark vk_push_print as cold
Reviewed-by: Mary Guillemard <mary@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37475>
This commit is contained in:
@@ -149,9 +149,9 @@ __${nvcl}_${mthd.name}(uint32_t *val_out, struct nv_${nvcl.lower()}_${mthd.name}
|
||||
|
||||
%endfor
|
||||
|
||||
const char *P_PARSE_${nvcl}_MTHD(uint16_t idx);
|
||||
const char *P_PARSE_${nvcl}_MTHD(uint16_t idx) ATTRIBUTE_COLD;
|
||||
void P_DUMP_${nvcl}_MTHD_DATA(FILE *fp, uint16_t idx, uint32_t data,
|
||||
const char *prefix);
|
||||
const char *prefix) ATTRIBUTE_COLD;
|
||||
""")
|
||||
|
||||
TEMPLATE_C = Template("""\
|
||||
|
||||
@@ -60,7 +60,7 @@ static inline void nv_push_validate(struct nv_push *push) { }
|
||||
#endif
|
||||
|
||||
void vk_push_print(FILE *fp, const struct nv_push *push,
|
||||
const struct nv_device_info *devinfo);
|
||||
const struct nv_device_info *devinfo) ATTRIBUTE_COLD;
|
||||
|
||||
#define SUBC_NV9097 0
|
||||
#define SUBC_NVA097 0
|
||||
|
||||
Reference in New Issue
Block a user