kernel/kernel-mfld-blackbay.git
12 years agox86 pn544 blackbay
arron.wang [Thu, 26 Jul 2012 07:26:58 +0000 (15:26 +0800)]
x86 pn544 blackbay

12 years agonetlink: advertise incomplete dumps
arron.wang [Thu, 26 Jul 2012 04:34:43 +0000 (12:34 +0800)]
netlink: advertise incomplete dumps

Consider the following situation:
 * a dump that would show 8 entries, four in the first
   round, and four in the second
 * between the first and second rounds, 6 entries are
   removed
 * now the second round will not show any entry, and
   even if there is a sequence/generation counter the
   application will not know

To solve this problem, add a new flag NLM_F_DUMP_INTR
to the netlink header that indicates the dump wasn't
consistent, this flag can also be set on the MSG_DONE
message that terminates the dump, and as such above
situation can be detected.

To achieve this, add a sequence counter to the netlink
callback struct. Of course, netlink code still needs
to use this new functionality. The correct way to do
that is to always set cb->seq when a dumpit callback
is invoked and call nl_dump_check_consistent() for
each new message. The core code will also call this
function for the final MSG_DONE message.

To make it usable with generic netlink, a new function
genlmsg_nlhdr() is needed to obtain the netlink header
from the genetlink user header.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
12 years agortc-mrst: init wakeup earlier than registering RTC device
Yong Wang [Tue, 24 Jul 2012 01:50:09 +0000 (09:50 +0800)]
rtc-mrst: init wakeup earlier than registering RTC device

Otherwise the RTC core won't know this is an wakeup capable RTC
device.

Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoSet and send ABS_X/Y for enabling specific multitouch input driver for mxt224 panel
Austin Zhang [Wed, 18 Jul 2012 04:01:43 +0000 (12:01 +0800)]
Set and send ABS_X/Y for enabling specific multitouch input driver for mxt224 panel

Set and send ABS_X/Y to make input driver evdevmultitouch happy, so
that we can use that input driver to implement multitouch support

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agoMerge "Added screen off notifier callback" into devel
Li, Peng [Mon, 16 Jul 2012 05:50:09 +0000 (22:50 -0700)]
Merge "Added screen off notifier callback" into devel

12 years agoMerge "Added screen-off notifier." into devel
Li, Peng [Mon, 16 Jul 2012 05:38:47 +0000 (22:38 -0700)]
Merge "Added screen-off notifier." into devel

12 years agoAdded screen off notifier callback
Austin Zhang [Mon, 9 Jul 2012 08:05:27 +0000 (16:05 +0800)]
Added screen off notifier callback

Added screen off notifier callback so that 'touch' will not light
on the LCD during one pending suspend process which is being blocked
by wakeup count from one wakeup event.

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agoAdded screen-off notifier.
Austin Zhang [Thu, 5 Jul 2012 12:33:05 +0000 (20:33 +0800)]
Added screen-off notifier.

Added notifier which indicating the screen is turned off, then we
should disable some devices from this stage, for example, we should
disable touch panel after screen off so that 'touch' will not light
on the LCD again when there is being pended suspend process due to
wakeup event, like insert USB cable.

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agoUpdate changelog
Markus Lehtonen [Thu, 12 Jul 2012 12:32:23 +0000 (15:32 +0300)]
Update changelog

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoaudio: fix locking bug in the audience es305 driver
Markus Lehtonen [Thu, 12 Jul 2012 17:17:44 +0000 (20:17 +0300)]
audio: fix locking bug in the audience es305 driver

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoUpdate changelog
Markus Lehtonen [Thu, 12 Jul 2012 12:32:23 +0000 (15:32 +0300)]
Update changelog

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoaudio: fix locking bug in the audience es305 driver
Markus Lehtonen [Thu, 12 Jul 2012 17:17:44 +0000 (20:17 +0300)]
audio: fix locking bug in the audience es305 driver

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoti-wlan: fix compilation when Android PM is disabled
Markus Lehtonen [Tue, 3 Jul 2012 15:20:03 +0000 (18:20 +0300)]
ti-wlan: fix compilation when Android PM is disabled

