drm/i915: Add new helper to return current attached encoder for connector
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 30 Mar 2010 06:39:29 +0000 (14:39 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 9 Apr 2010 21:16:38 +0000 (14:16 -0700)
commitf1c79df3aa2eda4756ddfe976f2eb5aa6507a35a
treef35a68c04b3e99d5e15241e9f79d8083035a342a
parent5daa55eba7d7219616423c6955e90a8f196294a5
drm/i915: Add new helper to return current attached encoder for connector

For introducing splitted encoder/connector structure, this helper will return
connector's attached encoder when needed.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h