<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu, branch v2.6.32.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/gpu?h=v2.6.32.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/gpu?h=v2.6.32.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-01-06T23:04:53Z</updated>
<entry>
<title>drm: disable all the possible outputs/crtcs before entering KMS mode</title>
<updated>2010-01-06T23:04:53Z</updated>
<author>
<name>Zhao Yakui</name>
<email>yakui.zhao@intel.com</email>
</author>
<published>2009-12-09T03:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4012cf67b9f1841ad582ca094c230439d98c8a4d'/>
<id>urn:sha1:4012cf67b9f1841ad582ca094c230439d98c8a4d</id>
<content type='text'>
commit b16d9acbdb97452d1418420e069acf7381ef10bb upstream.

Sometimes we will use a crtc for integerated LVDS, which is different with
that assigned by BIOS. If we want to get flicker-free transitions,
then we could read out the current state for it and set our current state
accordingly.

But it is true that if we aren't reading current state out, we do need
to turn everything off before modesetting.  Otherwise the clocks can get very
angry and we get things worse than a flicker at boot.
In fact we also do the similar thing in UMS mode. We will disable all the
possible outputs/crtcs for the first modesetting.

So we disable all the possible outputs/crtcs before entering the KMS mode.
Before we configure connector/encoder/crtc, the function of
drm_helper_disable_unused_function can disable all the possible outputs/crtcs.

Signed-off-by: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Rafal Milecki &lt;zajec5@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/radeon/kms: fix crtc vblank update for r600</title>
<updated>2010-01-06T23:04:51Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2009-12-21T04:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=08ff73341f9d5bde2d5e54bfe4d6a3d2a3f2ee83'/>
<id>urn:sha1:08ff73341f9d5bde2d5e54bfe4d6a3d2a3f2ee83</id>
<content type='text'>
In 2.6.32.2 r600 had no IRQ support, however the patch in
500b758725314ab1b5316eb0caa5b0fa26740e6b to fix vblanks on avivo
cards, needs irqs.

So check for an R600 card and avoid this path if so.

This is a stable only patch for 2.6.32.2 as 2.6.33 has IRQs for r600.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/radeon: fix build on 64-bit with some compilers.</title>
<updated>2010-01-06T23:03:36Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@linux.ie</email>
</author>
<published>2009-12-20T06:08:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2d67231fb86da345be96ba212dfeb4d8c912520b'/>
<id>urn:sha1:2d67231fb86da345be96ba212dfeb4d8c912520b</id>
<content type='text'>
commit 794f3141a194a4f4c28c1d417b071a901f78d9bb upstream.