Fixes compilation of out-of-tree TI WLAN driver in Tizen.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agotizen packaging: use TI out-of-tree wifi driver from kernel source tree
Markus Lehtonen [Thu, 5 Jul 2012 11:20:14 +0000 (14:20 +0300)]
tizen packaging: use TI out-of-tree wifi driver from kernel source tree

Remove the ti-wlan source tarball from packaging. Update spec file to
use the driver imported to the kernel source tree instead of the
tarball.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agotizen packaging: update TI wifi driver build script
Markus Lehtonen [Thu, 5 Jul 2012 11:29:48 +0000 (14:29 +0300)]
tizen packaging: update TI wifi driver build script

Update the wl12xx driver build script to MCG WW26 release. Also, update
the related tizen patch.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoUpdate TI out-of-tree wifi driver
Markus Lehtonen [Tue, 3 Jul 2012 13:27:16 +0000 (16:27 +0300)]
Update TI out-of-tree wifi driver

WW26 release from MCG, git SHA1 0231038d90451da0e1fe1a09ff89e9ddb0fded20

Import the ti-wlan sources from MCG repo to our kernel source tree.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoUpdate changelog
Markus Lehtonen [Tue, 3 Jul 2012 15:42:56 +0000 (18:42 +0300)]
Update changelog

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agointel_mid_hsi: replace wakelock with wakeup event
Yong Wang [Mon, 2 Jul 2012 06:15:36 +0000 (14:15 +0800)]
intel_mid_hsi: replace wakelock with wakeup event

Replace Android's wakelock mechanism in modem driver
with wakeup event mechanism in order to block system
suspend operations when necessary.

Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoSound: import Jack Monitoring Interface from samsung
vivian, zhang [Mon, 25 Jun 2012 04:09:17 +0000 (12:09 +0800)]
Sound: import Jack Monitoring Interface from samsung

It is used to set jack status: earjack_online, earkey_online;
these status are required for earjack type detecting in avsystem project.

Signed-off-by: Vivian Zhang <vivian.zhang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoprevent system from entering s3 in gadget connected by using wakeup event way
Austin, Zhang [Mon, 18 Jun 2012 07:52:33 +0000 (15:52 +0800)]
prevent system from entering s3 in gadget connected by using wakeup event way

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoprevent system from entering s3 in otg work by using wakeup event way
Austin, Zhang [Mon, 18 Jun 2012 07:51:25 +0000 (15:51 +0800)]
prevent system from entering s3 in otg work by using wakeup event way

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoprevent system from entering s3 in RTC setting by using wakeup event way
Austin, Zhang [Mon, 18 Jun 2012 07:49:52 +0000 (15:49 +0800)]
prevent system from entering s3 in RTC setting by using wakeup event way

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoprevent system from entering s3 in data operation by using wakeup event way
Austin, Zhang [Mon, 18 Jun 2012 07:47:22 +0000 (15:47 +0800)]
prevent system from entering s3 in data operation by using wakeup event way

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoprevent system from entering s3 while charger is connected by using wakeup event way
Austin, Zhang [Mon, 18 Jun 2012 07:41:33 +0000 (15:41 +0800)]
prevent system from entering s3 while charger is connected by using wakeup event way

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
12 years agoDisable android earlysuspend and wakelock features
Austin Zhang [Fri, 29 Jun 2012 05:36:26 +0000 (13:36 +0800)]
Disable android earlysuspend and wakelock features

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agoadd back android pm entries so that we support different pm path according MACRO
Austin, Zhang [Mon, 28 May 2012 11:03:07 +0000 (19:03 +0800)]
add back android pm entries so that we support different pm path according MACRO

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agogfx: new suspend and resume interface
Li Peng [Fri, 18 May 2012 07:37:01 +0000 (15:37 +0800)]
gfx: new suspend and resume interface

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agomake ms5607 driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:57:53 +0000 (18:57 +0800)]
make ms5607 driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake mpu3050 driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:57:16 +0000 (18:57 +0800)]
make mpu3050 driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake ltr502als driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:56:48 +0000 (18:56 +0800)]
make ltr502als driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake lsm303-compass driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:56:13 +0000 (18:56 +0800)]
make lsm303-compass driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake lps331ap driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:55:36 +0000 (18:55 +0800)]
make lps331ap driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake lis3dh driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:55:10 +0000 (18:55 +0800)]
make lis3dh driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake leds-kpd driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:54:39 +0000 (18:54 +0800)]
make leds-kpd driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake l3g4200d driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:54:03 +0000 (18:54 +0800)]
make l3g4200d driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake hmc5883 driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:53:22 +0000 (18:53 +0800)]
make hmc5883 driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agomake atmel driver use tranditional pm path if no-android pm
Austin, Zhang [Mon, 28 May 2012 10:52:18 +0000 (18:52 +0800)]
make atmel driver use tranditional pm path if no-android pm

