From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8ED3310E13D for ; Mon, 10 Jul 2023 06:34:31 +0000 (UTC) Date: Sun, 09 Jul 2023 23:34:30 -0700 Message-ID: <87v8esgtqh.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Himal Prasad Ghimiray In-Reply-To: <20230710044330.770948-2-himal.prasad.ghimiray@intel.com> References: <20230710044330.770948-1-himal.prasad.ghimiray@intel.com> <20230710044330.770948-2-himal.prasad.ghimiray@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t v9 1/4] lib/igt_sysfs: Add support to query number of tiles List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org, Upadhyay Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Sun, 09 Jul 2023 21:43:27 -0700, Himal Prasad Ghimiray wrote: > > With tile and GT seperation in KMD, we need to know > number of tiles supported by platform. > We will need to access tile associated properties from IGT. > Hence adding iterator for all supported tiles. > > v2: > - Calculate number of tiles once within iterator. (Rahul) > - Use snprintf instead of sprintf. > > v3: > - Remove unrequired for_each_sysfs_tile_dirfd (Ashutosh) > > v4: > - Implement tiles related functions in lib. (Ashutosh) > > v5: > - Fix comments and remove not required conditional check. (Ashutosh) > > v6: > - Remove xe_for_each_tile. (Ashutosh) Reviewed-by: Ashutosh Dixit