drm: rcar-du: Hardcode encoders types to DRM_MODE_ENCODER_NONE
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 7 Oct 2016 14:39:21 +0000 (17:39 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 14:04:04 +0000 (17:04 +0300)
commit381ddfe478871588af95548aaecb6698009c3d6b
treee68364041a6f034466abd7d309d79e54802f9450
parent5c602531feb3db3926cdd76dda89314f0634c9e7
drm: rcar-du: Hardcode encoders types to DRM_MODE_ENCODER_NONE

Unlike the connector type, the encoder type is unused by userspace. As
it is equally unused in the driver, except in a single location where
the connector type can be used instead, hardcode it to
DRM_MODE_ENCODER_NONE. This allow removing all code that tries to
determine (unsuccessfully in case a bridge is used) the encoder type.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_encoder.h
drivers/gpu/drm/rcar-du/rcar_du_kms.c