Signed-off-by: Austin Zhang <austin.zhang@intel.com>
12 years agogfx: ignore dpms operation if driver in early suspend
Li Peng [Thu, 17 May 2012 07:22:31 +0000 (15:22 +0800)]
gfx: ignore dpms operation if driver in early suspend

in early suspend, driver already turn off panel, so if there's
more dpms request, just ignore it.

This is to fix below test sequence

1. xset dpms force off
2. echo mem > /sys/power/state
3. echo on > /sys/power/state

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agogfx: remove WARN_ON in psb_gtt_map_meminfo_ioctl
Li Peng [Tue, 8 May 2012 07:43:15 +0000 (15:43 +0800)]
gfx: remove WARN_ON in psb_gtt_map_meminfo_ioctl

otherwise there will be a kernel warning that may confuse people

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agogfx: fix early_suspend/late_resume for TMD_6X10_VID panel
Li Peng [Tue, 22 May 2012 06:11:05 +0000 (14:11 +0800)]
gfx: fix early_suspend/late_resume for TMD_6X10_VID panel

most code come from MCG, which use dsi_hw_context to save/restore
panel registers at early_suspend/late_resume.

Test method

early_suspend: echo mem > /sys/power/state
late_resume: echo on > /sys/power/state

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agogfx: fix backlight control failure on PR3
Li Peng [Mon, 14 May 2012 09:35:53 +0000 (17:35 +0800)]
gfx: fix backlight control failure on PR3

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agogfx: get mdfld save/restore pipe registers back to work
Li Peng [Fri, 4 May 2012 08:45:25 +0000 (16:45 +0800)]
gfx: get mdfld save/restore pipe registers back to work

re-enable mdfld_save_pipe_registers and mdfld_restore_pipe_registers

Signed-off-by: Li Peng <peng.li@intel.com>
12 years agotizen packaging: make gbs happy about the tarball name
Markus Lehtonen [Fri, 15 Jun 2012 09:29:30 +0000 (12:29 +0300)]
tizen packaging: make gbs happy about the tarball name

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agotizen packaging: get rid of the hard dependency to hardlink
Markus Lehtonen [Wed, 13 Jun 2012 11:32:25 +0000 (14:32 +0300)]
tizen packaging: get rid of the hard dependency to hardlink

Devel package does not require hardlink. However, the post script is
still there and run if hardlink is present.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agotizen packaging: Rewrite .spec
Markus Lehtonen [Fri, 8 Jun 2012 10:05:50 +0000 (13:05 +0300)]
tizen packaging: Rewrite .spec

Big revamp and simplification to the .spec file. Get rid of lot of the
Fedora/Moblin legacy. The spec should be a lot more readable and easier
to maintain, now.

Also, updates the wifi driver build script patch

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agotizen packaging: add initial version
Markus Lehtonen [Fri, 8 Jun 2012 08:32:45 +0000 (11:32 +0300)]
tizen packaging: add initial version

