Skip to contentSkip to conversation

Add intel_panel_fitter tool

PATCH In review Paulo Zanoni 2 participants 2 messages Feb 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 Add intel_panel_fitter tool

From: Paulo Zanoni <[email protected]>

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

---
 man/Makefile.am            |    1 +
 man/intel_panel_fitter.man |   50 +++++++
 tools/.gitignore           |    1 +
 tools/Makefile.am          |    3 +-
 tools/intel_panel_fitter.c |  344 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 398 insertions(+), 1 deletions(-)
 create mode 100644 man/intel_panel_fitter.man
 create mode 100644 tools/intel_panel_fitter.c
man/Makefile.am +1 -0
index 2b54195..0f197a9 100644
@@ -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		\
man/intel_panel_fitter.man new file +50 -0

50 lines not on this page · raw message

tools/.gitignore +1 -0
index 0bbdde1..ec82b6d 100644
@@ -11,6 +11,7 @@ intel_gpu_time
 intel_gpu_top
 intel_gtt
 intel_lid
+intel_panel_fitter
 intel_reg_checker
 intel_reg_dumper
 intel_reg_read
tools/Makefile.am +2 -1
index 970cc8d..a368130 100644
@@ -18,7 +18,8 @@ bin_PROGRAMS = 				\
 
 noinst_PROGRAMS = 			\
 	intel_dump_decode 		\
-	intel_lid
+	intel_lid			\
+	intel_panel_fitter
 
 dist_bin_SCRIPTS = intel_gpu_abrt
 
tools/intel_panel_fitter.c new file +344 -0

344 lines not on this page · raw message

Signature · 6 lines
1.7.9

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 8 lines · Paulo Zanoni

From: Paulo Zanoni <[email protected]>

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.

Quoted 8 lines

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

I've slurped these 4 patches into i-g-t, thanks.
-Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48