OSDN Git Service

drm/i915: Remove the drm_dbg() from the vblank evade critical section
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Oct 2021 23:57:03 +0000 (02:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Oct 2021 09:25:02 +0000 (12:25 +0300)
We are inside the vblank evade critical section here, racing
against the raster beam. There is no time to print debug
messages.

Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Juston Li <juston.li@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211006235704.28894-4-ville.syrjala@linux.intel.com
Reviewed-by: Juston Li <juston.li@intel.com>
drivers/gpu/drm/i915/display/skl_universal_plane.c

index 87e94e4..9faffa4 100644 (file)
@@ -1018,8 +1018,6 @@ static void intel_load_plane_csc_black(struct intel_plane *intel_plane)
        enum plane_id plane = intel_plane->id;
        u16 postoff = 0;
 
-       drm_dbg_kms(&dev_priv->drm, "plane color CTM to black  %s:%d\n",
-                   intel_plane->base.name, plane);
        intel_de_write_fw(dev_priv, PLANE_CSC_COEFF(pipe, plane, 0), 0);
        intel_de_write_fw(dev_priv, PLANE_CSC_COEFF(pipe, plane, 1), 0);