Mangle the old changelog to Tizen format.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoFix compilation when ANDROID_PARANOID_NET is disabled
Markus Lehtonen [Mon, 21 May 2012 13:12:19 +0000 (16:12 +0300)]
Fix compilation when ANDROID_PARANOID_NET is disabled

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoconfig-tizen: miscellanous config changes
Markus Lehtonen [Mon, 21 May 2012 12:10:27 +0000 (15:10 +0300)]
config-tizen: miscellanous config changes

- disable MD, i.e. multiple devices (e.g. vlm) support
- enable devmem, i.e. memory device support
- disable MODULE_RONX, i.e. module data made RO and NX
- enable devtmpfs
- disable PENWELL_OTG_TEST (doesn't compile and we don't need it)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoconfig-tizen: tizen networking options
Markus Lehtonen [Mon, 21 May 2012 11:47:14 +0000 (14:47 +0300)]
config-tizen: tizen networking options

- enable bridge support
- enable TAP/TUN device
- disable ANDROID_PARANOID_NETWORK, i.e. less strict security for socket
  creation

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoconfig-tizen: enable smack
Elena Reshetova [Wed, 2 May 2012 13:08:50 +0000 (16:08 +0300)]
config-tizen: enable smack

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoconfig-tizen: enable PVR debug and command tracing and disable GL3 cache
Markus Lehtonen [Tue, 3 Apr 2012 08:05:21 +0000 (11:05 +0300)]
config-tizen: enable PVR debug and command tracing and disable GL3 cache

12 years agoconfig-tizen: disable HDMI audio
Markus Lehtonen [Tue, 3 Apr 2012 08:03:49 +0000 (11:03 +0300)]
config-tizen: disable HDMI audio

Run make oldconfig and disable Intel HDMI audio.

12 years agoconfig-tizen: base from MCG WW26 release
Markus Lehtonen [Wed, 4 Apr 2012 06:17:51 +0000 (09:17 +0300)]
config-tizen: base from MCG WW26 release

Add kernel.configs from weekly release as tizen_bb_defconfig and
tizen_rr_defconfig.

12 years agoBackport SMACK changes from 3.3 to 3.0
Elena Reshetova [Fri, 4 May 2012 06:09:19 +0000 (09:09 +0300)]
Backport SMACK changes from 3.3 to 3.0

Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoTizen: Revert "[PORT FROM R2] remove depmod from build"
Markus Lehtonen [Thu, 26 Apr 2012 08:37:55 +0000 (11:37 +0300)]
Tizen: Revert "[PORT FROM R2] remove depmod from build"

This reverts commit 76ad204623a7790c8ba66d28f317726d0705c41d.

Tizen needs depmod.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agostaging: msvdx: hdmi support
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:30 +0000 (17:24 +0300)]
staging: msvdx: hdmi support

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: add query for active hw video entry
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:29 +0000 (17:24 +0300)]
staging: msvdx: add query for active hw video entry

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: support for non-DO firmware
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:28 +0000 (17:24 +0300)]
staging: msvdx: support for non-DO firmware

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: add support for bias table
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:27 +0000 (17:24 +0300)]
staging: topaz: add support for bias table

Part of hw video driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: remove otc hdmi support
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:26 +0000 (17:24 +0300)]
staging: msvdx: remove otc hdmi support

