OSDN Git Service

drm/i915/selftests: Drop stale timeline constructor assert
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jul 2020 10:22:06 +0000 (11:22 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 7 Sep 2020 10:17:13 +0000 (13:17 +0300)
commitbde246d893fca22cf84f6fb044395ab0a47589b7
treeed3d117e6de3654408cc0c5b871c13bc8c979adc
parent13106019f79bee105af1d3afdcb38b38771d81b9
drm/i915/selftests: Drop stale timeline constructor assert

Since we pass around encoded parameters to the kernel context
constructor using the ce->timeline pointer, we can no longer assert that
it should be zero for mock timeline construction.

Fixes: d1bf5dd8f6d5 ("drm/i915/gt: Support multiple pinned timelines")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200731102206.6793-1-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[Joonas: Updated Fixes: link after rebasing and reordering into drm-intel-gt-next branch]
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/mock_engine.c