This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM65X: Android HW composer DPI calculation

Part Number: PROCESSOR-SDK-AM65X

Hello,

I am curious about why Android's HW composer uses htotal and vtotal for calculating display DPI rather than hdisplay and vdisplay. In my understanding, the calculation is using the active area measurements (mmWidth and mmHeight) and a mm-to-in conversion which means the formula should be using the active area resolution. Is my understanding unsound or is there a bug in the following code?

http://git.ti.com/cgit/cgit.cgi/android/hardware-ti-am57x.git/commit/?h=d-pie-core-release&id=b9d1ef4713bab0ead7b0eacaa3d1e3f94469135d

Thanks,
Matt McKee