From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 86539] [NVAC] Trying to register nv_backlight after
NV96 did it
Date: Sat, 23 Jan 2016 11:55:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2140080310=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============2140080310==
Content-Type: multipart/alternative; boundary="14535501511.9c86E890.29501";
charset="UTF-8"
--14535501511.9c86E890.29501
Date: Sat, 23 Jan 2016 11:55:51 +0000
MIME-Version: 1.0
Content-Type: text/plain
https://bugs.freedesktop.org/show_bug.cgi?id=86539
--- Comment #4 from Pierre Moreau ---
Updated to 4.4, and still getting the same issue (which is still solved by
using NvForcePost=1).
I'm not sure how backlight is supposed to be managed in a multi-screen (same
backlight value set for all screens attached to a card?) and/or multi-gpu
situation (one backlight value per card?), but:
* If each card can have it's own backlight configuration, shouldn't the naming
of Nouveau's backlight path (/sys/class/nv_backlight) take that into account,
to avoid different cards registering to the same backlight entry point?
* When should a backlight interface be registered? If connectors are found,
regardless of if any screens are connected to those? Currently Nouveau iterates
over all LVDS and eDP connectors of a device, and will register one if the
"brightness value" (NV50_PDISP_SOR_PWM_CTL(i)) is different of 0. So if a
device has an LVDS connector and a eDP one, both will try to register a
backlight under the same name (nv_backlight) if I understand the code
correctly.
Anyone who could weight in, Ben or Hans maybe?
Attached two dmesgs, one without the NvForcePost, the other with. It's
interesting to see that both see the connectors the same way, but due to
NV50_PDISP_SOR_PWM_CTL having a different value (as outlined in comment #1),
one will try to register and additional backlight while the other won't.
--
You are receiving this mail because:
You are the assignee for the bug.
--14535501511.9c86E890.29501
Date: Sat, 23 Jan 2016 11:55:51 +0000
MIME-Version: 1.0
Content-Type: text/html
Comment # 4
on bug 86539
from Pierre Moreau
Updated to 4.4, and still getting the same issue (which is still solved by
using NvForcePost=1).
I'm not sure how backlight is supposed to be managed in a multi-screen (same
backlight value set for all screens attached to a card?) and/or multi-gpu
situation (one backlight value per card?), but:
* If each card can have it's own backlight configuration, shouldn't the naming
of Nouveau's backlight path (/sys/class/nv_backlight) take that into account,
to avoid different cards registering to the same backlight entry point?
* When should a backlight interface be registered? If connectors are found,
regardless of if any screens are connected to those? Currently Nouveau iterates
over all LVDS and eDP connectors of a device, and will register one if the
"brightness value" (NV50_PDISP_SOR_PWM_CTL(i)) is different of 0. So if a
device has an LVDS connector and a eDP one, both will try to register a
backlight under the same name (nv_backlight) if I understand the code
correctly.
Anyone who could weight in, Ben or Hans maybe?
Attached two dmesgs, one without the NvForcePost, the other with. It's
interesting to see that both see the connectors the same way, but due to
NV50_PDISP_SOR_PWM_CTL having a different value (as outlined in comment #1),
one will try to register and additional backlight while the other won't.
You are receiving this mail because:
- You are the assignee for the bug.
--14535501511.9c86E890.29501--
--===============2140080310==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============2140080310==--