drm: simple_kms_helper: make connector optional at init time
authorAndrea Merello <andrea.merello@gmail.com>
Thu, 25 Aug 2016 09:04:33 +0000 (11:04 +0200)
committerArchit Taneja <architt@codeaurora.org>
Mon, 29 Aug 2016 03:43:52 +0000 (09:13 +0530)
commit4f993973d274151975a59f50dc509ca6598be501
treea99b6118bf95f5e72f0b8ceea9c4c321176ee90c
parentcf3bef95e1014233cb1ce89da8cfa5cd22e7412c
drm: simple_kms_helper: make connector optional at init time

drm_simple_display_pipe_init() pretends to attach a connector
to the display pipe.

In case a drm bridge has to be used, then it's the bridge that
takes care of connectors.

This patch makes the connector parameter optional for
drm_simple_display_pipe_init(), so that a drm bridge could
handle connector by itself later.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1472115874-6219-2-git-send-email-andrea.merello@gmail.com
drivers/gpu/drm/drm_simple_kms_helper.c