From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B904C38A2A for ; Fri, 8 May 2020 06:26:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F34A620708 for ; Fri, 8 May 2020 06:26:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="LtMIkI+j" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F34A620708 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4DA036E07D; Fri, 8 May 2020 06:26:41 +0000 (UTC) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id E45106E07D for ; Fri, 8 May 2020 06:26:39 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id v12so468704wrp.12 for ; Thu, 07 May 2020 23:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=H8ZqC3GBUzt1/AqEuGm37gJAqTkD7DMHCS1QNdawOeM=; b=LtMIkI+joQJwN5j/ae9ZwyJUi6uky1+I+Nhgh5i/DEJ4hNhJcnbXuolQstXDJ1rcjv WioPgeWfO+AvuAYGlwrfNUuhg1TStT1NX8l+aktT9+BAbWfLxOz8bIyzhwpjraAAfDIA nKwJQSVte9+7XMJf9zi44a7hI/xy0BjXxxmoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=H8ZqC3GBUzt1/AqEuGm37gJAqTkD7DMHCS1QNdawOeM=; b=gvdd9XxTqeqKICU81Re0f+eGMX47cp2plTTisgBlN4c6cNf+GudY26N15CEmrp7Td0 zxn26e7go5nPAGEO2V8UXbJCuMTCYfBu+k3++l65YnV15iOaiLlc4rO7UCN5nMhAzTWL udyawoE1bhjcYcPPDBvYY1HioMYDXzCmugjXOYPTD/wZI9vX0Y/p6biWJ6J681i6OGG5 sQIMOt7cCsgK9NVuwMVQ2yyYa/K6jN31bbIOSnYdCpYnkso1PLT1LM0ahkShocQX9L7W Di2vHK7V04UHJMsPXlOBhLMTtl810m3FJhM+FQRaWIvtSK+gmhABTxug2ZP7KiY/749c cMzQ== X-Gm-Message-State: AGi0PubvZ0KuZF5UQze8QJqFJB+Gdk6GHpuTe2gl9vS0dj/KX0DSnLoq P9gqp8B1Ej7o0RionAsHWfQGXg== X-Google-Smtp-Source: APiQypIEF3sS0lXfJtYen51mklZfFAjga9JtWidZbf+IlJd9zDPS1+AA7LjOZwDm1PCLT63ttZtxtQ== X-Received: by 2002:adf:a4c5:: with SMTP id h5mr1003864wrb.408.1588919198511; Thu, 07 May 2020 23:26:38 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id u127sm11611792wme.8.2020.05.07.23.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 23:26:37 -0700 (PDT) Date: Fri, 8 May 2020 08:26:36 +0200 From: Daniel Vetter To: Emil Velikov Subject: Re: [PATCH 03/36] drm/todo: mention i915 in the struct_mutex section Message-ID: <20200508062636.GB10381@phenom.ffwll.local> References: <20200507150822.114464-1-emil.l.velikov@gmail.com> <20200507150822.114464-4-emil.l.velikov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200507150822.114464-4-emil.l.velikov@gmail.com> X-Operating-System: Linux phenom 5.4.0-4-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, May 07, 2020 at 04:07:49PM +0100, Emil Velikov wrote: > From: Emil Velikov > > Signed-off-by: Emil Velikov > --- > i915 uses the _unlocked version of the grm_gem_object API. Yet makes an > extensive use of the struct_mutex. > > Did not check how exactly it all work though. Reviewed-by: Daniel Vetter > --- > Documentation/gpu/todo.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst > index 658b52f7ffc6..2ce52c5917f8 100644 > --- a/Documentation/gpu/todo.rst > +++ b/Documentation/gpu/todo.rst > @@ -157,8 +157,8 @@ private lock. The tricky part is the BO free functions, since those can't > reliably take that lock any more. Instead state needs to be protected with > suitable subordinate locks or some cleanup work pushed to a worker thread. For > performance-critical drivers it might also be better to go with a more > -fine-grained per-buffer object and per-context lockings scheme. Currently only the > -``msm`` driver still use ``struct_mutex``. > +fine-grained per-buffer object and per-context lockings scheme. Currently only > +the ``msm`` and `i915` drivers use ``struct_mutex``. > > Contact: Daniel Vetter, respective driver maintainers > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel