P5100: move "DEVICE_RESOLUTION" to common