From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: "Daniele Ceraolo Spurio" <daniele.ceraolospurio@intel.com>,
"Matt Roper" <matthew.d.roper@intel.com>,
"José Roberto de Souza" <jose.souza@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/ehl: Add missing VECS engine
Date: Wed, 26 Jun 2019 06:21:38 +0100 [thread overview]
Message-ID: <6f3e0d6b-cff1-6ba2-c7b6-4afe36bbbc66@linux.intel.com> (raw)
In-Reply-To: <1acd81a6-e891-01e8-dcfe-e6912670bdbb@intel.com>
On 25/06/2019 22:48, Daniele Ceraolo Spurio wrote:
> On 6/25/19 8:26 AM, Matt Roper wrote:
>> On Fri, Jun 14, 2019 at 03:17:39PM -0700, Matt Roper wrote:
>>> On Fri, Jun 14, 2019 at 02:37:49PM -0700, José Roberto de Souza wrote:
>>>> EHL can have up to one VECS(video enhancement) engine, so add it to
>>>> the device_info.
>>>
>>> Bspec 29150 has a footnote on VEbox that indicates "Pass-through only,
>>> no VEbox processing logic." That note seems a bit vague, but I think I
>>> saw some more detailed info in the past somewhere that indicated the
>>> VECS command streamer is still technically present but doesn't actually
>>> do any video enhancement on EHL; it just passes content through to SFC.
>>>
>>> I'm not terribly plugged into the media side of the world, so I'm not
>>> sure if we want to expose VECS to userspace if it's basically a noop and
>>> doesn't do what it normally does on other platforms. Bspec page 5229
>>> implies that SFC can be fed directly by the decode engine without going
>>> through VEBOX, so I'm not sure if media userspace would ever have a use
>>> for the passthrough-only VECS streamer.
>>>
>>> We should probably ask someone on the media team what their thoughts are
>>> on this.
>>
>> Since the media team confirmed that there is indeed a use case for a
>> passthrough-only VECS,
>>
>> Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
>>
>
> A bit late for a question, but how does userspace know that this is just
> a pass-through VECS? Are we expecting them to switch based on platform
> instead of just using the kernel API? IMO it'd be better to hide the
> engine in the query ioctl by default and only show it if userspace
> passes an appropriate flag, otherwise legacy apps could try to submit
> VECS-specific commands to the engine.
I have a patch which would enable this, guess it's time to send it..
If we go this route (hide the engine by default), this patch would need
to add a new capability flag. But what to call it?
I915_VIDEO_ENHANCE_CLASS_PASSTHROUGH?
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-06-26 5:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-14 21:37 [PATCH] drm/i915/ehl: Add missing VECS engine José Roberto de Souza
2019-06-14 22:17 ` Matt Roper
2019-06-20 20:11 ` Souza, Jose
2019-06-25 15:26 ` Matt Roper
2019-06-25 15:30 ` Chris Wilson
2019-06-25 21:48 ` Daniele Ceraolo Spurio
2019-06-26 5:21 ` Tvrtko Ursulin [this message]
2019-06-26 20:05 ` Bloomfield, Jon
2019-06-15 7:16 ` ✓ Fi.CI.BAT: success for " Patchwork
2019-06-17 10:19 ` ✓ Fi.CI.IGT: " Patchwork
2019-06-25 18:51 ` Souza, Jose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f3e0d6b-cff1-6ba2-c7b6-4afe36bbbc66@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jose.souza@intel.com \
--cc=matthew.d.roper@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox