drm/i915: Add interfaces to read out encoder/connector hw state