diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-18 16:23:24 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-06-15 17:23:14 +0900 |
commit | e5dfb6c2667994701ee451bf82c4142cbf343405 (patch) | |
tree | 410da48e42c314d7567b59baab33563138997aee /man | |
parent | 08da7b691d556735dcc22b1351c886a5079dfd3f (diff) |
glamor: Add Option "ShadowPrimary"
When this option is enabled, most pixmaps (including the screen pixmap)
are allocated in system RAM and mostly accessed by the CPU. Changed areas
of the screen pixmap are copied to dedicated per-CRTC scanout pixmaps
regularly, triggered by the vblank interrupt.
(Cherry picked from radeon commits ae92d1765fa370a8d94c2856ad6c45d273ec3c69
and 1af044d7eee211fd4b248c236280274a68334da5)
[ Michel Dänzer: Additional adjustements for the amdgpu driver ]
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/amdgpu.man | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/man/amdgpu.man b/man/amdgpu.man index bc7bf30..d280197 100644 --- a/man/amdgpu.man +++ b/man/amdgpu.man @@ -50,15 +50,7 @@ Enables or disables all hardware acceleration. The default is to .B enable hardware acceleration. -.TP -.BI "Option \*qAccelMethod\*q \*q" string \*q -Setting this option to -.B none -disables use of the glamor acceleration architecture. In that case, all 2D -rendering is done by the CPU, but 3D and video hardware acceleration can still -work. This is mainly useful for OpenGL driver bring-up. -.br -The default is to use glamor. + .TP .BI "Option \*qZaphodHeads\*q \*q" string \*q Specify the RandR output(s) to use with zaphod mode for a particular driver @@ -77,6 +69,31 @@ Enable the DRI3 extension. The default is .BI "Option \*qEnablePageFlip\*q \*q" boolean \*q Enable DRI2 page flipping. The default is .B on. +.TP +.BI "Option \*qAccelMethod\*q \*q" string \*q +Setting this option to +.B none +disables use of the glamor acceleration architecture. In that case, all 2D +rendering is done by the CPU, but 3D and video hardware acceleration can still +work. This is mainly useful for OpenGL driver bring-up. +.br +The default is to use glamor. + +.PP +The following driver +.B Option +is supported for +.B glamor +: +.TP +.BI "Option \*qShadowPrimary\*q \*q" boolean \*q +This option enables a so-called "shadow primary" buffer for fast CPU access to +pixel data, and separate scanout buffers for each display controller (CRTC). +This may improve performance for some 2D workloads, potentially at the expense +of other (e.g. 3D, video) workloads. +Note in particular that enabling this option currently disables page flipping. +The default is +.B off. .SH SEE ALSO __xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__) |