Displaying 20 results from an estimated 29 matches for "duallink".
2016 Apr 10
1
[PATCH] module parameters: permissions as defines, readable to everyone
...IRGRP\|S_IROTH' include/uapi/linux/stat.h
#define S_IRUSR 00400
#define S_IRGRP 00040
#define S_IROTH 00004
$ ls -l /sys/module/nouveau/parameters/
total 0
-r--r--r--. 1 root root 4096 Apr 10 17:43 config
-r--r--r--. 1 root root 4096 Apr 10 17:43 debug
-r--r--r--. 1 root root 4096 Apr 10 17:43 duallink
-r--r--r--. 1 root root 4096 Apr 10 17:43 hdmimhz
-r--r--r--. 1 root root 4096 Apr 10 17:43 ignorelid
-r--r--r--. 1 root root 4096 Apr 10 17:43 modeset
-r--r--r--. 1 root root 4096 Apr 10 17:43 noaccel
-r--r--r--. 1 root root 4096 Apr 10 17:43 nofbaccel
-r--r--r--. 1 root root 4096 Apr 10 17:43 run...
2016 Aug 02
0
[PATCH 0204/1285] Replace numeric parameter like 0444 with macro
...ram_named(tv_disable, nouveau_tv_disable, int, S_IRUSR);
MODULE_PARM_DESC(ignorelid, "Ignore ACPI lid status");
int nouveau_ignorelid = 0;
-module_param_named(ignorelid, nouveau_ignorelid, int, 0400);
+module_param_named(ignorelid, nouveau_ignorelid, int, S_IRUSR);
MODULE_PARM_DESC(duallink, "Allow dual-link TMDS (default: enabled)");
int nouveau_duallink = 1;
-module_param_named(duallink, nouveau_duallink, int, 0400);
+module_param_named(duallink, nouveau_duallink, int, S_IRUSR);
MODULE_PARM_DESC(hdmimhz, "Force a maximum HDMI pixel clock (in MHz)");
int nouv...
2020 Oct 09
1
[PATCH] drm/nouveau/kms: Fix NULL pointer dereference in nouveau_connector_detect_depth
...detect_depth+0x6b> (File Offset: 0xc866b)
c85e6: 48 85 c0 test %rax,%rax
c85e9: 75 29 jne c8614 <nouveau_connector_detect_depth+0x94> (File Offset: 0xc8694)
nv_connector->type == DCB_CONNECTOR_LVDS_SPWG)
duallink = ((u8 *)nv_connector->edid)[121] == 2;
else
duallink = mode->clock >= bios->fp.duallink_transition_clk;
if ((!duallink && (bios->fp.strapless_is_24bit & 1)) ||
c85eb: 8b 81 10 0d 00 00 mov 0xd10(%rcx),%eax
c85f1:...
2020 Oct 13
1
[PATCH v2] drm/nouveau/kms: Fix NULL pointer dereference in nouveau_connector_detect_depth
...detect_depth+0x6b> (File Offset: 0xc866b)
c85e6: 48 85 c0 test %rax,%rax
c85e9: 75 29 jne c8614 <nouveau_connector_detect_depth+0x94> (File Offset: 0xc8694)
nv_connector->type == DCB_CONNECTOR_LVDS_SPWG)
duallink = ((u8 *)nv_connector->edid)[121] == 2;
else
duallink = mode->clock >= bios->fp.duallink_transition_clk;
if ((!duallink && (bios->fp.strapless_is_24bit & 1)) ||
c85eb: 8b 81 10 0d 00 00 mov 0xd10(%rcx),%eax
c85f1:...
2009 Aug 16
2
[PATCH] drm/nv04: fix null pointer dereferences of native_mode
...C_FP_TG_CONTROL_WIDTH_12;
if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP &&
- nv_connector->native_mode->clock > 165000)
+ nv_encoder->mode.clock > 165000)
regp->fp_control |= (2 << 24);
if (nv_encoder->dcb->type == OUTPUT_LVDS) {
bool duallink, dummy;
@@ -315,7 +317,7 @@ static void nv04_dfp_mode_set(struct drm_encoder *encoder,
if (duallink)
regp->fp_control |= (8 << 28);
} else
- if (nv_connector->native_mode->clock > 165000)
+ if (nv_encoder->mode.clock > 165000)
regp->fp_control |= (8 << 2...
2014 Aug 18
0
[PATCH] drm: Display Nouveau boot options at launch
...ouveau_tv_disable = 0;
module_param_named(tv_disable, nouveau_tv_disable, int, 0400);
MODULE_PARM_DESC(ignorelid, "Ignore ACPI lid status");
-static int nouveau_ignorelid = 0;
+int nouveau_ignorelid = 0;
module_param_named(ignorelid, nouveau_ignorelid, int, 0400);
MODULE_PARM_DESC(duallink, "Allow dual-link TMDS (default: enabled)");
-static int nouveau_duallink = 1;
+int nouveau_duallink = 1;
module_param_named(duallink, nouveau_duallink, int, 0400);
struct nouveau_encoder *
diff --git a/drm/nouveau_connector.h b/drm/nouveau_connector.h
index 68029d0..629a380 100644
--...
2015 Nov 03
3
[PATCH 1/2] disp: activate dual link TMDS links only when possible
...ode,
switch (nv_encoder->dcb->type) {
case DCB_OUTPUT_TMDS:
if (nv_encoder->dcb->sorconf.link & 1) {
- if (mode->clock < 165000)
- proto = 0x1;
- else
- proto = 0x5;
+ proto = 0x1;
+ if (mode->clock >= 165000 &&
+ nv_encoder->dcb->duallink_possible)
+ proto |= 0x4;
} else {
proto = 0x2;
}
diff --git a/drm/nouveau/nvkm/engine/disp/gf119.c b/drm/nouveau/nvkm/engine/disp/gf119.c
index 186fd3a..8691b68 100644
--- a/drm/nouveau/nvkm/engine/disp/gf119.c
+++ b/drm/nouveau/nvkm/engine/disp/gf119.c
@@ -158,7 +158,7 @@ exec_clkcmp...
2011 Nov 06
0
[PATCH] drm/nouveau: add nouveau.vram_limit module option
...o be in VRAM");
int nouveau_vram_notify = 0;
module_param_named(vram_notify, nouveau_vram_notify, int, 0400);
+MODULE_PARM_DESC(vram_limit, "Limit size of VRAM (MB)");
+int nouveau_vram_limit = 0;
+module_param_named(vram_limit, nouveau_vram_limit, int, 0400);
+
MODULE_PARM_DESC(duallink, "Allow dual-link TMDS (>=GeForce 8)");
int nouveau_duallink = 1;
module_param_named(duallink, nouveau_duallink, int, 0400);
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 1fb7894..4b5d5aa 100644
--- a/drivers/gpu/drm/nouveau/nouveau_...
2016 Apr 11
0
[PATCH] nouveau: Switch perms from macros to octal notations, module params readable to everyone
...ule_param_named(tv_disable, nouveau_tv_disable, int, 0444);
MODULE_PARM_DESC(ignorelid, "Ignore ACPI lid status");
int nouveau_ignorelid = 0;
-module_param_named(ignorelid, nouveau_ignorelid, int, 0400);
+module_param_named(ignorelid, nouveau_ignorelid, int, 0444);
MODULE_PARM_DESC(duallink, "Allow dual-link TMDS (default: enabled)");
int nouveau_duallink = 1;
-module_param_named(duallink, nouveau_duallink, int, 0400);
+module_param_named(duallink, nouveau_duallink, int, 0444);
MODULE_PARM_DESC(hdmimhz, "Force a maximum HDMI pixel clock (in MHz)");
int nouveau...
2015 Nov 04
1
[PATCH v3 1/2] disp: activate dual link TMDS links only when possible
...proto = 0x5;
+ proto = 0x1;
+ /* Only enable dual-link if:
+ * - Need to (i.e. rate > 165MHz)
+ * - DCB says we can
+ * - Not an HDMI monitor, since there's no dual-link
+ * on HDMI.
+ */
+ if (mode->clock >= 165000 &&
+ nv_encoder->dcb->duallink_possible &&
+ !drm_detect_hdmi_monitor(nv_connector->edid))
+ proto |= 0x4;
} else {
proto = 0x2;
}
diff --git a/drm/nouveau/nvkm/engine/disp/gf119.c b/drm/nouveau/nvkm/engine/disp/gf119.c
index 186fd3a..f031466 100644
--- a/drm/nouveau/nvkm/engine/disp/gf119.c
+++ b/d...
2015 Nov 04
1
[PATCH v2 1/2] disp: activate dual link TMDS links only when possible
...i.e. rate > 165MHz)
+ * - Not an HDMI monitor, since there's no dual-link
+ * on HDMI. Of course in order to determine that,
+ * we need the EDID. So if no EDID, just let it
+ * slide.
+ */
+ if (mode->clock >= 165000 &&
+ nv_encoder->dcb->duallink_possible &&
+ (!nv_connector->edid ||
+ !drm_detect_hdmi_monitor(nv_connector->edid)))
+ proto |= 0x4;
} else {
proto = 0x2;
}
diff --git a/drm/nouveau/nvkm/engine/disp/gf119.c b/drm/nouveau/nvkm/engine/disp/gf119.c
index 186fd3a..f031466 100644
--- a/drm/nou...
2015 Nov 04
1
[PATCH 1/2] disp: activate dual link TMDS links only when possible
...proto = 0x1;
>> - else
>> - proto = 0x5;
>> + proto = 0x1;
>> + if (mode->clock >= 165000 &&
>> + nv_encoder->dcb->duallink_possible)
>> + proto |= 0x4;
> This is a somewhat flaky condition, given that one could plug a
> single-link HDMI monitor into a duallink-capable TMDS connector.
>
> Still, it's an improvement :)
Yeah, FWIW I thought of that (for the second patch t...
2015 Jun 08
2
Problem with GT218 (GeForce GT210)
...rted: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
Default: PAL
*NOTE* Ignored for cards with external TV encoders. (charp)
parm: tv_disable:Disable TV-out detection (int)
parm: ignorelid:Ignore ACPI lid status (int)
parm: duallink:Allow dual-link TMDS (default: enabled) (int)
parm: nofbaccel:Disable fbcon acceleration (int)
parm: agpmode:AGP mode (0 to disable AGP) (int)
parm: vram_pushbuf:Create DMA push buffers in VRAM (int)
parm: config:option string to pass to driver core (charp)
p...
2014 May 15
11
[Bug 78748] New: Nouveau fails initializing KMS on Geforce2 Go (NV11M)
https://bugs.freedesktop.org/show_bug.cgi?id=78748
Priority: medium
Bug ID: 78748
Assignee: nouveau at lists.freedesktop.org
Summary: Nouveau fails initializing KMS on Geforce2 Go (NV11M)
QA Contact: xorg-team at lists.x.org
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: isma.casti
2009 Aug 25
11
[Bug 23495] New: nouveau KMS produces no output on a Dell 3008WFP monitor
http://bugs.freedesktop.org/show_bug.cgi?id=23495
Summary: nouveau KMS produces no output on a Dell 3008WFP monitor
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at
2015 Nov 04
0
[PATCH 1/2] disp: activate dual link TMDS links only when possible
...> case DCB_OUTPUT_TMDS:
> if (nv_encoder->dcb->sorconf.link & 1) {
> - if (mode->clock < 165000)
> - proto = 0x1;
> - else
> - proto = 0x5;
> + proto = 0x1;
> + if (mode->clock >= 165000 &&
> + nv_encoder->dcb->duallink_possible)
> + proto |= 0x4;
This is a somewhat flaky condition, given that one could plug a
single-link HDMI monitor into a duallink-capable TMDS connector.
Still, it's an improvement :)
> } else {
> proto = 0x2;
> }
> diff --git a/drm/nouveau/nvkm/engine/disp/gf11...
2014 Dec 09
2
DCB 4.1 spec update
On Wed, Dec 10, 2014 at 7:36 AM, Ben Skeggs <skeggsb at gmail.com> wrote:
> On Wed, Dec 10, 2014 at 4:26 AM, Andy Ritger <aritger at nvidia.com> wrote:
>> Hi,
> Hey Andy,
>
>>
>> The VBIOS on GM20x GPUs uses a slightly updated version of the DCB.
>> I've posted an updated DCB spec here:
>>
>>
2014 Dec 14
1
DCB 4.1 spec update
...be used to drive a connector.
Hm, is this true? I've not looked at MST on GM204 yet, but earlier
Keplers it was still one SOR but multiple heads attached to it.
>
> The setup sequence would normally be:
> * Decide which connectors you want to drive.
> * Check which link (links for duallink-DVI) to use with that connector, per the DCB.
It's this step I was unsure of. The only information channel we
currently have between the "user" side of display and the supervisor
is what can be pushed through core channel methods. I guess a more
explicit way to phrase what I was wan...
2014 Dec 13
0
DCB 4.1 spec update
...Macro 2 Pad Link 0) is connected to a DP connector
* Link F (Macro 2 Pad Link 1) is connected to a DP connector
Except for DP multi-stream, one SOR should be used to drive a connector.
The setup sequence would normally be:
* Decide which connectors you want to drive.
* Check which link (links for duallink-DVI) to use with that connector, per the DCB.
* Assign an unused SOR to those link(s) via the NV_PDISP_CLK_REM_LINK_CTRL registers.
* Use SorSetControl to attach a head to that SOR.
I hope that makes sense.
Thanks,
- Andy
> Thanks,
> Ben.
>
> >
> > Ben.
> >
> >...
2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
...for cards with external TV encoders. (charp)
parm: vram_pushbuf:Create DMA push buffers in VRAM (int)
parm: nofbaccel:Disable fbcon acceleration (int)
parm: tv_disable:Disable TV-out detection (int)
parm: ignorelid:Ignore ACPI lid status (int)
parm: duallink:Allow dual-link TMDS (default: enabled) (int)
parm: pstate:enable sysfs pstate file, which will be moved in the future (int)
parm: config:option string to pass to driver core (charp)
parm: debug:debug string to pass to driver core (charp)
parm: noaccel:disabl...