mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
drm/i915: Remove legacy plane updates for cursor and sprite planes.
Unfortunately fbc still depends on legacy primary state, so it can't be killed off completely yet. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
9b4101be5b
commit
8e0e9ceaa0
@ -13634,10 +13634,6 @@ intel_commit_cursor_plane(struct drm_plane *plane,
|
||||
crtc = crtc ? crtc : plane->crtc;
|
||||
intel_crtc = to_intel_crtc(crtc);
|
||||
|
||||
plane->fb = state->base.fb;
|
||||
crtc->cursor_x = state->base.crtc_x;
|
||||
crtc->cursor_y = state->base.crtc_y;
|
||||
|
||||
if (intel_crtc->cursor_bo == obj)
|
||||
goto update;
|
||||
|
||||
|
@ -927,8 +927,6 @@ intel_commit_sprite_plane(struct drm_plane *plane,
|
||||
|
||||
crtc = crtc ? crtc : plane->crtc;
|
||||
|
||||
plane->fb = fb;
|
||||
|
||||
if (!crtc->state->active)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user