~emersion/drmdb

927757d25ca50a47c066e0ddd0828a0889e94d31 — Simon Ser 7 months ago 7044809
Link to DRM cap docs from snapshot page
1 files changed, 10 insertions(+), 4 deletions(-)

M public/snapshot.html
M public/snapshot.html => public/snapshot.html +10 -4
@@ 146,16 146,22 @@
<ul class="pre">
	{{with .Driver}}
	<li id="driver">Driver:
    <a href="/devices?driver={{.Name}}">{{.Name}}</a>
    ({{.Desc}}) version {{.Version}} on {{.Kernel.String}}
		<a href="/devices?driver={{.Name}}">{{.Name}}</a>
		({{.Desc}}) version {{.Version}} on {{.Kernel.String}}
		<ul>
			{{range $name, $ok := .ClientCaps}}
			<li>DRM_CLIENT_CAP_{{$name}}
			<li>{{"" -}}
				<a href="https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#c.DRM_CLIENT_CAP_{{$name}}" title="Show docs for this capability">{{"" -}}
					DRM_CLIENT_CAP_{{$name -}}
				</a>
				{{if $ok}}supported{{else}}unsupported{{end}}
			</li>
			{{end}}
			{{range $name, $value := .Caps}}
			<li>DRM_CAP_{{$name}}
			<li>{{"" -}}
				<a href="https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#c.DRM_CAP_{{$name}}" title="Show docs for this capability">{{"" -}}
					DRM_CAP_{{$name -}}
				</a>
				{{if $value}}
				= {{$value}}
				{{else}}