drm/radeon/kms: rework encoder handling