This wait queue is signaled on all IRQs for a given GPU and will be
used as part of the new MSM_WAIT_IOVA ioctl so userspace can sleep
until the value at a given iova reaches a certain condition.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_gpu.c | 4
drivers/gpu/drm/msm/msm_gpu.h
values by default
Changes in v3:
* Fixed a bug where the mask was being applied incorrectly
Brian Ho (2):
drm/msm: Add a GPU-wide wait queue
drm/msm: Add MSM_WAIT_IOVA ioctl
drivers/gpu/drm/msm/msm_drv.c | 61 +--
drivers/gpu/drm/msm/msm_gpu.c | 4 +++
drivers
vkGetQueryPoolResults.
Change-Id: I1413fc34b7eb8ba569c765ad65126e9024341730
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_drv.c | 61 +--
include/uapi/drm/msm_drm.h| 14
2 files changed, 73 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu
This wait queue is signaled on all IRQs for a given GPU and will be
used as part of the new MSM_WAIT_IOVA ioctl so userspace can sleep
until the value at a given iova reaches a certain condition.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_gpu.c | 4
drivers/gpu/drm/msm/msm_gpu.h
vkGetQueryPoolResults.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_drv.c | 61 +--
include/uapi/drm/msm_drm.h| 14
2 files changed, 73 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
values by default
Brian Ho (2):
drm/msm: Add a GPU-wide wait queue
drm/msm: Add MSM_WAIT_IOVA ioctl
drivers/gpu/drm/msm/msm_drv.c | 61 +--
drivers/gpu/drm/msm/msm_gpu.c | 4 +++
drivers/gpu/drm/msm/msm_gpu.h | 3 ++
include/uapi/drm/msm_drm.h| 14
4
On Tue, Jan 14, 2020 at 08:48:48AM -0800, Rob Clark wrote:
> On Tue, Jan 14, 2020 at 8:40 AM Brian Ho wrote:
> >
> > On Mon, Jan 13, 2020 at 03:17:38PM -0800, Rob Clark wrote:
> > > On Mon, Jan 13, 2020 at 2:55 PM Brian Ho wrote:
> > > >
> > > > On
On Mon, Jan 13, 2020 at 03:17:38PM -0800, Rob Clark wrote:
> On Mon, Jan 13, 2020 at 2:55 PM Brian Ho wrote:
> >
> > On Mon, Jan 13, 2020 at 09:57:43AM -0800, Kristian Kristensen wrote:
> > > On Mon, Jan 13, 2020 at 8:25 AM Rob Clark wrote:
> > >
> > >
On Mon, Jan 13, 2020 at 09:57:43AM -0800, Kristian Kristensen wrote:
> On Mon, Jan 13, 2020 at 8:25 AM Rob Clark wrote:
>
> > On Mon, Jan 13, 2020 at 7:37 AM Brian Ho wrote:
> > >
> > > Implements an ioctl to wait until a value at a given iova is greater
> >
vkGetQueryPoolResults.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_drv.c | 63 +--
include/uapi/drm/msm_drm.h| 13
2 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
IRQs.
We can then wait on this wait queue inside MSM_WAIT_IOVA until the
condition is met.
The corresponding merge request in mesa can be found at:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3279
Brian Ho (2):
drm/msm: Add a GPU-wide wait queue
drm/msm: Add MSM_WAIT_IOVA ioctl
This wait queue is signaled on all IRQs for a given GPU and will be
used as part of the new MSM_WAIT_IOVA ioctl so userspace can sleep
until the value at a given iova reaches a certain condition.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_gpu.c | 4
drivers/gpu/drm/msm/msm_gpu.h
vkGetQueryPoolResults.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_drv.c | 60 +--
include/uapi/drm/msm_drm.h| 12 +++
2 files changed, 70 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index
This wait queue is signaled on all IRQs for a given GPU and will be
used as part of the new MSM_WAIT_IOVA ioctl so userspace can sleep
until the value at a given iova reaches a certain condition.
Signed-off-by: Brian Ho
---
drivers/gpu/drm/msm/msm_gpu.c | 4
drivers/gpu/drm/msm/msm_gpu.h
IRQs.
We can then wait on this wait queue inside MSM_WAIT_IOVA until the
condition is met.
The corresponding merge request in mesa can be found at:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3279
Brian Ho (2):
drm/msm: Add a GPU-wide wait queue
drm/msm: Add MSM_WAIT_IOVA ioctl
15 matches
Mail list logo