diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-08-02 11:29:37 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 08:09:56 +0200 |
commit | 10b461e40a5a5522fe996805a0625c9cd4e5c1a7 (patch) | |
tree | 4000f3922cb3218950fa8cc89cb85bfe1869f3c3 /drivers/gpu/drm/nouveau/nouveau_encoder.h | |
parent | drm/nouveau/backlight: make more consistent with rest of driver style (diff) | |
download | linux-10b461e40a5a5522fe996805a0625c9cd4e5c1a7.tar.xz linux-10b461e40a5a5522fe996805a0625c9cd4e5c1a7.zip |
drm/nv50/backlight: take the sor into account when bashing regs
I'm sure that out there somewhere, someone will need this. We currently
haven't seen an example of LVDS being on a non-0 SOR so far though.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_encoder.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_encoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_encoder.h b/drivers/gpu/drm/nouveau/nouveau_encoder.h index 2bb316d2421c..70f0232558ff 100644 --- a/drivers/gpu/drm/nouveau/nouveau_encoder.h +++ b/drivers/gpu/drm/nouveau/nouveau_encoder.h @@ -57,6 +57,9 @@ struct nouveau_encoder { }; }; +struct nouveau_encoder * +find_encoder(struct drm_connector *connector, int type); + static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) { struct drm_encoder_slave *slave = to_encoder_slave(enc); |