[PATCH 1/2] drm/hibmc: Drop best_encoder
Noralf Trønnes
noralf at tronnes.org
Thu Feb 28 13:16:03 UTC 2019
Den 21.02.2019 16.58, skrev Daniel Vetter:
> This is the default for atomic drivers.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Cc: Neil Armstrong <narmstrong at baylibre.com>
> Cc: Luc Van Oostenryck <luc.vanoostenryck at gmail.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> ---
Acked-by: Noralf Trønnes <noralf at tronnes.org>
> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c
> index d2cf7317930a..8c2f9b9cafb3 100644
> --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c
> +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c
> @@ -33,17 +33,10 @@ static enum drm_mode_status hibmc_connector_mode_valid(struct drm_connector *con
> return MODE_OK;
> }
>
> -static struct drm_encoder *
> -hibmc_connector_best_encoder(struct drm_connector *connector)
> -{
> - return drm_encoder_find(connector->dev, NULL, connector->encoder_ids[0]);
> -}
> -
> static const struct drm_connector_helper_funcs
> hibmc_connector_helper_funcs = {
> .get_modes = hibmc_connector_get_modes,
> .mode_valid = hibmc_connector_mode_valid,
> - .best_encoder = hibmc_connector_best_encoder,
> };
>
> static const struct drm_connector_funcs hibmc_connector_funcs = {
>
More information about the dri-devel
mailing list