drm/nouveau: implement devinit subdev, and new init table parser

v2:
- make sure not to execute display scripts unless resuming

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
此提交包含在:
Ben Skeggs
2012-07-11 10:44:20 +10:00
父節點 70790f4f81
當前提交 cb75d97e9c
共有 54 個檔案被更改,包括 3795 行新增3913 行删除

查看文件

@@ -181,9 +181,9 @@ nv50_backlight_init(struct drm_connector *connector)
struct backlight_device *bd;
const struct backlight_ops *ops;
nv_encoder = find_encoder(connector, OUTPUT_LVDS);
nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS);
if (!nv_encoder) {
nv_encoder = find_encoder(connector, OUTPUT_DP);
nv_encoder = find_encoder(connector, DCB_OUTPUT_DP);
if (!nv_encoder)
return -ENODEV;
}