diff options
| -rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index bf19a5cce4a8..3117679299a6 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
| @@ -12197,9 +12197,6 @@ intel_check_cursor_plane(struct drm_plane *plane, | |||
| 12197 | return -ENOMEM; | 12197 | return -ENOMEM; |
| 12198 | } | 12198 | } |
| 12199 | 12199 | ||
| 12200 | if (fb == crtc->cursor->fb) | ||
| 12201 | return 0; | ||
| 12202 | |||
| 12203 | /* we only need to pin inside GTT if cursor is non-phy */ | 12200 | /* we only need to pin inside GTT if cursor is non-phy */ |
| 12204 | mutex_lock(&dev->struct_mutex); | 12201 | mutex_lock(&dev->struct_mutex); |
| 12205 | if (!INTEL_INFO(dev)->cursor_needs_physical && obj->tiling_mode) { | 12202 | if (!INTEL_INFO(dev)->cursor_needs_physical && obj->tiling_mode) { |
