aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2022-06-01 20:46:25 +1000
committerDave Airlie <airlied@redhat.com>2022-07-27 09:05:45 +1000
commit7786fb366e598e984ee9307616b0c72979bd191c (patch)
tree63671893de5534e4828b0450c509def817cf8041 /drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h
parentdrm/nouveau/kms/nv50-: remove unused functions (diff)
downloadlinux-dev-7786fb366e598e984ee9307616b0c72979bd191c.tar.xz
linux-dev-7786fb366e598e984ee9307616b0c72979bd191c.zip
drm/nouveau/disp: collapse nvkm_dp into nvkm_outp
There should be no changes to code here other than modifying the dereferences. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Dave Airlie <airlied@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.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h
index 8e59dd469da6..1d86baa6a424 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h
@@ -1,41 +1,8 @@
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_DISP_DP_H__
#define __NVKM_DISP_DP_H__
-#define nvkm_dp(p) container_of((p), struct nvkm_dp, outp)
#include "outp.h"
-#include <core/notify.h>
-#include <subdev/bios.h>
-#include <subdev/bios/dp.h>
-
-struct nvkm_dp {
- struct nvkm_outp outp;
-
- struct nvbios_dpout info;
- u8 version;
-
- struct nvkm_i2c_aux *aux;
-
- struct nvkm_notify hpd;
- bool present;
- u8 lttpr[6];
- u8 lttprs;
- u8 dpcd[16];
-
- struct {
- int dpcd; /* -1, or index into SUPPORTED_LINK_RATES table */
- u32 rate;
- } rate[8];
- int rates;
- int links;
-
- struct mutex mutex;
- struct {
- atomic_t done;
- bool mst;
- } lt;
-};
-
int nvkm_dp_new(struct nvkm_disp *, int index, struct dcb_output *,
struct nvkm_outp **);
void nvkm_dp_disable(struct nvkm_outp *, struct nvkm_ior *);