File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
#include <drm/drm_mipi_dsi.h>
7
+ #include <drm/drm_print.h>
7
8
8
- #include "i915_drv .h"
9
+ #include "intel_display_core .h"
9
10
#include "intel_dsi.h"
10
11
#include "intel_panel.h"
11
12
@@ -116,14 +117,14 @@ struct intel_dsi_host *intel_dsi_host_init(struct intel_dsi *intel_dsi,
116
117
enum drm_panel_orientation
117
118
intel_dsi_get_panel_orientation (struct intel_connector * connector )
118
119
{
119
- struct drm_i915_private * dev_priv = to_i915 (connector -> base . dev );
120
+ struct intel_display * display = to_intel_display (connector );
120
121
enum drm_panel_orientation orientation ;
121
122
122
123
orientation = connector -> panel .vbt .dsi .orientation ;
123
124
if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN )
124
125
return orientation ;
125
126
126
- orientation = dev_priv -> display . vbt .orientation ;
127
+ orientation = display -> vbt .orientation ;
127
128
if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN )
128
129
return orientation ;
129
130
You can’t perform that action at this time.
0 commit comments