We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5bafb1 commit 6480654Copy full SHA for 6480654
drivers/gpu/drm/i915/display/intel_fb.c
@@ -1286,10 +1286,10 @@ bool intel_fb_needs_pot_stride_remap(const struct intel_framebuffer *fb)
1286
1287
bool intel_plane_uses_fence(const struct intel_plane_state *plane_state)
1288
{
1289
+ struct intel_display *display = to_intel_display(plane_state);
1290
struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
- struct drm_i915_private *dev_priv = to_i915(plane->base.dev);
1291
1292
- return DISPLAY_VER(dev_priv) < 4 ||
+ return DISPLAY_VER(display) < 4 ||
1293
(plane->fbc && !plane_state->no_fbc_reason &&
1294
plane_state->view.gtt.type == I915_GTT_VIEW_NORMAL);
1295
}
0 commit comments