ENGR00151762 vpu: Fix system hang due to long time video playback on mx512011-09-21T15:38:44ZSammy Her62914@freescale.comMatt Sealeymatt@genesi-usa.com2011-09-21T15:38:44Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=df8868e3079f52d5cc45da0268816c81c13b9467

ENGR00151762 vpu: Fix system hang due to long time video playback on mx51
Fix system hang due to long time video playback. This issue is only
on i.MX51 platfrom due to changing vpu clock parent in vpu_enable/
disable. Set vpu clock parent to axi_a forever to fix it.
Signed-off-by: Sammy He <r62914@freescale.com>

siihdmi: make 1080p and 720p autodetection a little more panel-friendly2011-09-17T02:38:49ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-09-17T02:38:49Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=680b24818e03ac396935deef14000a967d20e248

siihdmi: make 1080p and 720p autodetection a little more panel-friendly
Essentially where before we simply picked a 1080p or 720p mode and then fall back to
EDID preferred mode, now we basically do
if (teneighty)
if (native is 1680x1050, 1440x900) return native
if (1080p) return 1080p
if (seventwenty)
if (native is 1366x768, 1360x768, 1280x768, 1280x800, 1024x768) return native
if (720p) return 720p
fallback: use preferred mode
This means far more "close to 720p" modes for plasmas are used instead of 720p with
a scaler, and for monitors that SAY they can do 1080p (but it's actually scaled down
or overscanned because native res is smaller) then use panel native instead for a
much better experience.
Tested on every monitor we have available and matches native res on most, and the
best mode fallback is used as per previous mode selection on the few fringe cases
left. Experience is crisper displays.
Note that if teneighty is selected, the modes returned absolutely will suck at video
playback performance - mfw_v4lsink will fail to fullscreen at anything above 1366x768
due to lack of bandwidth. 1440x900 may work if you're lucky. mfw_xvimagesink simply
cannot convert YV12 to YUY2 fast enough to work (and double buffering seems broken).
It is therefore still disabled by default.
Also: add a siihdmi.vic= option, so you can give it any CEA VIC from the CEA spec
(look for an entry in drivers/video/cea861_modes.c and use that number) if it's
still in the modelist.
Requesting specific video modes requires some duplication of option parsing and I
feel that's really not going to give people a reasonable experience, so it's not
being done right now. Investigation into exactly what the mitigating factor for
a lower_margin < 2 actually working is underway so we can cull less modes and give
people much better monitor experience once we get XRandR working.

Add use counter to the overlay (inspired by a BoundaryDevices patch)2011-09-17T02:25:40ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-09-17T02:25:40Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=632be9672e96dfe83d0e1fd153424ec982280cca

vpu: bump driver as close to 11.08 as possible without breaking anything2011-09-16T04:39:51ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-09-16T04:39:51Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=3635f6cf831a4e33df150c7ffe5cbad52f2721df

vpu: bump driver as close to 11.08 as possible without breaking anything

Use IT modes over CEA modes by default2011-09-14T17:25:27ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-09-14T17:25:27Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=7d1449b512029e1b0c965cbf3f785ea0da68d90c

Disable preemption and CPU frequency governors other than performance, solves some stability problems probably down to staging and GPU driver. Update HZ value to be closer to the minimum i.MX timer tick for a little better responsiveness.

gpu: correct varargs debug (memdesc is a pointer NOT static!) to fix ridiculous sizes reported for sizebytes/offsetbytes in read/write operations.
Also add scatterlist and gsl_property_t debugging so the thing is more readable as a whole..

gpu: move files out of common/ since there's no need for a seperate directory. This... 2011-08-31T16:22:26ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-08-31T16:22:26Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=2c2be6f56703305a134280c4d4535dd2573f20cf

gpu: move files out of common/ since there's no need for a seperate directory. This also means we can make drivers/mxc/amd-gpu/gsl_*.i to see preprocessed output and get hints as to what is being compiled in and what the final code is like
additional minor changes:
* rename PAGE_SIZE register MH_PAGE_SIZE in yamato/22/yamato_genreg.h (although this is an unused debug file so far)
* remove references to stdio files in gsl_debug_pm4.c (will come in handy later)

gpu: don't clear the Z160 global on context destroy, do it on device close instead... 2011-08-30T18:33:11ZMatt Sealeymatt@genesi-usa.comMatt Sealeymatt@genesi-usa.com2011-08-30T18:33:11Zhttps://www.gitorious.org/efikamx/linux-kernel/commit/929096fe9ff1f4b3645cf3919527ab47e8d5e17c?p=efikamx:linux-kernel.git;a=commitdiff;h=bc30f49241c5a7d771c8f1644e751dc63120eddc

gpu: don't clear the Z160 global on context destroy, do it on device close instead (this is part of a Freescale patch ENGR00142363 for WindowsCE but makes a hell of a lot o srense for Linux too)