<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in drm_accel.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>45c4d994 - accel: Use XArray instead of IDR for minors</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#45c4d994</link>
        <description>accel: Use XArray instead of IDR for minorsAccel minor management is based on DRM (and is also using structdrm_minor internally), since DRM is using XArray for minors, it makessense to also convert accel.As the two implementations are identical (only difference being theunderlying xarray), move the accel_minor_* functionality to DRM.Signed-off-by: Micha&#322; Winiarski &lt;michal.winiarski@intel.com&gt;Acked-by: James Zhu &lt;James.Zhu@amd.com&gt;Acked-by: Christian K&#246;nig &lt;christian.koenig@amd.com&gt;Link: https://patchwork.freedesktop.org/patch/msgid/20240823163048.2676257-3-michal.winiarski@intel.comSigned-off-by: Christian K&#246;nig &lt;christian.koenig@amd.com&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Fri, 23 Aug 2024 16:30:47 +0000</pubDate>
        <dc:creator>Micha&#322; Winiarski &lt;michal.winiarski@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>576d7cc5 - accel: constify the struct device_type usage</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#576d7cc5</link>
        <description>accel: constify the struct device_type usageSince commit aed65af1cc2f (&quot;drivers: make device_type const&quot;), the drivercore can properly handle constant struct device_type. Move theaccel_sysfs_device_minor variable to be a constant structure as well,placing it into read-only memory which can not be modified at runtime.Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Signed-off-by: Ricardo B. Marliere &lt;ricardo@marliere.net&gt;Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Mon, 19 Feb 2024 19:48:28 +0000</pubDate>
        <dc:creator>Ricardo B. Marliere &lt;ricardo@marliere.net&gt;</dc:creator>
    </item>
