Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA3C910AB82B for ; Thu, 26 Mar 2026 22:31:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 71E0610E1CC; Thu, 26 Mar 2026 22:31:45 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="YiLIeSLb"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 494D910E1CC; Thu, 26 Mar 2026 22:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774564304; x=1806100304; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DsyEp5s/YhgHTJkZ1GLqG4XcnOP9monPRWBrGCWXZL8=; b=YiLIeSLbR54oRhqCDygmfXojjAdu5gJAuG+lB0Yk5IRiiPIEegwaPqY8 mehZf2zvkeGmy6lsMGZ2VQCrtIv9GHUylWi+aYuKG9Va+b1zpYvfFoDs4 AavkneHTw6l33U23ZJedBLUnePqx7HgpJZ4lXWEvJ5CWw9hZ1oL0h1Jau 7h0JBspWPMLBrgWOPVCF/XPWVoWmWHz9kmjkyc6ZPfwMKPc1wcT0E7AK3 ojDUFQEhaUZgyDk/innDZiv+Vw/tP0UjBCEL96E+8DRONF2x0nqCqmmI0 FidQyHRXU7ftiBR+c2Y9zXc4V6CuCPDylDr5SDHtBOuw/VMPr+umUQ0wJ Q==; X-CSE-ConnectionGUID: I8fUkPYAT8Og6vOf8+zlQw== X-CSE-MsgGUID: 5j6C4FfDTY21XP8ZY6Dtpg== X-IronPort-AV: E=McAfee;i="6800,10657,11741"; a="78233014" X-IronPort-AV: E=Sophos;i="6.23,142,1770624000"; d="scan'208";a="78233014" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2026 15:31:44 -0700 X-CSE-ConnectionGUID: 0/KkAzSWSYiYXEFbQJk/Tw== X-CSE-MsgGUID: 5Ow1ulgkQYOBfxCW2PJSNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,142,1770624000"; d="scan'208";a="226769452" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.244.14]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2026 15:31:42 -0700 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Cc: intel-xe@lists.freedesktop.org, Nemesa Garg Subject: [PATCH 0/9] drm/i915/casf: Integrate the sharpness filter properly into the scaler code Date: Fri, 27 Mar 2026 00:31:30 +0200 Message-ID: <20260326223139.19116-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From: Ville Syrjälä The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such. This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill series: https://patchwork.freedesktop.org/series/156137/ Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter... Cc: Nemesa Garg Ville Syrjälä (9): drm/i915/casf: s/casf_enable/enable/ drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf() drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state drn/i915/casf: Remove redundant argument from intel_casf_filter_lut_load() drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on (e)DP/HDMI drm/i915/casf: Integrate the sharpness filter properly into the scaler code drivers/gpu/drm/i915/display/intel_casf.c | 102 +++++----------- drivers/gpu/drm/i915/display/intel_casf.h | 6 +- .../drm/i915/display/intel_crtc_state_dump.c | 11 +- drivers/gpu/drm/i915/display/intel_display.c | 46 ++------ .../drm/i915/display/intel_display_debugfs.c | 5 +- .../drm/i915/display/intel_display_types.h | 5 +- drivers/gpu/drm/i915/display/intel_dp.c | 9 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 8 +- .../drm/i915/display/intel_modeset_setup.c | 1 + drivers/gpu/drm/i915/display/intel_pfit.c | 13 ++- drivers/gpu/drm/i915/display/skl_scaler.c | 110 +++++++----------- drivers/gpu/drm/i915/display/skl_scaler.h | 2 - 12 files changed, 112 insertions(+), 206 deletions(-) -- 2.52.0