From: Paul Kocialkowski <paul.kocialkowski@bootlin.com> To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Eric Anholt <eric@anholt.net>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Maxime Ripard <maxime.ripard@bootlin.com>, Eben Upton <eben@raspberrypi.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com> Subject: [PATCH v9 0/4] drm/vc4: Binner BO management improvements Date: Thu, 16 May 2019 16:55:40 +0200 [thread overview] Message-ID: <20190516145544.29051-1-paul.kocialkowski@bootlin.com> (raw) Changes sinve v8: * Added collected Reviewed-by; * Fixed up another problematic case as discussed on v8. Changes since v7: * Moved the used bool to vc4_v3d_bin_bo_get in order to check it locked and avoid a possible race condition; Changes since v6: * Removed vc4_v3d_bin_bo_put from error paths; * Added WARN_ON_ONCE when no bin BO at refcount release. Changes since v5: * Fix more locking mistakes; * Introduce get/put helpers; * Grabbed a reference when submitting an exec job with a binner slot. * Addressed misc comments. 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 the 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 | 31 ++++++++++++++- drivers/gpu/drm/vc4/vc4_drv.c | 6 +++ drivers/gpu/drm/vc4/vc4_drv.h | 14 +++++++ drivers/gpu/drm/vc4/vc4_gem.c | 11 ++++++ drivers/gpu/drm/vc4/vc4_irq.c | 20 ++++++++-- drivers/gpu/drm/vc4/vc4_v3d.c | 72 ++++++++++++++++++++++++++--------- 6 files changed, 132 insertions(+), 22 deletions(-) -- 2.21.0
WARNING: multiple messages have this Message-ID (diff)
From: Paul Kocialkowski <paul.kocialkowski@bootlin.com> To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Maxime Ripard <maxime.ripard@bootlin.com>, Eben Upton <eben@raspberrypi.org>, David Airlie <airlied@linux.ie>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v9 0/4] drm/vc4: Binner BO management improvements Date: Thu, 16 May 2019 16:55:40 +0200 [thread overview] Message-ID: <20190516145544.29051-1-paul.kocialkowski@bootlin.com> (raw) Changes sinve v8: * Added collected Reviewed-by; * Fixed up another problematic case as discussed on v8. Changes since v7: * Moved the used bool to vc4_v3d_bin_bo_get in order to check it locked and avoid a possible race condition; Changes since v6: * Removed vc4_v3d_bin_bo_put from error paths; * Added WARN_ON_ONCE when no bin BO at refcount release. Changes since v5: * Fix more locking mistakes; * Introduce get/put helpers; * Grabbed a reference when submitting an exec job with a binner slot. * Addressed misc comments. 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 the 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 | 31 ++++++++++++++- drivers/gpu/drm/vc4/vc4_drv.c | 6 +++ drivers/gpu/drm/vc4/vc4_drv.h | 14 +++++++ drivers/gpu/drm/vc4/vc4_gem.c | 11 ++++++ drivers/gpu/drm/vc4/vc4_irq.c | 20 ++++++++-- drivers/gpu/drm/vc4/vc4_v3d.c | 72 ++++++++++++++++++++++++++--------- 6 files changed, 132 insertions(+), 22 deletions(-) -- 2.21.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2019-05-16 15:33 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-16 14:55 Paul Kocialkowski [this message] 2019-05-16 14:55 ` [PATCH v9 0/4] drm/vc4: Binner BO management improvements Paul Kocialkowski 2019-05-16 14:55 ` [PATCH v9 1/4] drm/vc4: Reformat and the binner bo allocation helper Paul Kocialkowski 2019-05-16 14:55 ` Paul Kocialkowski 2019-05-16 14:55 ` [PATCH v9 2/4] drm/vc4: Check for V3D before binner bo alloc Paul Kocialkowski 2019-05-16 14:55 ` [PATCH v9 3/4] drm/vc4: Check for the binner bo before handling OOM interrupt Paul Kocialkowski 2019-05-16 14:55 ` Paul Kocialkowski 2019-05-16 14:55 ` [PATCH v9 4/4] drm/vc4: Allocate binner bo when starting to use the V3D Paul Kocialkowski 2019-05-16 16:09 ` [PATCH v9 0/4] drm/vc4: Binner BO management improvements Eric Anholt 2019-05-16 16:09 ` Eric Anholt
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=20190516145544.29051-1-paul.kocialkowski@bootlin.com \ --to=paul.kocialkowski@bootlin.com \ --cc=airlied@linux.ie \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=eben@raspberrypi.org \ --cc=eric@anholt.net \ --cc=linux-kernel@vger.kernel.org \ --cc=maxime.ripard@bootlin.com \ --cc=thomas.petazzoni@bootlin.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.