Add intel_panel_fitter tool

The tool allows you to change the panel fitter settings, so you can
change the size of the screen being displayed on your monitor without
changing the real pixel size of your desktop. The biggest use case for
this tool is to work around overscan done by TVs and some monitors in
interlaced mode.

v2: reviews by Ben, Chris and Rodrigo
 - don't install
 - use intel_register_access_init
 - check for maximum X and Y values
 - add a disclaimer saying this is not the real solution
 - print less when pf is disabled and option '-l' is used

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Paulo Zanoni
2012-02-15 16:04:28 -02:00
committed by Daniel Vetter
parent ecad594e02
commit 3b65f179f2
5 changed files with 398 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ appman_PRE = \
intel_gpu_top.man \
intel_gtt.man \
intel_lid.man \
intel_panel_fitter.man \
intel_reg_dumper.man \
intel_reg_read.man \
intel_reg_write.man \
+50
View File
@@ -0,0 +1,50 @@
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH intel_panel_fitter __appmansuffix__ __xorgversion__
.SH NAME
intel_panel_fitter \- Change the panel fitter settings
.SH SYNOPSIS
.B intel_panel_fitter [options]
.SH DESCRIPTION
.B intel_panel_fitter
is a tool that allows you to change the panel fitter settings, so you can change
the size of the screen being displayed on your monitor without changing the real
pixel size of your desktop. The biggest use case for this tool is to work around
overscan done by TVs and some monitors in interlaced mode.
.SS Options
.TP
.B -p [pipe]
pipe to be used (A, B or C, but C is only present on Ivy Bridge and newer).
.TP
.B -x [value]
final screen width size in pixels (needs -p option).
.TP
.B -y [value]
final screen height size in pixels (needs -p option).
.TP
.B -d
disable panel fitter (needs -p option, ignores -x and -y options).
.TP
.B -l
list current state of each pipe.
.TP
.B -h
prints the help message.
.SS
.SH EXAMPLES
.TP
.B intel_panel_fitter -l
will list the current status of each pipe, so you can decide what to do.
.TP
.B intel_panel_fitter -p A -x 1850 -y 1040
will change the pipe A size to 1850x1040 pixels.
.TP
.B intel_panel_fitter -p A -d
will disable the panel fitter for pipe A.
.SH NOTES
In the future, there will be support for this feature inside the Linux Kernel.
Machines older than Ironlake are still not supported, but support may be
possible to implement.