From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 61F1C10E13D for ; Mon, 10 Jul 2023 06:35:41 +0000 (UTC) Date: Sun, 09 Jul 2023 23:35:29 -0700 Message-ID: <87ttucgtou.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Himal Prasad Ghimiray In-Reply-To: <20230710044330.770948-3-himal.prasad.ghimiray@intel.com> References: <20230710044330.770948-1-himal.prasad.ghimiray@intel.com> <20230710044330.770948-3-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 2/4] lib/igt_sysfs: Handling gt related sysfs uapi changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Upadhyay , igt-dev@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Sun, 09 Jul 2023 21:43:28 -0700, Himal Prasad Ghimiray wrote: > > Patch https://patchwork.freedesktop.org/series/118927/ > is moving gt sysfs parent under tile folder. > > With the above patch path for sysfs changes: > from: /sys/class/drm/cardX/device/gtN/ > to : /sys/class/drm/cardX/device/tileN/gtN > > Adding xe_gt_sysfs_path function to access new path. > > v2: > - Calculate number of tiles once within iterator. (Rahul) > > v3: > - Drop usage of local variable for tilecount. > - Change order of tile and gt. (Ashutosh) > > v4: > - Drop xe_for_each_gt_under_each_tile macro > add xe_gt_sysfs_path to return path. (Ashutosh) > - Support older dir path along with new. (kamil) > > v5: > - Dont use fixed paths. Find gt in available tiles. (Ashutosh) > > v6: > - Define gt related functions for xe. (Ashutosh) > > v7: > - use intel_get_drm_devid to determine devid and fix the > parameter for platform check. (Ashutosh) > - check pvc instead of mtl and consider other platforms as > default. (Ashutosh) Reviewed-by: Ashutosh Dixit