drm/nouveau: store i2c port pointer directly in nouveau_encoder
authorBen Skeggs <bskeggs@redhat.com>
Mon, 11 Feb 2013 10:15:03 +0000 (20:15 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:56 +0000 (16:00 +1000)
commit5ed502096f698b978c12a435f04be5afb195b485
treefcf757a36ab027728b47f7cb87a981db54a684a3
parentdf3ef6a1091fbdfb57306b0205edef33a1f1dcb4
drm/nouveau: store i2c port pointer directly in nouveau_encoder

This is about to become somewhat more complicated to determine in a
number of cases, so store the "common" case (DDC/AUX) directly inside
the encoder structure.

Pre-nv50 code not touched except to fill the pointer, don't care.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_dp.c
drivers/gpu/drm/nouveau/nouveau_encoder.h
drivers/gpu/drm/nouveau/nv04_display.c
drivers/gpu/drm/nouveau/nv50_display.c