<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/drm/drm_property.h, branch linux-7.0.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-01-14T00:18:31+00:00</updated>
<entry>
<title>drm/atomic: add max_size check to drm_property_replace_blob_from_id()</title>
<updated>2026-01-14T00:18:31+00:00</updated>
<author>
<name>Dmitry Baryshkov</name>
<email>dmitry.baryshkov@oss.qualcomm.com</email>
</author>
<published>2026-01-06T03:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ca59e33f5a1f642d13ae0e558fdbdd9aaa9fe203'/>
<id>urn:sha1:ca59e33f5a1f642d13ae0e558fdbdd9aaa9fe203</id>
<content type='text'>
The function drm_property_replace_blob_from_id() allows checking whether
the blob size is equal to a predefined value. In case of variable-size
properties (like the gamma / degamma LUTs) we might want to check for
the blob size against the maximum, allowing properties of the size
lesser than the max supported by the hardware. Extend the function in
order to support such checks.

Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patch.msgid.link/20260106-drm-fix-lut-checks-v3-2-f7f979eb73c8@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>drm/drm_property: make replace_property_blob_from_id a DRM helper</title>
<updated>2023-12-13T20:09:53+00:00</updated>
<author>
<name>Melissa Wen</name>
<email>mwen@igalia.com</email>
</author>
<published>2023-11-16T19:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=601603105325ad4ec62db95c9bc428202ece2c8f'/>
<id>urn:sha1:601603105325ad4ec62db95c9bc428202ece2c8f</id>
<content type='text'>
Place it in drm_property where drm_property_replace_blob and
drm_property_lookup_blob live. Then we can use the DRM helper for
driver-specific KMS properties too.

Reviewed-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Reviewed-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Signed-off-by: Melissa Wen &lt;mwen@igalia.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm: document drm_property_enum.value for bitfields</title>
<updated>2021-07-26T08:08:22+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-07-21T06:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3012248fdfeec400accef73bd2957f6d12f87234'/>
<id>urn:sha1:3012248fdfeec400accef73bd2957f6d12f87234</id>
<content type='text'>
When a property has the type DRM_MODE_PROP_BITMASK, the value field
stores a bitshift, not a bitmask, which can be surprising.

Signed-off-by: Simon Ser &lt;contact@emersion.fr&gt;
Cc: Leandro Ribeiro &lt;leandro.ribeiro@collabora.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Acked-by: Pekka Paalanen &lt;pekka.paalanen@collabora.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/NUZTPTKKZtAlDhxIXFB1qrUqWBYKapkBxCnb1S1bc3g@cp3-web-033.plabs.ch
</content>
</entry>
<entry>
<title>drm: Fix macro name DRM_MODE_PROP_OBJECT in code comment</title>
<updated>2021-01-12T08:56:48+00:00</updated>
<author>
<name>Zhaoge Zhang</name>
<email>zhangzhaoge@loongson.cn</email>
</author>
<published>2021-01-12T01:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7e60bdeb91ef7914a667be266ac0a0e6ea335475'/>
<id>urn:sha1:7e60bdeb91ef7914a667be266ac0a0e6ea335475</id>
<content type='text'>
Signed-off-by: Zhaoge Zhang &lt;zhangzhaoge@loongson.cn&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1610416479-32736-1-git-send-email-zhangzhaoge@loongson.cn
</content>
</entry>
<entry>
<title>drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE</title>
<updated>2018-10-03T20:05:12+00:00</updated>
<author>
<name>Manasi Navare</name>
<email>manasi.d.navare@intel.com</email>
</author>
<published>2018-10-02T21:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4db4b85014df7fa3c91a2e9330ca446ac9b3b882'/>
<id>urn:sha1:4db4b85014df7fa3c91a2e9330ca446ac9b3b882</id>
<content type='text'>
This patch explains the DRM_MODE_PROP_IMMUTABLE flag a bit better
by telling which function to call if kernel wants to update
drm object's immutable properties.

Suggested-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Manasi Navare &lt;manasi.d.navare@intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20181002215055.8652-1-manasi.d.navare@intel.com
</content>
</entry>
<entry>
<title>drm: drop drmP.h include from drm_plane.c</title>
<updated>2018-09-09T12:19:17+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2018-09-05T13:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b88ac005654dbc25099e8a0db06df048234561f7'/>
<id>urn:sha1:b88ac005654dbc25099e8a0db06df048234561f7</id>
<content type='text'>
Just a bit of missing includes and pre declarations.

v2: Compiles now, with drm/drm_util.h extracted.

v3: Rebase

v3: Fix up commit message (Sam Ravnborg)

Reviewed-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180905135711.28370-3-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm: Fix kerneldoc for DRM_MODE_PROP_IMMUTABLE</title>
<updated>2018-07-13T16:18:03+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2018-07-13T15:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=90a460d5dd205b1b39dae3dad041a37cf7c4241d'/>
<id>urn:sha1:90a460d5dd205b1b39dae3dad041a37cf7c4241d</id>
<content type='text'>
Noticed this while browsing the docs.

Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180713153444.95466-1-seanpaul@chromium.org
</content>
</entry>
<entry>
<title>drm: Don't pass the index to drm_property_add_enum()</title>
<updated>2018-04-27T13:46:50+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2018-03-16T19:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=30e9db6d046ba667070e5a011a13951830d60a6e'/>
<id>urn:sha1:30e9db6d046ba667070e5a011a13951830d60a6e</id>
<content type='text'>
drm_property_add_enum() can calculate the index itself just fine,
so no point in having the caller pass it in.

Cc: Patrik Jakobsson &lt;patrik.r.jakobsson@gmail.com&gt;
Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180316190420.26734-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy &lt;stanislav.lisovskiy@intel.com&gt;
</content>
</entry>
<entry>
<title>drm: Remove drm_property_{un/reference}_blob aliases</title>
<updated>2018-03-22T13:21:53+00:00</updated>
<author>
<name>Haneen Mohammed</name>
<email>hamohammed.sa@gmail.com</email>
</author>
<published>2018-03-20T13:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3ae7fb202d86b7847f237daa474f3946bdc3b0c6'/>
<id>urn:sha1:3ae7fb202d86b7847f237daa474f3946bdc3b0c6</id>
<content type='text'>
This patch remove the compatibility aliases
drm_property_{reference/unreference}_blob of
drm_property_blob_{get/put} since all callers have been converted to the
prefered _{get/put}.

Remove the helpers from the semantic patch drm-get-put-cocci.

Signed-off-by: Haneen Mohammed &lt;hamohammed.sa@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180320133749.GA11695@haneen-VirtualBox
</content>
</entry>
<entry>
<title>Revert "drm: Use a flexible array member for blob property data"</title>
<updated>2018-03-16T13:44:01+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2018-02-23T19:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9c60583c0b0fd6f3a5b61fda3eb604ce218b9d25'/>
<id>urn:sha1:9c60583c0b0fd6f3a5b61fda3eb604ce218b9d25</id>
<content type='text'>
Using a flexible array for the blob data was a mistake by me. It
forces all users of the blob data to cast blob-&gt;data to something
else. void* is clearly superior so let's go back to the original
scheme.

Not a clean revert as the code has moved.

This reverts commit d63f5e6bf6f2a1573ea39c9937cdf5ab0b3a4b77.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180223192506.29992-1-ville.syrjala@linux.intel.com
Reviewed-by: Shashank Sharma &lt;shashank.sharma@intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
</feed>
