<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/intel_sprite.c, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-01T20:24:21Z</updated>
<entry>
<title>drm/i915: Fix plane init failure paths</title>
<updated>2016-04-01T20:24:21Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-03-21T14:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fca0ce2a5caf6ae7d9d8510fb87ae6195b40057a'/>
<id>urn:sha1:fca0ce2a5caf6ae7d9d8510fb87ae6195b40057a</id>
<content type='text'>
Deal with errors from drm_universal_plane_init() in primary and cursor
plane init paths (sprites were already covered). Also make the code
neater by using goto for error handling.

v2: Rebased due to drm_universal_plane_init() 'name' parameter
v3: Another rebase due to s/""/NULL/
v4: Rebased on drm-nightly (Matthew Auld)
v5: Fix email address (Matthew Auld)

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1458571402-32749-1-git-send-email-matthew.auld@intel.com
</content>
</entry>
<entry>
<title>drm/i915: Pass drm_frambuffer to intel_compute_page_offset()</title>
<updated>2016-03-01T10:48:09Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-02-15T20:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f2d9934bd6ac73950832c96b385822846670668'/>
<id>urn:sha1:4f2d9934bd6ac73950832c96b385822846670668</id>
<content type='text'>
intel_compute_page_offsets() gets passed a bunch of the framebuffer
metadate sepearately. Just pass the framebuffer itself to make life
simpler for the caller, and make it less likely they would make a
mistake in the order of the arguments (as most as just unsigned ints and
such).

We still pass the pitch explicitly since for 90/270 degree rotation
the caller has to pass in the right thing.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1455569699-27905-7-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Pass 90/270 vs. 0/180 rotation info for intel_gen4_compute_page_offset()</title>
<updated>2016-03-01T10:48:08Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-02-15T20:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d0deca8c6e0b25c409c6f4b2dc081596d7dffd9'/>
<id>urn:sha1:8d0deca8c6e0b25c409c6f4b2dc081596d7dffd9</id>
<content type='text'>
The page aligned surface address calculation needs to know which way
things are rotated. The contract now says that the caller must pass the
rotate x/y coordinates, as well as the tile_height aligned stride in
the tile_height direction. This will make it fairly simple to deal with
90/270 degree rotation on SKL+ where we have to deal with the rotated
view into the GTT.

v2: Pass rotation instead of bool even thoughwe only care about 0/180 vs. 90/270
v3: Introduce intel_tile_dims(), and don't mix up different units so much
v4: Unconfuse bytes vs. pixels even more

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1455569699-27905-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Standardize on 'cpp' for bytes per pixel</title>
<updated>2016-01-28T18:56:57Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-20T19:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac484963f979b6ab490183f0e09a3a17175f5758'/>
<id>urn:sha1:ac484963f979b6ab490183f0e09a3a17175f5758</id>
<content type='text'>
We more or less randomly call the "bytes per pixel" value
'cpp', 'bytes_per_pixel', 'pixel_size', or even 'bpp'. Let's just pick
one and stick to it. I've chosen 'cpp'.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1453316739-13296-6-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Make display gtt offsets u32</title>
<updated>2016-01-28T18:56:38Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-20T19:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54ea9da88fc89bbba0c2f888bdb265d9fd6a3945'/>
<id>urn:sha1:54ea9da88fc89bbba0c2f888bdb265d9fd6a3945</id>
<content type='text'>
Using 'unsigned long' for ggtt offsets doesn't make much sense. Use
'u32' instead since we've not yet seen a &gt;4GiB ggtt.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1453316739-13296-5-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued</title>
<updated>2016-01-18T07:18:16Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-01-18T07:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2da80b57c69a2a5ae0e16dead8cdbfab46f970bc'/>
<id>urn:sha1:2da80b57c69a2a5ae0e16dead8cdbfab46f970bc</id>
<content type='text'>
Pull in Dave's drm-next pull request to have a clean base for 4.6.
Also, we need the various atomic state extensions Maarten recently
created.

Conflicts are just adjacent changes that all resolve to nothing in git
diff.

Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: s/intel_gen4_compute_page_offset/intel_compute_tile_offset/</title>
<updated>2016-01-13T16:46:44Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-12T19:08:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce1e5c140ce945ef6fc4ee4803f0c2f774873d8f'/>
<id>urn:sha1:ce1e5c140ce945ef6fc4ee4803f0c2f774873d8f</id>
<content type='text'>
Since intel_gen4_compute_page_offset() can now handle tiling formats
all the way down to gen2, rename it to intel_compute_tile_offset().
Not that we actually use it on gen2/3 since there's no DSPSURF etc.
registers which would take a page aligned address.

v2: s/page/tile/ (Daniel)

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-7-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Redo intel_tile_height() as intel_tile_size() / intel_tile_width()</title>
<updated>2016-01-13T16:46:29Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-12T19:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=832be82f87c2bf711d8d7aaeb59da925b4573f6c'/>
<id>urn:sha1:832be82f87c2bf711d8d7aaeb59da925b4573f6c</id>
<content type='text'>
I find more usual to think about tile widths than heights, so changing
the intel_tile_height() to calculate the tile height as
tile_size/tile_width is easier than the opposite to the poor brain.

v2: Reorder arguments for consistency
    Constify dev_priv arguments

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-4-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Factor out intel_tile_width()</title>
<updated>2016-01-13T16:46:24Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-12T19:08:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b49f94839660a82f1f40ee95cfe70245b4444d7'/>
<id>urn:sha1:7b49f94839660a82f1f40ee95cfe70245b4444d7</id>
<content type='text'>
Pull the tile width calculations from intel_fb_stride_alignment() into a
new function intel_tile_width().

Also take the opportunity to pass aroun dev_priv instead of dev to
intel_fb_stride_alignment().

v2: Reorder argumnents to be more consistent with other functions
    Change intel_fb_stride_alignment() to accept dev_priv instead of dev
v3: Deal with Y tilling (Daniel)

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-3-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Pass modifier instead of tiling_mode to gen4_compute_page_offset()</title>
<updated>2016-01-13T16:46:17Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2016-01-12T19:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5c653384f84b0ccb97e9cf942b6e8ed759221bf'/>
<id>urn:sha1:b5c653384f84b0ccb97e9cf942b6e8ed759221bf</id>
<content type='text'>
In preparation for handling more than X tiling, pass the fb modifier to
gen4_compute_page_offset() instead of the obj-&gt;tiling_mode.

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-2-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
</feed>
