summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include
diff options
context:
space:
mode:
authorIlia Mirkin2018-09-04 02:57:33 +0200
committerBen Skeggs2018-10-11 01:54:10 +0200
commit4126b99e744b7a29746e201e2be6644d2edf3c56 (patch)
treedca22fe1256aec7a017be0aa72bad7a13221a773 /drivers/gpu/drm/nouveau/include
parentdrm/nouveau: Start using new drm_dev initialization helpers (diff)
downloadkernel-qcow2-linux-4126b99e744b7a29746e201e2be6644d2edf3c56.tar.gz
kernel-qcow2-linux-4126b99e744b7a29746e201e2be6644d2edf3c56.tar.xz
kernel-qcow2-linux-4126b99e744b7a29746e201e2be6644d2edf3c56.zip
drm/nouveau/disp: add a way to configure scrambling/tmds for hdmi 2.0
High pixel clocks are required to use a 40 TMDS divider instead of 10, and even low ones may optionally use scrambling depending on device support. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/cl5070.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/cl5070.h b/drivers/gpu/drm/nouveau/include/nvif/cl5070.h
index 7cdf53615d7b..bced81987269 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/cl5070.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/cl5070.h
@@ -69,7 +69,10 @@ struct nv50_disp_sor_hdmi_pwr_v0 {
__u8 rekey;
__u8 avi_infoframe_length;
__u8 vendor_infoframe_length;
- __u8 pad06[2];
+#define NV50_DISP_SOR_HDMI_PWR_V0_SCDC_SCRAMBLE (1 << 0)
+#define NV50_DISP_SOR_HDMI_PWR_V0_SCDC_DIV_BY_4 (1 << 1)
+ __u8 scdc;
+ __u8 pad07[1];
};
struct nv50_disp_sor_lvds_script_v0 {