public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] drm/vc4: Binner BO management improvements
@ 2019-04-15 12:39 Paul Kocialkowski
  2019-04-15 12:39 ` [PATCH v5 1/4] drm/vc4: Reformat and export binner bo allocation helper Paul Kocialkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Paul Kocialkowski @ 2019-04-15 12:39 UTC (permalink / raw)
  To: dri-devel, linux-kernel
  Cc: Eric Anholt, David Airlie, Daniel Vetter, Thomas Petazzoni,
	Maxime Ripard, Eben Upton, Paul Kocialkowski

Changes since v4:
* Used a kref on the binner bo instead of firstopen/lastclose;
* Added a mutex to prevent race conditions;
* Took care of enabling the OOM interrupt when we have a binner BO allocated.

Changes since v3:
* Split changes into more commits when possible;
* Reworked binner bo alloc condition as discussed.

Changes since v2:
* Removed deprecated sentence about fristopen;
* Added collected Reviewed-By tags.

Changes since v1:
* Squashed the two final patches into one.

Paul Kocialkowski (4):
  drm/vc4: Reformat and export binner bo allocation helper
  drm/vc4: Check for V3D before binner bo alloc
  drm/vc4: Check for the binner bo before handling OOM interrupt
  drm/vc4: Allocate binner bo when starting to use the V3D

 drivers/gpu/drm/vc4/vc4_bo.c  | 30 ++++++++++++++++++
 drivers/gpu/drm/vc4/vc4_drv.c | 17 +++++++++++
 drivers/gpu/drm/vc4/vc4_drv.h | 10 ++++++
 drivers/gpu/drm/vc4/vc4_irq.c |  9 ++++--
 drivers/gpu/drm/vc4/vc4_v3d.c | 57 ++++++++++++++++++++++++-----------
 5 files changed, 104 insertions(+), 19 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-04-23 12:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-15 12:39 [PATCH v5 0/4] drm/vc4: Binner BO management improvements Paul Kocialkowski
2019-04-15 12:39 ` [PATCH v5 1/4] drm/vc4: Reformat and export binner bo allocation helper Paul Kocialkowski
2019-04-15 12:39 ` [PATCH v5 2/4] drm/vc4: Check for V3D before binner bo alloc Paul Kocialkowski
2019-04-15 12:39 ` [PATCH v5 3/4] drm/vc4: Check for the binner bo before handling OOM interrupt Paul Kocialkowski
2019-04-15 20:48   ` Eric Anholt
2019-04-23  8:30     ` Paul Kocialkowski
2019-04-23  8:50       ` Paul Kocialkowski
2019-04-15 12:39 ` [PATCH v5 4/4] drm/vc4: Allocate binner bo when starting to use the V3D Paul Kocialkowski
2019-04-15 20:50   ` Eric Anholt
2019-04-23 12:55     ` Paul Kocialkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox