]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b33dc453dc88f68c99dcf6e834a50c7f4e0acd1
treee68364041a6f034466abd7d309d79e54802f9450
parent4aca947aa8c294d5171e1519c4244f8385fbca3f
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