Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 366112 Details for
Bug 491704
sys-kernel/gentoo-sources-3.10.19 - "green" output with mgag200 and MGA G200EH (fixed in 3.11.x and later)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mpag200.commits.txt
file_491704.txt (text/plain), 17.52 KB, created by
Tom Wijsman (TomWij) (RETIRED)
on 2013-12-24 16:00:23 UTC
(
hide
)
Description:
mpag200.commits.txt
Filename:
MIME Type:
Creator:
Tom Wijsman (TomWij) (RETIRED)
Created:
2013-12-24 16:00:23 UTC
Size:
17.52 KB
patch
obsolete
>commit 6a9331666170d8b2bef70eed176793c7efe68c33 >Merge: 201d3df e42f581 >Author: Linus Torvalds <torvalds@linux-foundation.org> >Date: Fri Aug 9 11:51:29 2013 -0700 > > Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux > > Pull drm fixes from Dave Airlie: > "Mostly radeon, more fixes for dynamic power management which is is off > by default for this release anyways, but there are a large number of > testers, so I'd like to keep merging the fixes. > > Otherwise, radeon UVD fixes affecting suspend/resume regressions, i915 > regression fixes, one for your mac mini, ast, mgag200, cirrus ttm fix > and one regression fix in the core" > > * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (25 commits) > drm: Don't pass negative delta to ktime_sub_ns() > drm/radeon: make missing smc ucode non-fatal > drm/radeon/dpm: require rlc for dpm > drm/radeon/cik: use a mutex to properly lock srbm instanced registers > drm/radeon: remove unnecessary unpin > drm/radeon: add more UVD CS checking > drm/radeon: stop sending invalid UVD destroy msg > drm/radeon: only save UVD bo when we have open handles > drm/radeon: always program the MC on startup > drm/radeon: fix audio dto calculation on DCE3+ (v3) > drm/radeon/dpm: disable sclk ss on rv6xx > drm/radeon: fix halting UVD > drm/radeon/dpm: adjust power state properly for UVD on SI > drm/radeon/dpm: fix spread spectrum setup (v2) > drm/radeon/dpm: adjust thermal protection requirements > drm/radeon: select audio dto based on encoder id for DCE3 > drm/radeon: properly handle pm on gpu reset > drm/i915: do not disable backlight on vgaswitcheroo switch off > drm/i915: Don't call encoder's get_config unless encoder is active > drm/i915: avoid brightness overflow when doing scale > ... > >commit 3ac65259328324de323dc006b52ff7c1a5b18d19 >Author: Dave Airlie <airlied@redhat.com> >Date: Wed Aug 7 10:01:56 2013 +1000 > > drm/ast: invalidate page tables when pinning a BO > > same fix as cirrus and mgag200. > > Cc: stable@vger.kernel.org > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit ecaac1c866bcda4780a963b3d18cd310d971aea3 >Author: Egbert Eich <eich@suse.com> >Date: Wed Jul 17 17:40:56 2013 +0200 > > drm/mgag200: Invalidate page tables when pinning a BO > > When a BO gets pinned the placement may get changed. If the memory is > mapped into user space and user space has already accessed the mapped > range the page tables are set up but now point to the wrong memory. > Set bo.mdev->dev_mapping in mgag200_bo_create() to make sure that > ttm_bo_unmap_virtual() called from ttm_bo_handle_move_mem() will take > care of this. > > v2: Don't call ttm_bo_unmap_virtual() in mgag200_bo_pin(), fix comment. > > Signed-off-by: Egbert Eich <eich@suse.com> > Cc: stable@vger.kernel.org > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 109a51598869a39fdcec2d49672a9a39b6d89481 >Author: Michal Srb <msrb@suse.com> >Date: Tue Aug 6 15:26:50 2013 +0200 > > drm/cirrus: Invalidate page tables when pinning a BO > > This is a cirrus version of Egbert Eich's patch for mgag200. > > Without bo.bdev->dev_mapping set, the ttm_bo_unmap_virtual_locked > called from ttm_bo_handle_move_mem returns with no effect. If any > application accessed the memory before it was moved, it will > access wrong memory next time. This causes crashes when changing > resolution down. > > Signed-off-by: Michal Srb <msrb@suse.com> > Cc: stable@vger.kernel.org > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 64ccccf8525fee499625b517c0faadf784c79e93 >Merge: ec8fa30 e1b4d30 >Author: Linus Torvalds <torvalds@linux-foundation.org> >Date: Wed Jul 31 17:55:12 2013 -0700 > > Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux > > Pull drm fixes from Dave Airlie: > "Radeon, nouveau, exynos, intel, mgag200.. > > Not all strictly regressions but there was probably only one patch I'd > have really left out and it didn't seem worth respinning exynos to > avoid it, the line change count is quite low. > > radeon: regressions + more dynamic powermanagement fixes, since DPM > is a new feature, and off by default I'd prefer to keep merging > fixes since it has a large userbase already and I'd like to keep > them on mainline > > nouveau: is mostly regression fixes > > i915: is a regression fix since Daniel is on holidays I've merged it. > > mgag200: I've picked a bunch of targetted fixes from a big bunch of > distro patches, > > exynos: build fixes mostly, one regression fix > > I expect things will slow right down now, I may send on the intel > early quirk from Jesse separatly, since I think the x86 maintainers > acked it" > > * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (37 commits) > drm/i915: fix missed hunk after GT access breakage > drm/radeon/dpm: re-enable cac control on SI > drm/radeon/dpm: fix calculations in si_calculate_leakage_for_v_and_t_formula > drm: fix 64 bit drm fixed point helpers > drm/radeon/atom: initialize more atom interpretor elements to 0 > drm/nouveau: fix semaphore dmabuf obj > drm/nouveau/vm: make vm refcount into a kref > drm/nv31/mpeg: don't recognize nv3x cards as having nv44 graph class > drm/nv40/mpeg: write magic value to channel object to make it work > drm/nouveau: fix size check for cards without vm > drm/nv50-/disp: remove dcb_outp_match call, and related variables > drm/nva3-/disp: fix hda eld writing, needs to be padded > drm/nv31/mpeg: fix mpeg engine initialization > drm/nv50/mc: include vp in the fb error reporting mask > drm/nouveau: fix null pointer dereference in poll_changed > drm/nv50/gpio: post-nv92 cards have 32 interrupt lines > drm/nvc0/fb: take lock in nvc0_ram_put() > drm/nouveau/core: xtensa firmware size needs to be 0x40000 no matter what > drm/mgag200: Fix LUT programming for 16bpp > drm/mgag200: Fix framebuffer pitch calculation > ... > >commit de7500eafc96274654201bd585fb85e2814ef9b2 >Author: Egbert Eich <eich@suse.com> >Date: Wed Jul 17 15:07:27 2013 +0200 > > drm/mgag200: Fix LUT programming for 16bpp > > Since there are only 32 (64) distinct color values for each color > in 16bpp Matrox hardware expects those in a 'dense' manner, ie in > the first 32 (64) entries of the respective color. > > Signed-off-by: Egbert Eich <eich@suse.de> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit da55839870263563cc70e700a7f58090a860576d >Author: Takashi Iwai <tiwai@suse.com> >Date: Wed Jul 17 15:07:26 2013 +0200 > > drm/mgag200: Fix framebuffer pitch calculation > > The framebuffer pitch calculation needs to be done differently for bpp == 24 > - check xf86-video-mga for reference. > > Signed-off-by: Egbert Eich <eich@suse.de> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 3d5a1c5e300483df005c81c55792268d4a7bff9f >Author: Egbert Eich <eich@suse.com> >Date: Wed Jul 17 15:07:25 2013 +0200 > > drm/mgag200: Add sysfs support for connectors > > Signed-off-by: Egbert Eich <eich@suse.com> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 64c29076646aa0fc094c4b3ea118ea5cb912bfc0 >Author: Egbert Eich <eich@suse.com> >Date: Wed Jul 17 15:07:22 2013 +0200 > > drm/mgag200: Add an crtc_disable callback to the crtc helper funcs > > Signed-off-by: Egbert Eich <eich@suse.com> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 030f19f0e24c020e3577d9a0da878e417efc2b39 >Author: Egbert Eich <eich@suse.com> >Date: Tue Jul 23 08:44:34 2013 +0200 > > drm/mgag200: Fix logic in mgag200_bo_pin() (v2) > > Add missing 'return 0;'. > > v2: Simplified patch as suggested by Dave Airlie <airlied@redhat.com> > > Signed-off-by: Egbert Eich <eich@suse.com> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 2e17c5a97e231f3cb426f4b7895eab5be5c5442e >Merge: 5f097cd 774d8e3 >Author: Linus Torvalds <torvalds@linux-foundation.org> >Date: Tue Jul 9 16:04:31 2013 -0700 > > Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux > > Pull drm updates from Dave Airlie: > "Okay this is the big one, I was stalled on the fbdev pull req as I > stupidly let fbdev guys merge a patch I required to fix a warning with > some patches I had, they ended up merging the patch from the wrong > place, but the warning should be fixed. In future I'll just take the > patch myself! > > Outside drm: > > There are some snd changes for the HDMI audio interactions on haswell, > they've been acked for inclusion via my tree. This relies on the > wound/wait tree from Ingo which is already merged. > > Major changes: > > AMD finally released the dynamic power management code for all their > GPUs from r600->present day, this is great, off by default for now but > also a huge amount of code, in fact it is most of this pull request. > > Since it landed there has been a lot of community testing and Alex has > sent a lot of fixes for any bugs found so far. I suspect radeon might > now be the biggest kernel driver ever :-P p.s. radeon.dpm=1 to enable > dynamic powermanagement for anyone. > > New drivers: > > Renesas r-car display unit. > > Other highlights: > > - core: GEM CMA prime support, use new w/w mutexs for TTM > reservations, cursor hotspot, doc updates > - dvo chips: chrontel 7010B support > - i915: Haswell (fbc, ips, vecs, watermarks, audio powerwell), > Valleyview (enabled by default, rc6), lots of pll reworking, 30bpp > support (this time for sure) > - nouveau: async buffer object deletion, context/register init > updates, kernel vp2 engine support, GF117 support, GK110 accel > support (with external nvidia ucode), context cleanups. > - exynos: memory leak fixes, Add S3C64XX SoC series support, device > tree updates, common clock framework support, > - qxl: cursor hotspot support, multi-monitor support, suspend/resume > support > - mgag200: hw cursor support, g200 mode limiting > - shmobile: prime support > - tegra: fixes mostly > > I've been banging on this quite a lot due to the size of it, and it > seems to okay on everything I've tested it on." > > * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (811 commits) > drm/radeon/dpm: implement vblank_too_short callback for si > drm/radeon/dpm: implement vblank_too_short callback for cayman > drm/radeon/dpm: implement vblank_too_short callback for btc > drm/radeon/dpm: implement vblank_too_short callback for evergreen > drm/radeon/dpm: implement vblank_too_short callback for 7xx > drm/radeon/dpm: add checks against vblank time > drm/radeon/dpm: add helper to calculate vblank time > drm/radeon: remove stray line in old pm code > drm/radeon/dpm: fix display_gap programming on rv7xx > drm/nvc0/gr: fix gpc firmware regression > drm/nouveau: fix minor thinko causing bo moves to not be async on kepler > drm/radeon/dpm: implement force performance level for TN > drm/radeon/dpm: implement force performance level for ON/LN > drm/radeon/dpm: implement force performance level for SI > drm/radeon/dpm: implement force performance level for cayman > drm/radeon/dpm: implement force performance levels for 7xx/eg/btc > drm/radeon/dpm: add infrastructure to force performance levels > drm/radeon: fix surface setup on r1xx > drm/radeon: add support for 3d perf states on older asics > drm/radeon: set default clocks for SI when DPM is disabled > ... > >commit 06597ce8b4d300f82dae785f0c89a6eab785fd06 >Author: Maarten Lankhorst <m.b.lankhorst@gmail.com> >Date: Thu Jun 27 13:48:22 2013 +0200 > > drm/mgag200: inline reservations > > Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit a06b9a74c73750835b8fd69fe0d0bd7877da111b >Author: Maarten Lankhorst <m.b.lankhorst@gmail.com> >Date: Thu Jun 27 13:38:25 2013 +0200 > > drm/mgag200: do not attempt to acquire a reservation while in an interrupt handler > > Mutexes should not be acquired in interrupt context. While the trylock > fastpath is arguably safe on all implementations, the slowpath > unlock path definitely isn't. > > Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit abbee6238775c6633a3779962e9e5b5cb9823749 >Author: Julia Lemire <jlemire@matrox.com> >Date: Thu Jun 27 13:38:59 2013 -0400 > > drm/mgag200: Added resolution and bandwidth limits for various G200e products. > > At the larger resolutions, the g200e series sometimes struggles with > maintaining a proper output. Problems like flickering or black bands appearing > on screen can occur. In order to avoid this, limitations regarding resolutions > and bandwidth have been added for the different variations of the g200e series. > This code was ported from the old xorg mga driver. > > Signed-off-by: Julia Lemire <jlemire@matrox.com> > Cc: stable@vger.kernel.org > Signed-off-by: Dave Airlie <airlied@redhat.com> > >commit 279119776d98305af08466c6cc9b7869c57c706f >Author: Christopher Harvey <charvey@matrox.com> >Date: Wed Jun 5 11:29:57 2013 -0400 > > drm/mgag200: Don't do full cleanup if mgag200_device_init fails > > Running mgag200_driver_unload when the driver init fails early on > causes functions like drm_mode_config_cleanup to be called. The > problem is, drm_mode_config_cleanup crashes because the corresponding > init hasn't happend yet. There really isn't anything to cleanup after > mgag200_device_init, so we can just pass the error code upwards. > > Acked-by: Julia Lemire <jlemire@matrox.com> > Signed-off-by: Christopher Harvey <charvey@matrox.com> > Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> > Signed-off-by: Dave Airlie <airlied@gmail.com> > >commit a080db9fdda77ffaa43679d21b4bd78ead0cf9e1 >Author: Christopher Harvey <charvey@matrox.com> >Date: Wed Jun 5 15:24:26 2013 -0400 > > drm/mgag200: Hardware cursor support > > G200 cards support, at best, 16 colour palleted images for the cursor > so we do a conversion in the cursor_set function, and reject cursors > with more than 16 colours, or cursors with partial transparency. Xorg > falls back gracefully to software cursors in this case. > > We can't disable/enable the cursor hardware without causing momentary > corruption around the cursor. Instead, once the cursor is on we leave > it on, and simulate turning the cursor off by moving it > offscreen. This works well. > > Since we can't disable -> update -> enable the cursors, we double > buffer cursor icons, then just move the base address that points to > the old cursor, to the new. This also works well, but uses an extra > page of memory. > > The cursor buffers are lazily-allocated on first cursor_set. This is > to make sure they don't take priority over any framebuffers in case of > limited memory. > > Here is a representation of how the bitmap for the cursor is mapped in G200 memory : > > Each line of color cursor use 6 Slices of 8 bytes. Slices 0 to 3 > are used for the 4bpp bitmap, slice 4 for XOR mask and slice 5 for > AND mask. Each line has the following format: > > // Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 > // > // S0: P00-01 P02-03 P04-05 P06-07 P08-09 P10-11 P12-13 P14-15 > // S1: P16-17 P18-19 P20-21 P22-23 P24-25 P26-27 P28-29 P30-31 > // S2: P32-33 P34-35 P36-37 P38-39 P40-41 P42-43 P44-45 P46-47 > // S3: P48-49 P50-51 P52-53 P54-55 P56-57 P58-59 P60-61 P62-63 > // S4: X63-56 X55-48 X47-40 X39-32 X31-24 X23-16 X15-08 X07-00 > // S5: A63-56 A55-48 A47-40 A39-32 A31-24 A23-16 A15-08 A07-00 > // > // S0 to S5 = Slices 0 to 5 > // P00 to P63 = Bitmap - pixels 0 to 63 > // X00 to X63 = always 0 - pixels 0 to 63 > // A00 to A63 = transparent markers - pixels 0 to 63 > // 1 means colour, 0 means transparent > > Signed-off-by: Christopher Harvey <charvey@matrox.com> > Signed-off-by: Mathieu Larouche <mathieu.larouche@matrox.com> > Acked-by: Julia Lemire <jlemire@matrox.com> > Tested-by: Julia Lemire <jlemire@matrox.com> > Signed-off-by: Dave Airlie <airlied@gmail.com> > >commit 247d36d75128ba1f63702e0e6185d9a7a23ee5cb >Author: Andy Lutomirski <luto@amacapital.net> >Date: Mon May 13 23:58:41 2013 +0000 > > drm (ast, cirrus, mgag200, nouveau, savage, vmwgfx): Remove drm_mtrr_{add, del} > > This replaces drm_mtrr_{add,del} with arch_phys_wc_{add,del}. The > interface is simplified (because the base and size parameters to > drm_mtrr_del never did anything), and it no longer adds MTRRs on > systems that don't need them. > > Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> > Signed-off-by: Andy Lutomirski <luto@amacapital.net> > Signed-off-by: Dave Airlie <airlied@redhat.com>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 491704
:
363588
|
363590
| 366112