<item>
        <title>64c39a93 - accel: Include &lt;drm/drm_auth.h&gt;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#64c39a93</link>
        <description>accel: Include &lt;drm/drm_auth.h&gt;One of the source files includes &lt;drm/drm_auth.h&gt; via &lt;drm/drm_legacy.h&gt;,which will be removed. Include drm_auth.h directly.Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;Cc: Oded Gabbay &lt;ogabbay@kernel.org&gt;Reviewed-by: David Airlie &lt;airlied@gmail.com&gt;Reviewed-by: Daniel Vetter &lt;daniel@ffwll.ch&gt;Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;Link: https://patchwork.freedesktop.org/patch/msgid/20231122122449.11588-6-tzimmermann@suse.de

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Wed, 22 Nov 2023 12:09:34 +0000</pubDate>
        <dc:creator>Thomas Zimmermann &lt;tzimmermann@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>e11a7d2c - accel: make accel_class a static const structure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#e11a7d2c</link>
        <description>accel: make accel_class a static const structureNow that the driver core allows for struct class to be in read-onlymemory, move the accel_class structure to be declared at build timeplacing it into read-only memory, instead of having to be dynamicallyallocated at boot time.Cc: dri-devel@lists.freedesktop.orgSuggested-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Signed-off-by: Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Reviewed-by: Tomer Tayar &lt;ttayar@habana.ai&gt;Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Tue, 20 Jun 2023 18:25:29 +0000</pubDate>
        <dc:creator>Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>8e455145 - drm/debugfs: rework drm_debugfs_create_files implementation v2</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#8e455145</link>
        <description>drm/debugfs: rework drm_debugfs_create_files implementation v2Use managed memory allocation for this. That allows us to not keeptrack of all the files any more.v2: keep drm_debugfs_cleanup(), but rename to drm_debugfs_unregister(),    we still need to cleanup the symlinkSigned-off-by: Christian K&#246;nig &lt;christian.koenig@amd.com&gt;Link: https://patchwork.freedesktop.org/patch/msgid/20230829110115.3442-6-christian.koenig@amd.comReviewed-by: Andi Shyti &lt;andi.shyti@linux.intel.com&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Tue, 29 Aug 2023 11:01:15 +0000</pubDate>
        <dc:creator>Christian K&#246;nig &lt;ckoenig.leichtzumerken@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>0b30d57a - drm/debugfs: rework debugfs directory creation v5</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#0b30d57a</link>
        <description>drm/debugfs: rework debugfs directory creation v5Instead of the per minor directories only create a single debugfsdirectory for the whole device directly when the device is initialized.For DRM devices each minor gets a symlink to the per device directoryfor now until we can be sure that this isn&apos;t useful any more in any way.Accel devices create only the per device directory and also drops the midlayer callback to create driver specific files.v2: cleanup accel component as wellv3: fix typo when debugfs is disabledv4: call drm_debugfs_dev_fini() during release as well,    some kerneldoc typos fixedv5: rebased and one more kerneldoc fixSigned-off-by: Christian K&#246;nig &lt;christian.koenig@amd.com&gt;Link: https://patchwork.freedesktop.org/patch/msgid/20230829110115.3442-4-christian.koenig@amd.comReviewed-by: Andi Shyti &lt;andi.shyti@linux.intel.com&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Tue, 29 Aug 2023 11:01:13 +0000</pubDate>
        <dc:creator>Christian K&#246;nig &lt;ckoenig.leichtzumerken@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>e76e7ec8 - drm/debugfs: drop debugfs_init() for the render and accel node v2</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#e76e7ec8</link>
        <description>drm/debugfs: drop debugfs_init() for the render and accel node v2We want to remove per minor debugfs directories. Start by stoppingdrivers from adding anything inside of those in the mid layer callback.v2: drop it for the accel node as wellSigned-off-by: Christian K&#246;nig &lt;christian.koenig@amd.com&gt;Tested-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;Reviewed-by: Andi Shyti &lt;andi.shyti@linux.intel.com&gt;Link: https://patchwork.freedesktop.org/patch/msgid/20230829110115.3442-2-christian.koenig@amd.com

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Tue, 29 Aug 2023 11:01:11 +0000</pubDate>
        <dc:creator>Christian K&#246;nig &lt;ckoenig.leichtzumerken@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1aaba11d - driver core: class: remove module * from class_create()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#1aaba11d</link>
        <description>driver core: class: remove module * from class_create()The module pointer in class_create() never actually did anything, and itshouldn&apos;t have been requred to be set as a parameter even if it didsomething.  So just remove it and fix up all callers of the function inthe kernel tree at the same time.Cc: &quot;Rafael J. Wysocki&quot; &lt;rafael@kernel.org&gt;Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;Link: https://lore.kernel.org/r/20230313181843.1207845-4-gregkh@linuxfoundation.orgSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Mon, 13 Mar 2023 18:18:35 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>dcde56bb - Fix mismerge due to devnode now taking a &apos;const *&apos; device</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#dcde56bb</link>
        <description>Fix mismerge due to devnode now taking a &apos;const *&apos; deviceThis was a mismerge of a semantic conflict in my merge of the drivercore updates, where commit ff62b8e6588f (&quot;driver core: make structclass.devnode() take a const *&quot;) changed the devnode function pointertype.  In the meantime, the drm tree I merged earlier had introduced anew use of that in commit 8bf4889762a8 (&quot;drivers/accel: define kconfigand register a new major&quot;).And of course this happens when I&apos;m traveling with my laptop, and thusdidn&apos;t do a full allmodconfig build between every pull and beforepushing my work out.So I only noticed later as I was doing my full build.Brown-paper-bag-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Fixes: 71a7507afbc3 Merge tag &apos;driver-core-6.2-rc1&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-coreSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Fri, 16 Dec 2022 19:04:15 +0000</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>2c204f3d - accel: add dedicated minor for accelerator devices</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#2c204f3d</link>
        <description>accel: add dedicated minor for accelerator devicesThe accelerator devices are exposed to user-space using a dedicatedmajor. In addition, they are represented in /dev with new, dedicateddevice char names: /dev/accel/accel*. This is done to make sure anyuser-space software that tries to open a graphic card won&apos;t openthe accelerator device by mistake.The above implies that the minor numbering should be separated fromthe rest of the DRM devices. However, to avoid code duplication, wewant the drm_minor structure to be able to represent the acceleratordevice.To achieve this, we add a new drm_minor* to drm_device that representsthe accelerator device. This pointer is initialized for drivers thatdeclare they handle compute accelerator, using a new driver featureflag called DRIVER_COMPUTE_ACCEL. It is important to note that thisdriver feature is mutually exclusive with DRIVER_RENDER. Devices thatwant to expose both graphics and compute device char files should behandled by two drivers that are connected using the auxiliary busframework.In addition, we define a different IDR to handle the acceleratorsminors. This is done to make the minor&apos;s index be identical to thedevice index in /dev/. Any access to the IDR is done solelyby functions in accel_drv.c, as the IDR is define as static. TheDRM core functions call those functions in case they detect the minor&apos;stype is DRM_MINOR_ACCEL.We define a separate accel_open function (from drm_open) that theaccel drivers should set as their open callback function. Both thesefunctions eventually call the same drm_open_helper(), which had to bechanged to be non-static so it can be called from accel_drv.c.accel_open() only partially duplicates drm_open as I removed some codefrom it that handles legacy devices.To help new drivers, I defined DEFINE_DRM_ACCEL_FOPS macro to easilyset the required function operations pointers structure.Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;Acked-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;Acked-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;Tested-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;Reviewed-by: Melissa Wen &lt;mwen@igalia.com&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Mon, 31 Oct 2022 13:33:06 +0000</pubDate>
        <dc:creator>Oded Gabbay &lt;ogabbay@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8bf48897 - drivers/accel: define kconfig and register a new major</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/accel/drm_accel.c#8bf48897</link>
        <description>drivers/accel: define kconfig and register a new majorAdd a new Kconfig for the accel subsystem. The Kconfig currentlycontains only the basic CONFIG_DRM_ACCEL option that will be used todecide whether to compile the accel registration code. Therefore, thekconfig option is defined as bool.The accel code will be compiled as part of drm.ko and will be calleddirectly from the DRM core code. The reason we compile it as part ofdrm.ko and not as a separate module is because of cyclic dependencybetween drm.ko and the separate module (if it would have existed).This is due to the fact that DRM core code calls accel functions andvice-versa.The accelerator devices will be exposed to the user space with a new,dedicated major number - 261.The accel init function registers the new major number as a char deviceand create corresponding sysfs and debugfs root entries, similar towhat is done in DRM init function.I added a new header called drm_accel.h to include/drm/, that will holdthe prototypes of the drm_accel.c functions. In case CONFIG_DRM_ACCELis set to &apos;N&apos;, that header will contain empty inline implementations ofthose functions, to allow DRM core code to compile successfullywithout dependency on CONFIG_DRM_ACCEL.I Updated the MAINTAINERS file accordingly with the newly added folderand I have taken the liberty to appropriate the dri-devel mailing listand the dri-devel IRC channel for the accel subsystem.Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;Acked-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;Acked-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;Tested-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;Reviewed-by: Melissa Wen &lt;mwen@igalia.com&gt;

            List of files:
            /linux-6.15/drivers/accel/drm_accel.c</description>
        <pubDate>Mon, 31 Oct 2022 13:28:35 +0000</pubDate>
        <dc:creator>Oded Gabbay &lt;ogabbay@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