drivers/gpu/drm/radeon/radeon_test.c:45: undefined reference to `__udivdi3'

Reported-by: Mr. James W. Laferriere &lt;babydr@baby-dragons.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/i915: Fix LVDS stability issue on Ironlake</title>
<updated>2009-12-18T22:05:48Z</updated>
<author>
<name>Zhenyu Wang</name>
<email>zhenyuw@linux.intel.com</email>
</author>
<published>2009-11-25T05:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ac34851f4dac996125b1cf7c5acdb14310b0f525'/>
<id>urn:sha1:ac34851f4dac996125b1cf7c5acdb14310b0f525</id>
<content type='text'>
commit 1b3c7a47f993bf9ab6c4c7cc3bbf5588052b58f4 upstream.

In disable sequence, all output ports on PCH have to be disabled
before PCH transcoder, but LVDS port was left always enabled. This
one fixes that by disable LVDS port properly during pipe disable
process, and resolved stability issue seen on Ironlake. Also move
panel fitting disable time just after pipe disable to align with
the spec.

Signed-off-by: Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/i915: PineView only has LVDS and CRT ports</title>
<updated>2009-12-18T22:05:45Z</updated>
<author>
<name>Zhenyu Wang</name>
<email>zhenyuw@linux.intel.com</email>
</author>
<published>2009-11-27T03:44:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fb79085d52de31fa0e2fe6cb9d1aab332caec16a'/>
<id>urn:sha1:fb79085d52de31fa0e2fe6cb9d1aab332caec16a</id>
<content type='text'>
commit 103a196f4224dc6872081305cf7f82ebf67aa7bd upstream.

PineView only has 2 ports for LVDS and CRT. Don't enable other
ports for it.

Cc: Shaohua Li &lt;shaohua.li@intel.com&gt;
Signed-off-by: Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/i915: Avoid NULL dereference with component_only tv_modes</title>
<updated>2009-12-18T22:05:44Z</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2009-11-27T13:06:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=452a68706c276224ce1c91fff9ca88158d53c426'/>
<id>urn:sha1:452a68706c276224ce1c91fff9ca88158d53c426</id>
<content type='text'>
commit d271817baecbccb47da0d9f28c285a0dae8a06b7 upstream.

In commit d2d9f2324, the guard for a valid video mode was removed. This
caused the regression:

  kernel crash during kms graphic boot on Intel GM4500 platform
  https://bugzilla.redhat.com/show_bug.cgi?id=540218

This patches changes the logic slightly not to rely on a coupled
variable, but to just check whether the video_modes is valid before
dereferencing.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Zhenyu Wang &lt;zhenyu.z.wang@intel.com&gt;
[ickle: Actually reference the correct bug report]
Acked-by: Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/i915: Fix sync to vblank when VGA output is turned off</title>
<updated>2009-12-18T22:05:26Z</updated>
<author>
<name>Li Peng</name>
<email>peng.li@linux.intel.com</email>
</author>
<published>2009-12-16T15:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e8d9252227536dc8bd4e2d254d16b5feef542496'/>
<id>urn:sha1:e8d9252227536dc8bd4e2d254d16b5feef542496</id>
<content type='text'>
commit 778c902640530371a169ad1c03566e7c51b09874 upstream

In current vblank-wait implementation, if we turn off VGA output,
drm_wait_vblank will still wait on the disabled pipe until timeout,
because vblank on the pipe is assumed be enabled. This would cause
slow system response on some system such as moblin.

This patch resolve the issue by adding a drm helper function
drm_vblank_off which explicitly clear vblank_enabled[crtc], wake up
any waiting queue and save last vblank counter before turning off
crtc. It also slightly change drm_vblank_get to ensure that we will
will return immediately if trying to wait on a disabled pipe.

Signed-off-by: Li Peng &lt;peng.li@intel.com&gt;
Reviewed-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
[anholt: hand-applied for conflicts with overlay changes]
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Cc: Stefan Bader &lt;stefan.bader@canonical.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>drm/i915: Add the missing clonemask for display port on Ironlake</title>
<updated>2009-12-18T22:04:44Z</updated>
<author>
<name>Zhao Yakui</name>
<email>yakui.zhao@intel.com</email>
</author>
<published>2009-12-02T02:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=14173dbee479f3c9560f303040488505d7ae5381'/>
<id>urn:sha1:14173dbee479f3c9560f303040488505d7ae5381</id>
<content type='text'>
commit 652af9d74e1a3a10bb10f0d8e8f42ddac26bbc1a upstream.

Add the missing clonemask for display port on Ironlake.

Signed-off-by: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Reviewed-by: Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/i915: Set the error code after failing to insert new offset into mm ht.</title>
<updated>2009-12-18T22:04:43Z</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2009-12-02T15:15:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=739f9e4f0c9ede0209e874ed223b297d04483358'/>
<id>urn:sha1:739f9e4f0c9ede0209e874ed223b297d04483358</id>
<content type='text'>
commit 5618ca6abc2d6f475b258badc017a5254cf43d1b upstream.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/radeon/kms: rs6xx/rs740: clamp vram to aperture size</title>
<updated>2009-12-18T22:04:38Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexdeucher@gmail.com</email>
</author>
<published>2009-12-03T21:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e582ed67311ec17b343f21b82fc40de4d35fff3e'/>
<id>urn:sha1:e582ed67311ec17b343f21b82fc40de4d35fff3e</id>
<content type='text'>
commit 0088dbdb809e8799cb8f26da5ac64b15201fa99d upstream.

Signed-off-by: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
