From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751763AbcFWIVv (ORCPT ); Thu, 23 Jun 2016 04:21:51 -0400 Received: from mga04.intel.com ([192.55.52.120]:48949 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbcFWIVt (ORCPT ); Thu, 23 Jun 2016 04:21:49 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,509,1459839600"; d="scan'208";a="1008006666" From: Jani Nikula To: Daniel Vetter , Thierry Reding Cc: Daniel Vetter , "dri-devel\@lists.freedesktop.org" , "linux-kernel\@vger.kernel.org" , Tomeu Vizoso , Emil Velikov Subject: Re: [PATCH v1 2/3] drm: Add API for capturing frame CRCs In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <1466507202-23222-1-git-send-email-tomeu.vizoso@collabora.com> <1466507202-23222-3-git-send-email-tomeu.vizoso@collabora.com> <20160621150758.GB21079@ulmo.ba.sec> <20160622133216.GL26943@ulmo.ba.sec> <20160622143144.GN26943@ulmo.ba.sec> User-Agent: Notmuch/0.22+12~gbdd9442 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Thu, 23 Jun 2016 11:21:45 +0300 Message-ID: <8760t0jox2.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Jun 2016, Daniel Vetter wrote: > On Wed, Jun 22, 2016 at 4:31 PM, Thierry Reding > wrote: >> Perhaps another way to avoid that would be to put the two files into a >> separate directory, as in: >> >> /sys/kernel/debug/dri//crtc-/crc/ >> +-- control >> +-- data >> >> That's slightly on the deeply nested side, but on the other hand it >> nicely uses the filesystem for namespacing, which is what filesystems >> are really good at. > > crtc-/crc/(control|data) sounds great. Side note, we should eventually do the same for sink CRCs, but I guess under the connectors. i915 currently has a special cased version for eDP (named "i915_sink_crc_eDP1"...), reading the data from DPCD. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center