drm: Check for a NULL encoder when reverting on error path
We need to skip the connectors with a NULL encoder to match the success path and avoid an OOPS. Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk> Signed-off-by: NEric Anholt <eric@anholt.net> Signed-off-by: NDave Airlie <airlied@linux.ie>
Showing
想要评论请 注册 或 登录