* [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
@ 2019-02-25 11:55 Tvrtko Ursulin
2019-02-25 11:57 ` [igt-dev] " Tvrtko Ursulin
0 siblings, 1 reply; 5+ messages in thread
From: Tvrtko Ursulin @ 2019-02-25 11:55 UTC (permalink / raw)
To: igt-dev; +Cc: Intel-gfx
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Do not use it on older gens.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Tony Ye <tony.ye@intel.com>
---
lib/intel_batchbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index b2169a1aa145..6e6bcdeba8a6 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
{
igt_vme_func_t fill = NULL;
- if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
+ if (IS_GEN11(devid))
fill = gen11_media_vme_func;
return fill;
--
2.19.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
2019-02-25 11:55 [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11 Tvrtko Ursulin
@ 2019-02-25 11:57 ` Tvrtko Ursulin
2019-03-24 13:02 ` Ye, Tony
0 siblings, 1 reply; 5+ messages in thread
From: Tvrtko Ursulin @ 2019-02-25 11:57 UTC (permalink / raw)
To: igt-dev; +Cc: Intel-gfx
On 25/02/2019 11:55, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Do not use it on older gens.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109612
Regards,
Tvrtko
> Cc: Tony Ye <tony.ye@intel.com>
> ---
> lib/intel_batchbuffer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
> index b2169a1aa145..6e6bcdeba8a6 100644
> --- a/lib/intel_batchbuffer.c
> +++ b/lib/intel_batchbuffer.c
> @@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
> {
> igt_vme_func_t fill = NULL;
>
> - if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
> + if (IS_GEN11(devid))
> fill = gen11_media_vme_func;
>
> return fill;
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
2019-02-25 11:57 ` [igt-dev] " Tvrtko Ursulin
@ 2019-03-24 13:02 ` Ye, Tony
2019-03-25 10:22 ` Tvrtko Ursulin
0 siblings, 1 reply; 5+ messages in thread
From: Ye, Tony @ 2019-03-24 13:02 UTC (permalink / raw)
To: Tvrtko Ursulin, igt-dev; +Cc: Intel-gfx
The kernel was design for Gen11 and the author didn't guarantee it could
work on APL. And the binary was built with iga64 with "-p=11" option. If
you try to build it with "-p=9" you will get "error: NoPreempt not
supported on given platform".
As the purpose of this test was to test the asymmetric subslice of
Gen11, I would suggest to remove the support of Gen9 and Gen10. The
patch looks good to me.
Regards,
Tony
On 2/25/2019 7:57 PM, Tvrtko Ursulin wrote:
>
> On 25/02/2019 11:55, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>
>> Do not use it on older gens.
>>
>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109612
>
> Regards,
>
> Tvrtko
>
>> Cc: Tony Ye <tony.ye@intel.com>
>> ---
>> lib/intel_batchbuffer.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
>> index b2169a1aa145..6e6bcdeba8a6 100644
>> --- a/lib/intel_batchbuffer.c
>> +++ b/lib/intel_batchbuffer.c
>> @@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
>> {
>> igt_vme_func_t fill = NULL;
>> - if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
>> + if (IS_GEN11(devid))
>> fill = gen11_media_vme_func;
>> return fill;
>>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
2019-03-24 13:02 ` Ye, Tony
@ 2019-03-25 10:22 ` Tvrtko Ursulin
2019-03-25 16:58 ` Ye, Tony
0 siblings, 1 reply; 5+ messages in thread
From: Tvrtko Ursulin @ 2019-03-25 10:22 UTC (permalink / raw)
To: Ye, Tony, igt-dev; +Cc: Intel-gfx
Hi Toni,
On 24/03/2019 13:02, Ye, Tony wrote:
> The kernel was design for Gen11 and the author didn't guarantee it could
> work on APL. And the binary was built with iga64 with "-p=11" option. If
> you try to build it with "-p=9" you will get "error: NoPreempt not
> supported on given platform".
> As the purpose of this test was to test the asymmetric subslice of
> Gen11, I would suggest to remove the support of Gen9 and Gen10. The
> patch looks good to me.
Can I have your formal Reviewed-by: or at least Acked-by: so I can push
the fix in?
Thanks,
Tvrtko
>
> Regards,
>
> Tony
>
> On 2/25/2019 7:57 PM, Tvrtko Ursulin wrote:
>>
>> On 25/02/2019 11:55, Tvrtko Ursulin wrote:
>>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>>
>>> Do not use it on older gens.
>>>
>>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109612
>>
>> Regards,
>>
>> Tvrtko
>>
>>> Cc: Tony Ye <tony.ye@intel.com>
>>> ---
>>> lib/intel_batchbuffer.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
>>> index b2169a1aa145..6e6bcdeba8a6 100644
>>> --- a/lib/intel_batchbuffer.c
>>> +++ b/lib/intel_batchbuffer.c
>>> @@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
>>> {
>>> igt_vme_func_t fill = NULL;
>>> - if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
>>> + if (IS_GEN11(devid))
>>> fill = gen11_media_vme_func;
>>> return fill;
>>>
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
2019-03-25 10:22 ` Tvrtko Ursulin
@ 2019-03-25 16:58 ` Ye, Tony
0 siblings, 0 replies; 5+ messages in thread
From: Ye, Tony @ 2019-03-25 16:58 UTC (permalink / raw)
To: Tvrtko Ursulin, igt-dev; +Cc: Intel-gfx
On 3/25/2019 6:22 PM, Tvrtko Ursulin wrote:
>
> Hi Toni,
>
> On 24/03/2019 13:02, Ye, Tony wrote:
>> The kernel was designed for Gen11 and the author didn't guarantee it
>> could work on APL. And the binary was built with iga64 with "-p=11"
>> option. If you try to build it with "-p=9" you will get "error:
>> NoPreempt not supported on given platform".
>> As the purpose of this test was to test the asymmetric subslice of
>> Gen11, I would suggest to remove the support of Gen9 and Gen10. The
>> patch looks good to me.
>
> Can I have your formal Reviewed-by: or at least Acked-by: so I can
> push the fix in?
Reviewed-by: Tony Ye <tony.ye@intel.com>
>
> Thanks,
>
> Tvrtko
>
>>
>> Regards,
>>
>> Tony
>>
>> On 2/25/2019 7:57 PM, Tvrtko Ursulin wrote:
>>>
>>> On 25/02/2019 11:55, Tvrtko Ursulin wrote:
>>>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>>>
>>>> Do not use it on older gens.
>>>>
>>>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>>
>>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109612
>>>
>>> Regards,
>>>
>>> Tvrtko
>>>
>>>> Cc: Tony Ye <tony.ye@intel.com>
>>>> ---
>>>> lib/intel_batchbuffer.c | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
>>>> index b2169a1aa145..6e6bcdeba8a6 100644
>>>> --- a/lib/intel_batchbuffer.c
>>>> +++ b/lib/intel_batchbuffer.c
>>>> @@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
>>>> {
>>>> igt_vme_func_t fill = NULL;
>>>> - if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
>>>> + if (IS_GEN11(devid))
>>>> fill = gen11_media_vme_func;
>>>> return fill;
>>>>
>>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-25 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25 11:55 [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11 Tvrtko Ursulin
2019-02-25 11:57 ` [igt-dev] " Tvrtko Ursulin
2019-03-24 13:02 ` Ye, Tony
2019-03-25 10:22 ` Tvrtko Ursulin
2019-03-25 16:58 ` Ye, Tony
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox