[Intel-gfx] [PATCH] drm/i915: expose a fixed brightness range to userspace

2014-11-11 Thread U. Artie Eoff
r smoother backlight transitions. Reference: http://lists.freedesktop.org/archives/intel-gfx/2014-November/055221.html Signed-off-by: U. Artie Eoff --- drivers/gpu/drm/i915/intel_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drive

[Intel-gfx] [PATCH 1/2] drm/i915: intel_backlight scale() math WA

2014-09-30 Thread U. Artie Eoff
lson) clarify commit message, use rounded division macro v3: -DIV_ROUND_CLOSEST() fails to build with CONFIG_X86_32=y. (Jani) -Use DIV_ROUND_CLOSEST_ULL() instead. (Damien) -v1 and v2 originally authored by Joe Konno. v4: Add reference to issue report in commit message. Signed-o

[Intel-gfx] [PATCH 2/2 v2] drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header

2014-09-30 Thread U. Artie Eoff
Move the duplicated DIV_ROUND_CLOSEST_ULL macro into the intel_drv.h header file so that it can be shared between intel_display.c and intel_panel.c. OTC-Jira: VIZ-4395 v2: Add reference to issue report in commit message. Signed-off-by: U. Artie Eoff --- drivers/gpu/drm/i915/intel_display.c

[Intel-gfx] [PATCH 1/2 v3] drm/i915: intel_backlight scale() math WA

2014-09-29 Thread U. Artie Eoff
message, use rounded division macro v3: -DIV_ROUND_CLOSEST() fails to build with CONFIG_X86_32=y. (Jani) -Use DIV_ROUND_CLOSEST_ULL() instead. (Damien) -v1 and v2 originally authored by Joe Konno. Signed-off-by: U. Artie Eoff --- drivers/gpu/drm/i915/intel_panel.c | 8 +--- 1 file c

[Intel-gfx] [PATCH 2/2] drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header

2014-09-29 Thread U. Artie Eoff
Move the duplicated DIV_ROUND_CLOSEST_ULL macro into the intel_drv.h header file so that it can be shared between intel_display.c and intel_panel.c. Signed-off-by: U. Artie Eoff --- drivers/gpu/drm/i915/intel_display.c | 3 --- drivers/gpu/drm/i915/intel_drv.h | 3 +++ drivers/gpu/drm/i915

[Intel-gfx] [PATCH 0/2] drm/i915: WA intel_backlight scale math

2014-09-29 Thread U. Artie Eoff
ut of context of intel_display.c). U. Artie Eoff (2): drm/i915: intel_backlight scale() math WA drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header drivers/gpu/drm/i915/intel_display.c | 3 --- drivers/gpu/drm/i915/intel_drv.h | 3 +++ drivers/gpu/drm/i915/intel_panel.c | 5 ++--- 3

[Intel-gfx] [PATCH] configure: suggest upstream to find macros in case they're missing.

2010-12-21 Thread U. Artie Eoff
added upstream suggestion to error message in case xorg macros or xserver macros are missing. removed package manager references in suggestion since these are 'user' and/or 'distribution' preferences. --- configure.ac |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/c

[Intel-gfx] [PATCH] configure: updated m4 macro check in configure.ac

2010-12-21 Thread U. Artie Eoff
Added m4 check for XORG_DRIVER_CHECK_EXT macro definition. Updated m4 fatal messages to give better hint on how to resolve error when xorg macros are missing. Previously, configure would continue in spite of the missing macros and the build would fail for syntax errors. --- configure.ac |