From patchwork Thu Nov 7 12:26:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ville Syrjala X-Patchwork-Id: 13866351 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 B45F1D43352 for ; Thu, 7 Nov 2024 12:27:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B4F510E816; Thu, 7 Nov 2024 12:27:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="G47Trp0L"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id E5B8A10E813 for ; Thu, 7 Nov 2024 12:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730982422; x=1762518422; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=lhv03atkcuLJr0bffQO5Y+rwZElBPhfm/IdWI6maLmE=; b=G47Trp0LB9hZZMzNHFNousKFugqK+owdgpMHOAeokNFg2YOv4+AIx60G P17L7XlmIeLLbGjFTw2qA7c80o6NxZWWCwUVNpuoateltmxprmzo0Ay8W PDuudKMAsv4vTGpGhW8HslxbvDrHHb0zCeADOG73MMuNrkbAeN2pqWeje pGRiarKmnpNzKvFDOsYjSzyR341SN7AuYoxN294d3VSHH7oGwoPV/IUKf RJK/KyVxS6T89g3nUGsnp5N2pc+s3CWmlozYkdI5NmlHsHk8p8ASIJHn3 RU+6KkJzGzVaGQ9L8NDrnCR5VlZ+omjHPZzfRay0hHa/nJ3NUTj/hJSe5 w==; X-CSE-ConnectionGUID: f9XUU2YwSveAKxbjaMLRbA== X-CSE-MsgGUID: 2t6ANYpwTj+D1+YXRDsjqA== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="34515988" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="34515988" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2024 04:27:01 -0800 X-CSE-ConnectionGUID: dKNUJ68HRlWitL3K/drTGQ== X-CSE-MsgGUID: i3R1rF/qS5S2EZZTj/g5TQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,266,1728975600"; d="scan'208";a="85189292" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by fmviesa008.fm.intel.com with SMTP; 07 Nov 2024 04:26:59 -0800 Received: by stinkbox (sSMTP sendmail emulation); Thu, 07 Nov 2024 14:26:58 +0200 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Subject: [PATCH v2 0/8] drm/i915/scaler: Scaler code cleanups Date: Thu, 7 Nov 2024 14:26:50 +0200 Message-ID: <20241107122658.21901-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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" From: Ville Syrjälä Bunch of cleanups/refactoring in the scaler code. v2: same as v1, with one of the patches dropped Ville Syrjälä (8): drm/i915/scaler: s/intel_crtc/crtc/ etc. drm/i915/scaler: Remove redudant junk from skl_scaler.h drm/i915/scaler: Pass the whole atomic state into intel_atomic_setup_scalers() drm/i915/scaler: Clean up intel_atomic_setup_scalers() a bit drm/i915/scaler: Convert the scaler code to intel_display drm/i915/scaler: Carve up intel_atomic_setup_scalers() drm/i915/scaler: Make scaler in_use a bool drm/i915/scaler: Extract intel_allocate_scaler() drivers/gpu/drm/i915/display/intel_display.c | 2 +- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 286 +++++++++--------- drivers/gpu/drm/i915/display/skl_scaler.h | 11 +- 4 files changed, 151 insertions(+), 150 deletions(-)