Skip to content

Commit b7ccc78

Browse files
icklejlahtine-intel
authored andcommitted
drm/i915/gt: Remove errant assertion in __intel_context_do_pin
This assertion was removed in commit b412c63 ("drm/i915/gt: Report context-is-closed prior to pinning"), but accidentally restored by a cherry-pick into drm-next and now has percolated back to drm-intel-next-queued. Fixes: 2e46a2a ("drm/i915: Use explicit flag to mark unreachable intel_context") Fixes: 2b703bb ("Merge drm/drm-next into drm-intel-next-queued") References: b412c63 ("drm/i915/gt: Report context-is-closed prior to pinning") Signed-off-by: Chris Wilson <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit f2c1061) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent 0fad590 commit b7ccc78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/i915/gt/intel_context.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ int __intel_context_do_pin(struct intel_context *ce)
9797
{
9898
int err;
9999

100-
GEM_BUG_ON(intel_context_is_closed(ce));
101-
102100
if (unlikely(!test_bit(CONTEXT_ALLOC_BIT, &ce->flags))) {
103101
err = intel_context_alloc_state(ce);
104102
if (err)

0 commit comments

Comments
 (0)