Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

Where does dprintf(INFO...) or dprintf(CRITICAL...) go in Android LK

$
0
0

I'm working on a project that is using an Intrinsyc OpenQ-2500 development kit. The kit uses an APQ8909W snapdragon processor, which is running a modified version of Oreo 8.1.

I'm attempting to bring up a new 2-lane MIPI display we've connected. I've roughly followed the steps outlined in one of Intrinsycs display porting guide: https://developer.qualcomm.com/download/db410c/dsi-display-porting-guide-linux-android.pdf

This has been unsuccesful and we are know debugging. In one of the files that required configuring for the new display there are some dprintf() lines as shown below:

if (panel_override_id < 0) {    dprintf(CRITICAL, "Not able to search the panel:%s\n",                panel_name);} else if (panel_override_id < UNKNOWN_PANEL) {    /* panel override using fastboot oem command */    panel_id = panel_override_id;    dprintf(INFO, "OEM panel override:%s\n",            panel_name);    goto panel_init;}

As I understand it INFO or CRITICAL is a debug level, according to debug.h:

#if defined(DEBUG)#define DEBUGLEVEL DEBUG#else#define DEBUGLEVEL 2#endif/*debug levels*/#define CRITICAL 0#define ALWAYS 0#define INFO 1#define SPEW 2

Can anyone tell me where the actual output of the dprintf() would be directed to?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>