All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/3] Fixes to kms_addfb_basic + RFC IGT buf alloc
@ 2019-01-16  0:22 Deepak Rawat
  2019-01-16  0:22 ` [igt-dev] [PATCH i-g-t 1/3] igt/kms_addfb_basic: Call dumb destroy in case have dumb buffer Deepak Rawat
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Deepak Rawat @ 2019-01-16  0:22 UTC (permalink / raw)
  To: thellstrom, igt-dev; +Cc: Deepak Rawat, linux-graphics-maintainer

Hi,

Sending a few fixes to kms_addfb_basic which are mainly for vmwgfx to
run without error. These are really shortsighted fix and with this I
would like to get feedback from community regarding BO allocation for
drivers like vmwgfx which have private IOCTL for allocation. My end
goal is to add vmwgfx BO support which creating igt_fb.

Currently igt_fb is somewhat tied to handle. I didn't looked into much
detail but my fist thought was to separate out handle, is_dumb, etc from
igt_fb and have a separate struct for BO. Similarly distinct API for BO
create/destroy. Or is this unnecessary and simply adding a new API
igt_destroy_bo should be enough to solve problems where
igt_create_bo_with_dimensions() was used.

I would like to know if anyone else looked into this or it's in their TODO
list.

Thanks,
Deepak

Deepak Rawat (3):
  igt/kms_addfb_basic: Call dumb destroy in case have dumb buffer
  igt/kms_addfb_basic: Call igt_require_gem for gem specific tiling
  igt/kms_addfb_basic: Add missing calls to gem_close

 tests/kms_addfb_basic.c | 91 ++++++++++++++++++++++++++++++++---------
 1 file changed, 71 insertions(+), 20 deletions(-)

-- 
2.17.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-01-16 16:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16  0:22 [igt-dev] [PATCH i-g-t 0/3] Fixes to kms_addfb_basic + RFC IGT buf alloc Deepak Rawat
2019-01-16  0:22 ` [igt-dev] [PATCH i-g-t 1/3] igt/kms_addfb_basic: Call dumb destroy in case have dumb buffer Deepak Rawat
2019-01-16  0:22 ` [igt-dev] [PATCH i-g-t 2/3] igt/kms_addfb_basic: Call igt_require_gem for gem specific tiling Deepak Rawat
2019-01-16  8:42   ` Chris Wilson
2019-01-16 16:11     ` Deepak Singh Rawat
2019-01-16 16:17       ` Chris Wilson
2019-01-16 16:34         ` Deepak Singh Rawat
2019-01-16 16:44           ` Chris Wilson
2019-01-16 16:53             ` Deepak Singh Rawat
2019-01-16  0:22 ` [igt-dev] [PATCH i-g-t 3/3] igt/kms_addfb_basic: Add missing calls to gem_close Deepak Rawat
2019-01-16  4:13 ` [igt-dev] ✓ Fi.CI.BAT: success for Fixes to kms_addfb_basic + RFC IGT buf alloc Patchwork
2019-01-16  6:20 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.