In preparation for supporting UMG hw video driver update which
has different HDMI support.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: remove explicit delay after data submission
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:25 +0000 (17:24 +0300)]
staging: msvdx: remove explicit delay after data submission

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: check context type before resetting
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:24 +0000 (17:24 +0300)]
staging: msvdx: check context type before resetting

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: rewrite hw reset logic
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:23 +0000 (17:24 +0300)]
staging: msvdx: rewrite hw reset logic

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: upload firmware using dma as part of fw setup
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:21 +0000 (17:24 +0300)]
staging: msvdx: upload firmware using dma as part of fw setup

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: use ospm to determine pm state
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:22 +0000 (17:24 +0300)]
staging: msvdx: use ospm to determine pm state

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: reduce polling frequency in register read
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:20 +0000 (17:24 +0300)]
staging: msvdx: reduce polling frequency in register read

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: rewrite hw reset logic
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:19 +0000 (17:24 +0300)]
staging: topaz: rewrite hw reset logic

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: ttm: replace buffer creation with latest UMG logic
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:18 +0000 (17:24 +0300)]
staging: imgv: ttm: replace buffer creation with latest UMG logic

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: ttm: remove local proto for buffer class destructor
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:17 +0000 (17:24 +0300)]
staging: imgv: ttm: remove local proto for buffer class destructor

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: ttm: remove restricted access region support
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:16 +0000 (17:24 +0300)]
staging: imgv: ttm: remove restricted access region support

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: do not mark mtx saved if driver is not present
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:15 +0000 (17:24 +0300)]
staging: topaz: do not mark mtx saved if driver is not present

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: check if hw is stuck
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:14 +0000 (17:24 +0300)]
staging: topaz: check if hw is stuck

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: dbg: logging for timeout
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:13 +0000 (17:24 +0300)]
staging: topaz: dbg: logging for timeout

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: schedule hw suspension on timeout
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:12 +0000 (17:24 +0300)]
staging: topaz: schedule hw suspension on timeout

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: check if hw is idle based on command fifo
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:11 +0000 (17:24 +0300)]
staging: topaz: check if hw is idle based on command fifo

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: delay fence timeout
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:10 +0000 (17:24 +0300)]
staging: imgv: delay fence timeout

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: support for D0 and non-DO reset sequence
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:09 +0000 (17:24 +0300)]
staging: msvdx: support for D0 and non-DO reset sequence

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: fix mtx data size calculation
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:08 +0000 (17:24 +0300)]
staging: topaz: fix mtx data size calculation

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: reduce polling frequency in register read
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:07 +0000 (17:24 +0300)]
staging: topaz: reduce polling frequency in register read

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: topaz: remove unused shadow registers
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:06 +0000 (17:24 +0300)]
staging: topaz: remove unused shadow registers

Part of UMG video driver updates needed to support UMG psb-video
userland driver.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: mmu: reduce scope for implementation details
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:05 +0000 (17:24 +0300)]
staging: imgv: mmu: reduce scope for implementation details

Part of video hw driver update from UMG - no functional
changes.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: remove unused header inclusion
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:04 +0000 (17:24 +0300)]
staging: msvdx: remove unused header inclusion

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: remove unused support for rar offset
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:03 +0000 (17:24 +0300)]
staging: msvdx: remove unused support for rar offset

Restricted access region is not supported in general. This is
part of latest UMG video hw driver update.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: bc_video: remove unused mem alloc and camera interface
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:02 +0000 (17:24 +0300)]
staging: bc_video: remove unused mem alloc and camera interface

No functional changes.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: gfx: introduce new driver private drm frame parameters
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:01 +0000 (17:24 +0300)]
staging: gfx: introduce new driver private drm frame parameters

In preparation to supporting hw video (msvdx, topaz) driver.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: gfx: support for checking for tablet platform
Topi Pohjolainen [Fri, 27 Apr 2012 14:24:00 +0000 (17:24 +0300)]
staging: gfx: support for checking for tablet platform

In preparation for supporting UMG hw video driver.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: remove support for binding gfx buffers
Topi Pohjolainen [Fri, 27 Apr 2012 14:23:59 +0000 (17:23 +0300)]
staging: imgv: remove support for binding gfx buffers

In preparation for switching to UMG hw video driver which does
not need this feature.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: remove user buffer ttm wrapping support
Topi Pohjolainen [Fri, 27 Apr 2012 14:23:58 +0000 (17:23 +0300)]
staging: imgv: remove user buffer ttm wrapping support

Part of video hw driver update from UMG.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: imgv: remove dead code
Topi Pohjolainen [Fri, 27 Apr 2012 14:23:56 +0000 (17:23 +0300)]
staging: imgv: remove dead code

