From owner-freebsd-current@freebsd.org Sun Aug 30 01:01:31 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 244699C03E0 for ; Sun, 30 Aug 2015 01:01:31 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD53ED8B for ; Sun, 30 Aug 2015 01:01:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by oigk185 with SMTP id k185so42515955oig.2 for ; Sat, 29 Aug 2015 18:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=UJ4HIXQNkIR9wgPmfzmc/+/nv/Ff3aohm9jTmpObLYo=; b=pGH1KPEl8JjQvThOkUOzuZ58REnFBdeuBD9rKlSOFkSydMSOH4GH7PQYWC3eTUobCt p5BG4S8Hw/m/Oz6eVpVs/8deZiSt8VwegkrzgwVq57yUPwFL1Twoad36UKg+kVAmMiab TehIur2cbzBKeiSbWgF1UFrqSm8dl6CuqDcbuhWRpyhSwjeyBour/r7oGJDsFCpPqe/3 VXhvSsrP2Hyjzg/8XYZpD6Leszu2Oc6CjWiU/tpYwEguixq/yx2asoVdimiQaSCy38uT lOASe+pnPunKsPcJKT5nWDVv+/ST/K0I6CW28DwuaxfhNbi4pxk9icCVYuQMCo5PLK4S LMVg== MIME-Version: 1.0 X-Received: by 10.202.169.138 with SMTP id s132mr9603537oie.71.1440896490217; Sat, 29 Aug 2015 18:01:30 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.173.83 with HTTP; Sat, 29 Aug 2015 18:01:29 -0700 (PDT) In-Reply-To: <55E212F9.6010908@yandex.ru> References: <55E212F9.6010908@yandex.ru> Date: Sat, 29 Aug 2015 18:01:29 -0700 X-Google-Sender-Auth: V1vIYO67d5wCR00Hni5YFNYNKSk Message-ID: Subject: Re: [drm:i915_gem_object_unbind] *ERROR* Attempting to unbind pinned buffer From: Kevin Oberman To: Ruslan Makhmatkhanov Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 01:01:31 -0000 On Sat, Aug 29, 2015 at 1:15 PM, Ruslan Makhmatkhanov wrote: > Hello, > > I'm getting tons of this in /var/log/messages: > error: [drm:pid9:i915_gem_object_unbind] *ERROR* Attempting to unbind > pinned buffer > > As far I understand [1], this case is harmless and there is no point to > print it with DRM_ERROR - DRM_DEBUG is sufficient. Can we please change it > in our tree like it done in patch attached? Thanks. > > PS. In Linux 3.8 [2] this check was changed by removing the warning > altogether and just returning -EBUSY, so may be we can do just this to > reduce the diff ;). > > [1] https://bugs.freedesktop.org/show_bug.cgi?id=50075 > [2] > http://lxr.free-electrons.com/source/drivers/gpu/drm/i915/i915_gem.c?v=3.8 > > -- > Regards, > Ruslan > Big +1. I've reported this in the (distant) past. It fills my logs, often with thousands of these messages. It makes it hard to find any REAL messages in the middle. (OK. "grep -v" works.) It is just a annoyance to have to deal with these. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683