<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/intel_fb.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-04-22T22:39:18Z</updated>
<entry>
<title>drm/i915: Hold mode_config lock whilst changing mode for lastclose()</title>
<updated>2012-04-22T22:39:18Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2012-04-16T14:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96f1ffe01afd835e18c6e0a67896376061b33d9d'/>
<id>urn:sha1:96f1ffe01afd835e18c6e0a67896376061b33d9d</id>
<content type='text'>
commit c291be9dba370ba696a0d482249a212cf5c15f45 upstream.

Upon lastclose(), we switch back to the fbcon configuration. This
requires taking the mode_config lock in order to serialise the change
with output probing elsewhere.

Reported-by: Oleksij Rempel &lt;bug-track@fisher-privat.net&gt;
References: https://bugs.freedesktop.org/show_bug.cgi?id=48652
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-Off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: suspend fbdev device around suspend/hibernate</title>
<updated>2012-04-02T17:32:22Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2012-03-28T09:48:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8aff97e587de738baccdd9b6f3bf9902fad8fa63'/>
<id>urn:sha1:8aff97e587de738baccdd9b6f3bf9902fad8fa63</id>
<content type='text'>
commit 3fa016a0b5c5237e9c387fc3249592b2cb5391c6 upstream.

Looking at hibernate overwriting I though it looked like a cursor,
so I tracked down this missing piece to stop the cursor blink
timer. I've no idea if this is sufficient to fix the hibernate
problems people are seeing, but please test it.

Both radeon and nouveau have done this for a long time.

I've run this personally all night hib/resume cycles with no fails.

Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Reported-by: Petr Tesarik &lt;kernel@tesarici.cz&gt;
Reported-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Reported-by: Lots of misc segfaults after hibernate across the world.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=37142
Tested-by: Dave Airlie &lt;airlied@redhat.com&gt;
Tested-by: Bojan Smojver &lt;bojan@rexursive.com&gt;
Tested-by: Andreas Hartmann &lt;andihartmann@01019freenet.de&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: add SNB and IVB video sprite support v6</title>
<updated>2012-01-03T17:31:09Z</updated>
<author>
<name>Jesse Barnes</name>
</author>
<published>2011-12-13T21:19:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b840d907fcf6d5d5ef91af4518b3dab3a5da0f75'/>
<id>urn:sha1:b840d907fcf6d5d5ef91af4518b3dab3a5da0f75</id>
<content type='text'>
The video sprites support various video surface formats natively and can
handle scaling as well.  So add support for them using the new DRM core
sprite support functions.

v2: use drm specific fourcc header and defines
v3: address Daniel's comments:
  - don't take struct mutex around register access (only needed for
    regs in the GT power well)
  - don't hold struct mutex across vblank waits
  - fix up update_plane API (pass obj instead of GTT offset)
  - add interlaced defines for sprite regs
  - drop unnecessary 'reg' variables
  - comment double buffered reg flushing
  Also fix w/h confusion when writing the scaling reg.
v4: more fixes, address more comments from Daniel, and include Hai's fix
  - prevent divide by zero in scaling calculation (Hai Lan)
  - update to Ville's new DRM_FORMAT_* types
  - fix sprite watermark handling (calc based on CRTC size, separate
    from normal display wm)
  - remove private refcounts now that the fb cleanups handles things
v5: add linear surface support
v6: remove color key clearing &amp; setting from update_plane

