From mboxrd@z Thu Jan 1 00:00:00 1970 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 0E74DCD98C6 for ; Tue, 9 Jun 2026 23:12:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E88FD10E640; Tue, 9 Jun 2026 23:12:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="a/t3teIW"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3277010E3CA; Tue, 9 Jun 2026 23:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1781046763; x=1812582763; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kj/M6s77bsHCr2vvNpu/TpQEhGBDFqaBATLZsVp7c18=; b=a/t3teIWwFC+FTSmPVngEt5jAl0aWJpsfjugp+e/dy/IT2pEnDY/RvV5 zYjVXdaXP5gPOhZpGngWwG1FP+uvSx0aO7pXJNrX0UKRDt8RfCyZ2tUJX wuZAwAvVbUR0T+iNYDzoHRbCxrYeRTJ5E0PxGFQW+xxuqWw26KQnH/oID r6jDo8ht9Jygwf+9Dk0Rjmz/gXQvi8q6Zb2+nAaMXFJhXZGWhiiH4dG3B /FKvRk1DGI2x2DPefLUdbFwY5Qrx3PsqbRJKbKqvyjZSWxpLCABBkMKAb 4/gMuyKb+EewsnB5AF02QkOpMBiQaYM6FMdVmiRoPcfvhiEyo2ANi5G22 g==; X-CSE-ConnectionGUID: dFoLM5F5Qoe+62EwiX4R1g== X-CSE-MsgGUID: AjqBo6vrTbaYxcIeQukyhg== X-IronPort-AV: E=McAfee;i="6800,10657,11812"; a="104492294" X-IronPort-AV: E=Sophos;i="6.24,196,1774335600"; d="scan'208";a="104492294" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2026 16:12:42 -0700 X-CSE-ConnectionGUID: VJhbUGJ4SP2QMKe4b3LCgw== X-CSE-MsgGUID: 0GhWusudStGT0eXyurRlJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,196,1774335600"; d="scan'208";a="276187963" Received: from dev-417.igk.intel.com ([10.91.214.181]) by orviesa002.jf.intel.com with ESMTP; 09 Jun 2026 16:12:42 -0700 From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: =?UTF-8?q?Micha=C5=82=20Grzelak?= , Nemesa Garg , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Subject: [PATCH v1 0/9] drm/i915/scaler: allocation cleanup Date: Wed, 10 Jun 2026 01:12:08 +0200 Message-ID: <20260609231217.208357-1-michal.grzelak@intel.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 Content-Transfer-Encoding: 8bit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Apparently during review of commit 17d70a0760f2 ("drm/i915/casf: Extract scaler_has_casf()") I missed that argument plane_state isn't used anymore. While at it couple other fixes included. This series will almost surely need a better splitting than currently is, but I hope now it is slightly easier to review. BR, Michał Michał Grzelak (9): drm/i915/scaler: remove unused plane_state argument drm/i915/scaler: s/i/scaler_id/ drm/i915/scaler: de-Morgan-ize !scaler_has_casf() drm/i915/scaler: move independent CASF check drm/i915/scaler: check CASF before allocation's loop drm/i915/scaler: inline CASF scaler allocation drm/i915/scaler: linearize scaler allocation drm/i915/scaler: move CASF alloc check into intel_atomic_setup_scaler() drm/i915/scaler: move CASF alloc check into setup_crtc_scaler() drivers/gpu/drm/i915/display/skl_scaler.c | 43 ++++++++++++----------- 1 file changed, 22 insertions(+), 21 deletions(-) -- 2.45.2