Skip to content

Commit 6e2fc85

Browse files
bagasmegregkh
authored andcommitted
accel: Link to compute accelerator subsystem intro
[ Upstream commit 6d179f8 ] Commit 2c204f3 ("accel: add dedicated minor for accelerator devices") adds link to accelerator nodes section of DRM internals doc (Documentation/gpu/drm-internals.rst), but the target doesn't exist. Instead, there is only an introduction doc for computer accelerator subsytem. Link to that doc until there is documentation of accelerator internals. Fixes: 2c204f3 ("accel: add dedicated minor for accelerator devices") Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 19f3620 commit 6e2fc85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/drm/drm_file.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ static inline bool drm_is_render_client(const struct drm_file *file_priv)
408408
* Returns true if this is an open file of the compute acceleration node, i.e.
409409
* &drm_file.minor of @file_priv is a accel minor.
410410
*
411-
* See also the :ref:`section on accel nodes <drm_accel_node>`.
411+
* See also :doc:`Introduction to compute accelerators subsystem
412+
* </accel/introduction>`.
412413
*/
413414
static inline bool drm_is_accel_client(const struct drm_file *file_priv)
414415
{

0 commit comments

Comments
 (0)