• Daniel Vetter's avatar
    drm/sched: drop entity parameter from drm_sched_push_job · 0e10e9a1
    Daniel Vetter authored
    Originally a job was only bound to the queue when we pushed this, but
    now that's done in drm_sched_job_init, making that parameter entirely
    redundant.
    
    Remove it.
    
    The same applies to the context parameter in
    lima_sched_context_queue_task, simplify that too.
    
    v2:
    Rebase on top of msm adopting drm/sched
    Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
    Acked-by: default avatarEmma Anholt <emma@anholt.net>
    Acked-by: default avatarMelissa Wen <mwen@igalia.com>
    Reviewed-by: Steven Price <steven.price@arm.com> (v1)
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> (v1)
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    Cc: Lucas Stach <l.stach@pengutronix.de>
    Cc: Russell King <linux+etnaviv@armlinux.org.uk>
    Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
    Cc: Qiang Yu <yuq825@gmail.com>
    Cc: Rob Herring <robh@kernel.org>
    Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
    Cc: Steven Price <steven.price@arm.com>
    Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    Cc: Emma Anholt <emma@anholt.net>
    Cc: David Airlie <airlied@linux.ie>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: Sumit Semwal <sumit.semwal@linaro.org>
    Cc: "Christian König" <christian.koenig@amd.com>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Cc: Nirmoy Das <nirmoy.das@amd.com>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Chen Li <chenli@uniontech.com>
    Cc: Lee Jones <lee.jones@linaro.org>
    Cc: Deepak R Varma <mh12gx2825@gmail.com>
    Cc: Kevin Wang <kevin1.wang@amd.com>
    Cc: Luben Tuikov <luben.tuikov@amd.com>
    Cc: "Marek Olšák" <marek.olsak@amd.com>
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
    Cc: Dennis Li <Dennis.Li@amd.com>
    Cc: Boris Brezillon <boris.brezillon@collabora.com>
    Cc: etnaviv@lists.freedesktop.org
    Cc: lima@lists.freedesktop.org
    Cc: linux-media@vger.kernel.org
    Cc: linaro-mm-sig@lists.linaro.org
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: Sean Paul <sean@poorly.run>
    Cc: Melissa Wen <mwen@igalia.com>
    Cc: linux-arm-msm@vger.kernel.org
    Cc: freedreno@lists.freedesktop.org
    Link: https://patchwork.freedesktop.org/patch/msgid/20210805104705.862416-6-daniel.vetter@ffwll.ch
    0e10e9a1
sched_entity.c 15.2 KB