[PATCH 0/3] use encoder type to identify display