From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] lib/ioctl_wrappers: Keep IGT working without pread/pwrite ioctls
Date: Fri, 02 Oct 2020 12:34:30 -0700 [thread overview]
Message-ID: <87mu14pgl5.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <160163140103.4780.15903052662841878821@build.alporthouse.com>
On Fri, 02 Oct 2020 02:36:41 -0700, Chris Wilson wrote:
>
> Quoting Ashutosh Dixit (2020-09-30 04:40:29)
> > The general direction at this time is to phase out pread/write ioctls
> > and not support them in future products. This means IGT must handle
> > the absence of these ioctls. This patch does this by modifying
> > gem_read() and gem_write() to do the read/write using the pread/pwrite
> > ioctls first but when these ioctls are unavailable fall back to doing
> > the read/write using a combination of mmap and memcpy.
>
> Note that not all pread/pwrite can be replaced by a mmap(bo) + mempcy.
> Removing pread/pwrite support for arbitrary bo is a significant ABI
> regression.
Dave Airlie NAK'd pread/pwrite for discrete here:
https://lists.freedesktop.org/archives/intel-gfx/2020-July/244677.html
Also UMD's are not using them anymore so the thinking is we would
discontinue pread/pwrite in i915 for future generations but retain them for
previous generations.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-10-02 19:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 3:40 [igt-dev] [PATCH i-g-t] lib/ioctl_wrappers: Keep IGT working without pread/pwrite ioctls Ashutosh Dixit
2020-09-30 4:15 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/ioctl_wrappers: Keep IGT working without pread/pwrite ioctls (rev6) Patchwork
2020-09-30 13:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-10-02 9:36 ` [igt-dev] [PATCH i-g-t] lib/ioctl_wrappers: Keep IGT working without pread/pwrite ioctls Chris Wilson
2020-10-02 19:34 ` Dixit, Ashutosh [this message]
2021-01-11 20:46 ` [igt-dev] [i-g-t] " Dave Airlie
-- strict thread matches above, loose matches on Subject: below --
2021-03-15 22:53 [igt-dev] [PATCH i-g-t] " Ashutosh Dixit
2021-01-21 8:37 Ashutosh Dixit
2021-03-15 16:51 ` Tvrtko Ursulin
2021-03-15 23:19 ` Dixit, Ashutosh
2021-03-16 9:16 ` Tvrtko Ursulin
2021-03-16 18:46 ` Dixit, Ashutosh
2020-09-16 20:11 Ashutosh Dixit
2020-09-06 23:43 Ashutosh Dixit
2020-09-09 7:03 ` Zbigniew Kempczyński
2020-09-06 17:49 Ashutosh Dixit
2020-09-04 20:25 Ashutosh Dixit
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=87mu14pgl5.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=igt-dev@lists.freedesktop.org \
/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