drm: Add drm_bridge
authorSean Paul <seanpaul@chromium.org>
Wed, 14 Aug 2013 20:47:37 +0000 (16:47 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Sep 2013 00:23:26 +0000 (10:23 +1000)
commit3b336ec4c5460833ad7573d0b6e22793f6a389ab
treed82b0a12cc700203203d1236197a25b2c12967be
parent2254f637dbd18f6432da526552d19a616ffbf8d6
drm: Add drm_bridge

This patch adds the notion of a drm_bridge. A bridge is a chained
device which hangs off an encoder. The drm driver using the bridge
should provide the association between encoder and bridge. Once a
bridge is associated with an encoder, it will participate in mode
set, and dpms (via the enable/disable hooks).

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc.h