Message ID | 20240523130955.428233-5-jfalempe@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/nouveau: Add drm_panic support for nv50+ | expand |
diff --git a/include/drm/drm_panic.h b/include/drm/drm_panic.h index 73bb3f3d9ed9..f7c32d64af5f 100644 --- a/include/drm/drm_panic.h +++ b/include/drm/drm_panic.h @@ -51,6 +51,12 @@ struct drm_scanout_buffer { */ unsigned int pitch[DRM_FORMAT_MAX_PLANES]; + /** + * @private: Optional pointer to some private data you want to pass to + * the set_pixel() function. + */ + void *private; + /** * @set_pixel: Optional function, to set a pixel color on the * framebuffer. It allows to handle special tiling format inside the
So you can pass a parameter to the set_pixel() callback. Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> --- include/drm/drm_panic.h | 6 ++++++ 1 file changed, 6 insertions(+)