File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ static const struct drm_crtc_funcs i8xx_crtc_funcs = {
305
305
306
306
int intel_crtc_init (struct intel_display * display , enum pipe pipe )
307
307
{
308
- struct drm_i915_private * dev_priv = to_i915 (display -> drm );
309
308
struct intel_plane * primary , * cursor ;
310
309
const struct drm_crtc_funcs * funcs ;
311
310
struct intel_crtc * crtc ;
@@ -333,7 +332,7 @@ int intel_crtc_init(struct intel_display *display, enum pipe pipe)
333
332
for_each_sprite (display , pipe , sprite ) {
334
333
struct intel_plane * plane ;
335
334
336
- if (DISPLAY_VER (dev_priv ) >= 9 )
335
+ if (DISPLAY_VER (display ) >= 9 )
337
336
plane = skl_universal_plane_create (display , pipe , PLANE_2 + sprite );
338
337
else
339
338
plane = intel_sprite_plane_create (display , pipe , sprite );
You can’t perform that action at this time.
0 commit comments