sysdrv/source/kernel/drivers/staging : Disable partial logging of fbtft

Signed-off-by: eng29 <eng29@luckfox.com>
This commit is contained in:
eng29 2025-03-03 21:05:32 +08:00
parent 9e25cab822
commit c17c36092b
2 changed files with 8 additions and 5 deletions

View File

@ -292,9 +292,9 @@ static void fbtft_update_display(struct fbtft_par *par, unsigned int start_line,
throughput = throughput ? (len * 1000) / throughput : 0;
throughput = throughput * 1000 / 1024;
dev_info(par->info->device,
"Display update: %ld kB/s, fps=%ld\n",
throughput, fps);
// dev_info(par->info->device,
// "Display update: %ld kB/s, fps=%ld\n",
// throughput, fps);
par->first_update_done = true;
}
}

View File

@ -407,7 +407,7 @@ do { \
dev_info(dev, format, ##arg); \
} while (0)
#define fbtft_par_dbg(level, par, format, arg...) \
/*#define fbtft_par_dbg(level, par, format, arg...) \
do { \
if (unlikely((par)->debug & (level))) \
dev_info((par)->info->device, format, ##arg); \
@ -418,6 +418,9 @@ do { \
if (unlikely((par)->debug & (level))) \
fbtft_dbg_hex(dev, sizeof(type), buf,\
(num) * sizeof(type), format, ##arg); \
} while (0)
} while (0)*/
#define fbtft_par_dbg(level, par, format, arg...) ;
#define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) ;
#endif /* __LINUX_FBTFT_H */