drm: add encoder / get encoder to the modesetting resources interface