All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Govindapillai <vinod.govindapillai@intel.com>
To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Cc: vinod.govindapillai@intel.com, ville.syrjala@intel.com,
	matthew.d.roper@intel.com
Subject: [PATCH v1] drm/xe: no need to call fixup_initial_plane_config in XE
Date: Sat, 13 Apr 2024 00:33:42 +0300	[thread overview]
Message-ID: <20240412213342.181465-1-vinod.govindapillai@intel.com> (raw)

In XE, the updated fb mapping is already done and updated as
part of intel_find_initial_plane_obj(). So no need to invoke
fixup_initial_plane_config() again as it would basically write
the same data to "PLAN_SURF" again.

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
---
 drivers/gpu/drm/xe/display/xe_plane_initial.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_plane_initial.c b/drivers/gpu/drm/xe/display/xe_plane_initial.c
index 9693c56d386b..51eb80729cfb 100644
--- a/drivers/gpu/drm/xe/display/xe_plane_initial.c
+++ b/drivers/gpu/drm/xe/display/xe_plane_initial.c
@@ -297,9 +297,6 @@ void intel_initial_plane_config(struct drm_i915_private *i915)
 		 */
 		intel_find_initial_plane_obj(crtc, plane_configs);
 
-		if (i915->display.funcs.display->fixup_initial_plane_config(crtc, plane_config))
-			intel_crtc_wait_for_next_vblank(crtc);
-
 		plane_config_fini(plane_config);
 	}
 }
-- 
2.34.1


             reply	other threads:[~2024-04-12 21:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 21:33 Vinod Govindapillai [this message]
2024-04-15 15:35 ` ✓ CI.Patch_applied: success for drm/xe: no need to call fixup_initial_plane_config in XE Patchwork
2024-04-15 15:35 ` ✓ CI.checkpatch: " Patchwork
2024-04-15 15:36 ` ✓ CI.KUnit: " Patchwork
2024-04-15 15:47 ` ✓ CI.Build: " Patchwork
2024-04-15 15:50 ` ✓ CI.Hooks: " Patchwork
2024-04-15 15:51 ` ✓ CI.checksparse: " Patchwork
2024-04-15 16:17 ` ✓ CI.BAT: " Patchwork
2024-04-15 19:59 ` ✓ Fi.CI.BAT: " Patchwork
2024-04-15 23:31 ` ✓ CI.FULL: " Patchwork
2024-04-16  8:23 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-04-16 12:55 ` [PATCH v1] " Ville Syrjälä

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240412213342.181465-1-vinod.govindapillai@intel.com \
    --to=vinod.govindapillai@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.d.roper@intel.com \
    --cc=ville.syrjala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.