projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'drm-misc-next-2020-02-10' of git://anongit.freedesktop.org/drm/drm-misc...
[platform/kernel/linux-rpi.git]
/
drivers
/
gpu
/
drm
/
lima
/
lima_sched.c
diff --git
a/drivers/gpu/drm/lima/lima_sched.c
b/drivers/gpu/drm/lima/lima_sched.c
index
5f9c544
..
3886999
100644
(file)
--- a/
drivers/gpu/drm/lima/lima_sched.c
+++ b/
drivers/gpu/drm/lima/lima_sched.c
@@
-159,9
+159,10
@@
int lima_sched_context_init(struct lima_sched_pipe *pipe,
struct lima_sched_context *context,
atomic_t *guilty)
{
struct lima_sched_context *context,
atomic_t *guilty)
{
- struct drm_
sched_rq *rq = pipe->base.sched_rq + DRM_SCHED_PRIORITY_NORMAL
;
+ struct drm_
gpu_scheduler *sched = &pipe->base
;
- return drm_sched_entity_init(&context->base, &rq, 1, guilty);
+ return drm_sched_entity_init(&context->base, DRM_SCHED_PRIORITY_NORMAL,
+ &sched, 1, guilty);
}
void lima_sched_context_fini(struct lima_sched_pipe *pipe,
}
void lima_sched_context_fini(struct lima_sched_pipe *pipe,