mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 01:54:00 +00:00
drm/nouveau/disp: fix dithering not being enabled on some eDP macbooks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
0c75f332e5
commit
a6a17859f1
@ -654,7 +654,13 @@ nouveau_connector_detect_depth(struct drm_connector *connector)
|
|||||||
if (nv_connector->edid && connector->display_info.bpc)
|
if (nv_connector->edid && connector->display_info.bpc)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* if not, we're out of options unless we're LVDS, default to 8bpc */
|
/* EDID 1.4 is *supposed* to be supported on eDP, but, Apple... */
|
||||||
|
if (nv_connector->type == DCB_CONNECTOR_eDP) {
|
||||||
|
connector->display_info.bpc = 6;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* we're out of options unless we're LVDS, default to 8bpc */
|
||||||
if (nv_encoder->dcb->type != OUTPUT_LVDS) {
|
if (nv_encoder->dcb->type != OUTPUT_LVDS) {
|
||||||
connector->display_info.bpc = 8;
|
connector->display_info.bpc = 8;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user