diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-05-19 23:59:35 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-06-16 14:04:57 +1000 |
commit | 3c66c87dc96b3113b5ee84604800c2aabbb48994 (patch) | |
tree | 78ccda009a1493c3af1426ce615e98bb3ce8e9f7 /drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h | |
parent | drm/nouveau/disp/gf119-: port OR DP VCPI control to nvkm_ior (diff) | |
download | linux-dev-3c66c87dc96b3113b5ee84604800c2aabbb48994.tar.xz linux-dev-3c66c87dc96b3113b5ee84604800c2aabbb48994.zip |
drm/nouveau/disp: remove hw-specific customisation of output paths
All of the necessary hw-specific logic is now handled at the output
resource level, so all of this can go away.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h index edd416c62d3e..34e58b70a394 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h @@ -8,7 +8,6 @@ #include <subdev/bios/dp.h> struct nvkm_dp { - const struct nvkm_output_dp_func *func; union { struct nvkm_outp base; struct nvkm_outp outp; @@ -32,28 +31,10 @@ struct nvkm_dp { #define nvkm_output_dp nvkm_dp -struct nvkm_output_dp_func { -}; - int nvkm_output_dp_train(struct nvkm_output *, u32 rate); -int nvkm_output_dp_new_(const struct nvkm_output_dp_func *, struct nvkm_disp *, - int index, struct dcb_output *, struct nvkm_output **); - -int nv50_pior_dp_new(struct nvkm_disp *, int, struct dcb_output *, - struct nvkm_output **); - -int g94_sor_dp_new(struct nvkm_disp *, int, struct dcb_output *, - struct nvkm_output **); - -int gf119_sor_dp_new(struct nvkm_disp *, int, struct dcb_output *, - struct nvkm_output **); - -int gm107_sor_dp_new(struct nvkm_disp *, int, struct dcb_output *, - struct nvkm_output **); - -int gm200_sor_dp_new(struct nvkm_disp *, int, struct dcb_output *, - struct nvkm_output **); +int nvkm_dp_new(struct nvkm_disp *, int index, struct dcb_output *, + struct nvkm_outp **); /* DPCD Receiver Capabilities */ #define DPCD_RC00_DPCD_REV 0x00000 |