For this version, I tested DPMS since it came up in the last review;
DPMS off/on works ok when a video player is working under X, but for
power saving we'll probably want to do something smarter.  I'll leave
that for a separate patch on top.  Likewise with the refcounting/fb
layer handling, which are really separate cleanups.

Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>drm: Replace pitch with pitches[] in drm_framebuffer</title>
<updated>2011-12-20T10:06:27Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2011-12-19T22:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01f2c7730e188077026c5f766f85f329c7000c54'/>
<id>urn:sha1:01f2c7730e188077026c5f766f85f329c7000c54</id>
<content type='text'>
Otherwise each driver would need to keep the information inside
their own framebuffer object structure. Also add offsets[]. BOs
on the other hand are driver specific, so those can be kept in
driver specific structures.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: add an fb creation ioctl that takes a pixel format v5</title>
<updated>2011-11-15T19:53:23Z</updated>
<author>
<name>Jesse Barnes</name>
</author>
<published>2011-11-14T22:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=308e5bcbdb10452e8aba31aa21432fb67ee46d72'/>
<id>urn:sha1:308e5bcbdb10452e8aba31aa21432fb67ee46d72</id>
<content type='text'>
To properly support the various plane formats supported by different
hardware, the kernel must know the pixel format of a framebuffer object.
So add a new ioctl taking a format argument corresponding to a fourcc
name from the new drm_fourcc.h header file.  Implement the fb creation
hooks in terms of the new mode_fb_cmd2 using helpers where the old
bpp/depth values are needed.

v2: create DRM specific fourcc header file for sharing with libdrm etc
v3: fix rebase failure and use DRM fourcc codes in intel_display.c and
    update commit message
v4: make fb_cmd2 handle field into an array for multi-object formats
    pull in Ville's fix for the memcpy in drm_plane_init
    apply Ville's cleanup to zero out fb_cmd2 arg in drm_mode_addfb
v5: add 'flags' field for interlaced support (from Ville)

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Reviewed-by: Rob Clark &lt;rob.clark@linaro.org&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: restore only the mode of this driver on lastclose (v2)</title>
<updated>2011-04-27T07:51:59Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2011-04-21T21:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8e7a2b8ccfdae0d4cb6bd25824bbedcd42da316'/>
<id>urn:sha1:e8e7a2b8ccfdae0d4cb6bd25824bbedcd42da316</id>
<content type='text'>
i915 calls the panic handler function on last close to reset the modes,
however this is a really bad idea for multi-gpu machines, esp shareable
gpus machines. So add a new entry point for the driver to just restore
its own fbcon mode.

v2: move code into fb helper, fix panic code to block mode change on
powered off GPUs.

[airlied: this hits drm core and I wrote it and it was reviewed on intel-gfx
 so really I signed it off twice ;-).]
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Revert "drm: Update fbdev fb_fix_screeninfo"</title>
<updated>2011-01-15T00:10:28Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2011-01-14T23:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3632ef8909118db9584e1bed9538dc180adb32f8'/>
<id>urn:sha1:3632ef8909118db9584e1bed9538dc180adb32f8</id>
<content type='text'>
This reverts commit dfe63bb0ad9810db13aab0058caba97866e0a681.

This commit was causing nouveau not to work properly, for -rc1 I'd
prefer it worked and we can look if this is useful for 2.6.39.

Cc: James Simmons &lt;jsimmons@infradead.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drm/i915: Use the mappable sizes determined by GTT for consistency.</title>
<updated>2011-01-11T20:35:40Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2010-12-22T14:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35c3047ad15849335242b847c94f180ef45db490'/>
<id>urn:sha1:35c3047ad15849335242b847c94f180ef45db490</id>
<content type='text'>
There should be no difference, but we can eliminate redundant code.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>drm: Update fbdev fb_fix_screeninfo</title>
<updated>2011-01-07T03:44:40Z</updated>
<author>
<name>James Simmons</name>
</author>
<published>2010-12-23T16:40:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfe63bb0ad9810db13aab0058caba97866e0a681'/>
<id>urn:sha1:dfe63bb0ad9810db13aab0058caba97866e0a681</id>
<content type='text'>
If you change the color depth via fbset or some other framebuffer aware
userland application struct fb_fix_screeninfo is not updated to this new
information. This patch fixes this issue. Also the function is changed to
just pass in struct drm_framebuffer so in the future we could use more
fields. I'm hoping some day fix-&gt;smem* could be set here :-)

Signed-off-by: James Simmons &lt;jsimmons@infradead.org&gt;
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>
