updates for 16 and 18 bit display panels

Signed-off-by: Stephano Cetola <scetola@reachtech.com>