From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id CF22010E813 for ; Thu, 9 Mar 2023 13:52:59 +0000 (UTC) Message-ID: Date: Thu, 9 Mar 2023 14:53:02 +0100 Content-Language: en-US To: Vikas Srivastava References: <20230302055424.75446-1-vikas.srivastava@intel.com> From: Karolina Stolarek In-Reply-To: <20230302055424.75446-1-vikas.srivastava@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH] lib/intel_batchbuffer: Skip media-fill test for Graphics version 12.50 and above List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On 2.03.2023 06:54, Vikas Srivastava wrote: > From: Sinjan Kumar > > Xe_HP and beyond platforms does not have media pipeline. > So, this test is not applicable for those platforms. > > Cc: Chris Wilson > Cc: Kamil Konieczny > Cc: Dominik Grzegorzek > Cc: Zbigniew Kempczy��ski Not sure if it's your git send-email playing tricks or something, but char coding is off. You can either try to force git to use UTF-8 or just write "Kempczynski" here. With all tags corrected: Reviewed-by: Karolina Stolarek > Cc: Priyanka Dandamudi > Cc: Rahul Kumar > Reviewed-by: Chris Wilson > Signed-off-by: Sinjan Kumar > Signed-off-by: Vikas Srivastava > --- > lib/intel_batchbuffer.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c > index 59c788e68..cbb513f79 100644 > --- a/lib/intel_batchbuffer.c > +++ b/lib/intel_batchbuffer.c > @@ -643,7 +643,9 @@ igt_fillfunc_t igt_get_media_fillfunc(int devid) > { > igt_fillfunc_t fill = NULL; > > - if (IS_GEN12(devid)) > + if (intel_graphics_ver(devid) >= IP_VER(12, 50)) { > + /* current implementation defeatured PIPELINE_MEDIA */ > + } else if (IS_GEN12(devid)) > fill = gen12_media_fillfunc; > else if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid)) > fill = gen9_media_fillfunc;