<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/radeon/atom.c, branch linux-3.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-05-11T14:18:35Z</updated>
<entry>
<title>drm/radeon: fix endian bugs in atom_allocate_fb_scratch()</title>
<updated>2013-05-11T14:18:35Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2013-04-24T18:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f943152df692c85b382fdb186e257c357272f77'/>
<id>urn:sha1:3f943152df692c85b382fdb186e257c357272f77</id>
<content type='text'>
commit beb71fc61c2cad64e347f164991b8ef476529e64 upstream.

Reviwed-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/radeon: Avoid NULL pointer dereference from atom_index_iio() allocation failure</title>
<updated>2013-02-20T13:51:19Z</updated>
<author>
<name>Tim Gardner</name>
</author>
<published>2013-02-11T21:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e34d0945ed16aeb72c863be4efe4cd0c62f9c53'/>
<id>urn:sha1:0e34d0945ed16aeb72c863be4efe4cd0c62f9c53</id>
<content type='text'>
Smatch anlysis:

drivers/gpu/drm/radeon/atom.c:1242 atom_index_iio() error: potential null
 dereference 'ctx-&gt;iio'.  (kzalloc returns null)

Also cleaned up some checks before calls to kfree(). kfree(NULL) is OK.

Cc: David Airlie &lt;airlied@linux.ie&gt;
Cc: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: "Michel Dänzer" &lt;michel.daenzer@amd.com&gt;
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: "Christian König" &lt;christian.koenig@amd.com&gt;
Cc: Jerome Glisse &lt;jglisse@redhat.com&gt;
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Tim Gardner &lt;tim.gardner@canonical.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon/kms: fix fans after resume</title>
<updated>2012-04-02T10:07:42Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2012-03-29T23:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd'/>
<id>urn:sha1:402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd</id>
<content type='text'>
On pre-R600 asics, the SpeedFanControl table is not
executed as part of ASIC_Init as it is on newer asics.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=29412

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: introduce drm_can_sleep and use in intel/radeon drivers. (v2)</title>
<updated>2012-01-06T10:01:35Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2012-01-05T09:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc1f71942944890c7e05fc55dc4427c94b63d4f1'/>
<id>urn:sha1:cc1f71942944890c7e05fc55dc4427c94b63d4f1</id>
<content type='text'>
So we have a few places where the drm drivers would like to sleep to
be nice to the system, mainly in the modesetting paths, but we also
have two cases were atomic modesetting must take place, panic writing
and kernel debugger. So provide a central inline to determine if a
sleep or delay should be used and use this in the intel and radeon drivers.

v2: drop intel_drv.h MSLEEP macro, nobody uses it.

Based on patch from Michel Dänzer &lt;michel.daenzer@amd.com&gt;

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43941

Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon/kms/atom: fix handling of FB scratch indices</title>
<updated>2011-10-19T08:47:47Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2011-10-19T00:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a6e8482a16e61250a9121fc9ec719ab0529e760'/>
<id>urn:sha1:5a6e8482a16e61250a9121fc9ec719ab0529e760</id>
<content type='text'>
FB scratch indices are dword indices, but we were treating
them as byte indices.  As such, we were getting the wrong
FB scratch data for non-0 indices.  Fix the indices and
guard the indexing against indices larger than the scratch
allocation.

Fixes memory corruption on some boards if data was written
past the end of the FB scratch array.

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reported-by: Dave Airlie &lt;airlied@redhat.com&gt;
Tested-by: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: fix potential NULL dereference in drivers/gpu/drm/radeon/atom.c</title>
<updated>2011-08-04T13:39:06Z</updated>
<author>
<name>Bojan Prtvar</name>
</author>
<published>2011-08-03T19:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=816985d4f96cda5159b6b65f3442964725030ae9'/>
<id>urn:sha1:816985d4f96cda5159b6b65f3442964725030ae9</id>
<content type='text'>
kzalloc() can return NULL, so I added check for it

Signed-off-by: Bojan Prtvar &lt;prtvar.b@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drivers/gpu/drm/radeon/atom.c: fix warning</title>
<updated>2011-05-23T23:00:37Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2011-05-23T21:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ec8a5feaf3000bf4f9744d0caad0d5f12ce1409'/>
<id>urn:sha1:2ec8a5feaf3000bf4f9744d0caad0d5f12ce1409</id>
<content type='text'>
udelay() doesn't like 8-bit arguments:

drivers/gpu/drm/radeon/atom.c: In function 'atom_op_delay':
drivers/gpu/drm/radeon/atom.c:653: warning: comparison is always false due to limited range of data type

while we're there, use msleep() rather than open-coding it.

Cc: David Airlie &lt;airlied@linux.ie&gt;
Reviewed-by: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Cc: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon/kms: fix bad shift in atom iio table parser</title>
<updated>2011-04-14T23:05:58Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2011-04-14T15:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e461123f28e6b17456225e70eb834b3b30d28bb'/>
<id>urn:sha1:8e461123f28e6b17456225e70eb834b3b30d28bb</id>
<content type='text'>
Noticed by Patrick Lowry.

Signed-off-by: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon/kms: fix suspend on rv530 asics</title>
<updated>2011-04-12T23:09:27Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2011-04-12T17:33:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71e16bfbd2b1c63d4d97cc5059694c9346aee340'/>
<id>urn:sha1:71e16bfbd2b1c63d4d97cc5059694c9346aee340</id>
<content type='text'>
Apparently only rv515 asics need the workaround
added in f24d86f1a49505cdea56728b853a5d0a3f8e3d11
(drm/radeon/kms: fix resume regression for some r5xx laptops).

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=34709

Signed-off-by: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Cc: stable@kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge remote branch 'intel/drm-intel-next' of /ssd/git/drm-next into drm-core-next</title>
<updated>2010-12-21T23:48:54Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2010-12-21T23:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae09f09e94d755ed45c58b695675636c0ec53f9e'/>
<id>urn:sha1:ae09f09e94d755ed45c58b695675636c0ec53f9e</id>
<content type='text'>
* 'intel/drm-intel-next' of /ssd/git/drm-next: (771 commits)
  drm/i915: Undo "Uncouple render/power ctx before suspending"
  drm/i915: Allow the application to choose the constant addressing mode
  drm/i915: dynamic render p-state support for Sandy Bridge
  drm/i915: Enable EI mode for RCx decision making on Sandybridge
  drm/i915/sdvo: Border and stall select became test bits in gen5
  drm/i915: Add Guess-o-matic for pageflip timestamping.
  drm/i915: Add support for precise vblank timestamping (v2)
  drm/i915: Add frame buffer compression on Sandybridge
  drm/i915: Add self-refresh support on Sandybridge
  drm/i915: Wait for vblank before unpinning old fb
  Revert "drm/i915: Avoid using PIPE_CONTROL on Ironlake"
  drm/i915: Pass clock limits down to PLL matcher
  drm/i915: Poll for seqno completion if IRQ is disabled
  drm/i915/ringbuffer: Make IRQ refcnting atomic
  agp/intel: Fix missed cached memory flags setting in i965_write_entry()
  drm/i915/sdvo: Only use the SDVO pin if it is in the valid range
  drm/i915: Enable RC6 autodownclocking on Sandybridge
  drm/i915: Terminate the FORCE WAKE after we have finished reading
  drm/i915/gtt: Clear the cachelines upon resume
  drm/i915: Restore GTT mapping first upon resume
  ...
</content>
</entry>
</feed>
