panel.c (664b0bae0b87f69bc9deb098f5e0158b9cf18e04) | panel.c (cde4c44d8769c1be16074c097592c46c7d64092b) |
---|---|
1/* 2 * Copyright (C) 2016 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 3 * Copyright (C) 2017 Broadcom 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of 8 * the License, or (at your option) any later version. --- 65 unchanged lines hidden (view full) --- 74 ret = drm_connector_init(bridge->dev, connector, 75 &panel_bridge_connector_funcs, 76 panel_bridge->connector_type); 77 if (ret) { 78 DRM_ERROR("Failed to initialize connector\n"); 79 return ret; 80 } 81 | 1/* 2 * Copyright (C) 2016 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 3 * Copyright (C) 2017 Broadcom 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of 8 * the License, or (at your option) any later version. --- 65 unchanged lines hidden (view full) --- 74 ret = drm_connector_init(bridge->dev, connector, 75 &panel_bridge_connector_funcs, 76 panel_bridge->connector_type); 77 if (ret) { 78 DRM_ERROR("Failed to initialize connector\n"); 79 return ret; 80 } 81 |
82 drm_mode_connector_attach_encoder(&panel_bridge->connector, | 82 drm_connector_attach_encoder(&panel_bridge->connector, |
83 bridge->encoder); 84 85 ret = drm_panel_attach(panel_bridge->panel, &panel_bridge->connector); 86 if (ret < 0) 87 return ret; 88 89 return 0; 90} --- 144 unchanged lines hidden --- | 83 bridge->encoder); 84 85 ret = drm_panel_attach(panel_bridge->panel, &panel_bridge->connector); 86 if (ret < 0) 87 return ret; 88 89 return 0; 90} --- 144 unchanged lines hidden --- |