Both callers of 'pl_create_buf()' leave the triggering page list
empty.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agostaging: msvdx: remove unused mb concealment support
Topi Pohjolainen [Fri, 27 Apr 2012 14:23:54 +0000 (17:23 +0300)]
staging: msvdx: remove unused mb concealment support

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
12 years agoTMD 6x10: merge more crtc functions into otc pvr gfx driver
Li Peng [Tue, 1 May 2012 03:46:14 +0000 (11:46 +0800)]
TMD 6x10: merge more crtc functions into otc pvr gfx driver

including mdfld_crtc_dpms and mdfld_crtc_mode_set

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoTMD 6x10: fixes to MCG side of the MCG display panel code merge
Li Peng [Sat, 28 Apr 2012 15:50:29 +0000 (23:50 +0800)]
TMD 6x10: fixes to MCG side of the MCG display panel code merge

Fixes to MCG PVR code to get the MCG's TMD 6x10 display panel driver
compiling and running in the hybrid kernel.

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoTMD 6x10: fixes to OTC side of the MCG display panel code merge
Li Peng [Sat, 28 Apr 2012 15:50:29 +0000 (23:50 +0800)]
TMD 6x10: fixes to OTC side of the MCG display panel code merge

Fixes to OTC PVR code to get the MCG's TMD 6x10 display panel driver
compiling and running in the hybrid kernel.

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoTMD 6x10: merge MCG display panel code onto OTC pvr driver
Li Peng [Sat, 28 Apr 2012 15:50:29 +0000 (23:50 +0800)]
TMD 6x10: merge MCG display panel code onto OTC pvr driver

The purpose is to pull latest MCG display panel code into OTC pvr
driver. This commit creates symbol link to MCG source files including
mdfld_dsi_dbi{dpi}, mdfld_output and mdfld_dsi_pkg_sender, etc.

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoPVR hybrid: build fixes
Markus Lehtonen [Tue, 10 Apr 2012 12:00:19 +0000 (15:00 +0300)]
PVR hybrid: build fixes

12 years agoPVR hybrid: atomisp build fixes
Markus Lehtonen [Fri, 30 Mar 2012 12:19:51 +0000 (15:19 +0300)]
PVR hybrid: atomisp build fixes

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agoPVR hybrid: atomisp Makefile fixes
Markus Lehtonen [Fri, 30 Mar 2012 11:40:04 +0000 (14:40 +0300)]
PVR hybrid: atomisp Makefile fixes

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
12 years agogfx: drv: Clear all pending flips when a pipe is being disabled
Ville Syrjälä [Thu, 29 Mar 2012 18:14:16 +0000 (21:14 +0300)]
gfx: drv: Clear all pending flips when a pipe is being disabled

When a pipe is disabled, no vblank interrupt will be generated, and thus
any pending flip will not complete on its own. Complete all pending
flips when the associated pipe is being disabled.

The drm_flip_driver initialization must be performed earlier since the
DPMS hooks get called during modeset init. Also fix the crtc/plane vs.
drm_flip_helper vs. drm_flip_driver cleanup order.

Issue: ANDROID-2302
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
12 years agogfx: drv: Fix swap interval 0 page flipping
Ville Syrjälä [Thu, 29 Mar 2012 18:14:15 +0000 (21:14 +0300)]
gfx: drv: Fix swap interval 0 page flipping

When issuing flips faster than the screen refresh rate, swap the
previous mem infos around for the current and previous flip. This
causes the completion of the previous flip to incement the completed
read ops counter of the previous flip's front buffer instead
of the current scanout buffer. Any new rendering targeting the
scanout buffer will thus be blocked until the next vblank occurs.

Issue: ANDROID-2373
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
12 years agogfx: CABC: Setting changes
Yong-Joon.Park [Fri, 30 Mar 2012 06:52:31 +0000 (23:52 -0700)]
gfx: CABC: Setting changes

This patch changes PWM frequency to 5KHz for better VR efficiency
and other CABC settings for better power savings.

Issue: ANDROID-1551
Signed-off-by: Yong-Joon.Park <yong-joon.park@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>