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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 60D7FC05027 for ; Wed, 1 Feb 2023 15:20:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C54D10E40D; Wed, 1 Feb 2023 15:20:19 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9266010E0BC for ; Wed, 1 Feb 2023 15:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675264817; x=1706800817; h=date:from:to:cc:subject:message-id:mime-version; bh=Co+f7Vf78df10Ju8htEljf3pm7UP9SaK97ZqGP05ozk=; b=WYbxZTynrKz7S1s4Abx/Sh+mVzD3bH3BRQCyL7aJXA9h2fM6L8XAyDtA ro3okAbD5lZu//82alAdq3BQplEMhyvOTWAglH+ePlahlD84R381PpFkW nd2GGs9HT6XVHUyPVyy5DKBFes5frImTw+nGwjVhi0/tpQiwJrhWa0XOs s0bPqTN4mYLrMskFM0FsZGoYAI1s/gycNTPJhyAHLZ5PElnEVP2yuJ7Do 7TPXjXBqPjOoW+cfJC4fQ8NNVg1PwPnVceFxD5VNeO2TMm2zW36SIWu7q hmYoTn58N2k6pwXDeVBXu3Hz0ds2MOT8Fuxa5PlpT3oZ9PKI7A5DjVLRH w==; X-IronPort-AV: E=McAfee;i="6500,9779,10608"; a="308510704" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="308510704" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2023 07:20:07 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10608"; a="658344329" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="658344329" Received: from joe-255.igk.intel.com (HELO localhost) ([10.91.220.57]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2023 07:20:05 -0800 Date: Wed, 1 Feb 2023 16:20:03 +0100 From: Stanislaw Gruszka To: Daniel Vetter Subject: DRM accel and debugfs/sysfs Message-ID: <20230201152003.GA2623449@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Jeffrey Hugo , Oded Gabbay , =?iso-8859-1?Q?Ma=EDra?= Canal , dri-devel@lists.freedesktop.org, Jacek Lawrynowicz Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi I was about to send debugfs support for ivpu and noticed that there are current changes that deprecate drm_devel->debugfs_init callback. Further I looked at this commit [1], that stated we should not use drm_minor for debugfs and sysfs. What is quite contrary to what drm accel framework did in the first place. So my question is how we should use debugfs/sysfs in accel? Use it with old fashioned minor-centric way or change the framework somehow ? [1] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=99845faae7099cd704ebf67514c1157c26960a26 Regards Stanislaw