|
@@ -13149,7 +13149,7 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)
|
|
else
|
|
else
|
|
primary->i9xx_plane = (enum i9xx_plane_id) pipe;
|
|
primary->i9xx_plane = (enum i9xx_plane_id) pipe;
|
|
primary->id = PLANE_PRIMARY;
|
|
primary->id = PLANE_PRIMARY;
|
|
- primary->frontbuffer_bit = INTEL_FRONTBUFFER_PRIMARY(pipe);
|
|
|
|
|
|
+ primary->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, primary->id);
|
|
primary->check_plane = intel_check_primary_plane;
|
|
primary->check_plane = intel_check_primary_plane;
|
|
|
|
|
|
if (INTEL_GEN(dev_priv) >= 9) {
|
|
if (INTEL_GEN(dev_priv) >= 9) {
|
|
@@ -13270,7 +13270,7 @@ intel_cursor_plane_create(struct drm_i915_private *dev_priv,
|
|
cursor->pipe = pipe;
|
|
cursor->pipe = pipe;
|
|
cursor->i9xx_plane = (enum i9xx_plane_id) pipe;
|
|
cursor->i9xx_plane = (enum i9xx_plane_id) pipe;
|
|
cursor->id = PLANE_CURSOR;
|
|
cursor->id = PLANE_CURSOR;
|
|
- cursor->frontbuffer_bit = INTEL_FRONTBUFFER_CURSOR(pipe);
|
|
|
|
|
|
+ cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id);
|
|
|
|
|
|
if (IS_I845G(dev_priv) || IS_I865G(dev_priv)) {
|
|
if (IS_I845G(dev_priv) || IS_I865G(dev_priv)) {
|
|
cursor->update_plane = i845_update_cursor;
|
|
cursor->update_plane = i845_update_cursor;
|