<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/display/intel_fbdev_fb.c, branch linux-6.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-09-19T13:37:06Z</updated>
<entry>
<title>drm/i915/fb: convert intel_framebuffer_create() to struct drm_gem_object</title>
<updated>2024-09-19T13:37:06Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2024-09-17T16:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e294868295325cb5fb40e330e1b6d5b3d37950e8'/>
<id>urn:sha1:e294868295325cb5fb40e330e1b6d5b3d37950e8</id>
<content type='text'>
Prefer the driver agnostic struct drm_gem_object over i915 specific
struct drm_i915_gem_object.

Move the declaration to the right place while at it.

Reviewed-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
Acked-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/5120aa0f5e49e95526b3ac20c1325bac1d95aa21.1726589119.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/i915/fbdev: convert intel_fbdev.c to struct drm_gem_object</title>
<updated>2024-09-19T13:19:39Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2024-09-17T16:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=baa46d1bdda2f7ee0b468a9381ff47c9038d5d31'/>
<id>urn:sha1:baa46d1bdda2f7ee0b468a9381ff47c9038d5d31</id>
<content type='text'>
Prefer the driver agnostic struct drm_gem_object over i915 specific
struct drm_i915_gem_object. Add new intel_bo_* functions as needed.

Reviewed-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
Acked-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/246b802bdbcd01a970ff8255d11db337f7b47b39.1726589119.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/i915: Change intel_fbdev_fb_alloc() return type</title>
<updated>2024-05-13T16:22:48Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2024-05-10T10:22:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6eca4dbe499890ce4340f49d309029e131e1e3e7'/>
<id>urn:sha1:6eca4dbe499890ce4340f49d309029e131e1e3e7</id>
<content type='text'>
Change intel_fbdev_fb_alloc() to return struct intel_fb instead
of struct drm_framebuffer. Let's us eliminate some annoying
aliasing variables in the fbdev setup code.

v2: Assing the results to the correct variable (Jani)
    Fix xe's copy

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240510102233.25057-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Acked-by: Lucas De Marchi &lt;lucas.demarchi@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects</title>
<updated>2024-02-07T00:01:43Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2024-02-02T22:43:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1ee98cff3d86271491b08315fcdfa4c3f097e1e'/>
<id>urn:sha1:f1ee98cff3d86271491b08315fcdfa4c3f097e1e</id>
<content type='text'>
The "io" address of an object is its dma address minus the
region.start. Subtract the latter to make smem_start correct.
The current code happens to work for genuine LMEM objects
as LMEM region.start==0, but for LMEMBAR stolen objects
region.start!=0.

TODO: perhaps just set smem_start=0 always as our .fb_mmap()
implementation no longer depends on it? Need to double check
it's not needed for anything else...

Reviewed-by: Andrzej Hajda &lt;andrzej.hajda@intel.com&gt;
Tested-by: Paz Zcharya &lt;pazz@chromium.org&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240202224340.30647-14-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Use struct resource for memory region IO as well</title>
<updated>2024-02-06T23:58:40Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2024-02-02T22:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c0fa9f4ec220d4a6fac1b80c231c38cf6d0934d'/>
<id>urn:sha1:3c0fa9f4ec220d4a6fac1b80c231c38cf6d0934d</id>
<content type='text'>
mem-&gt;region is a struct resource, but mem-&gt;io_start and
mem-&gt;io_size are not for whatever reason. Let's unify this
and convert the io stuff into a struct resource as well.
Should make life a little less annoying when you don't have
juggle between two different approaches all the time.

Mostly done using cocci (with manual tweaks at all the
places where we mutate io_size by hand):
@@
struct intel_memory_region *M;
expression START, SIZE;
@@
- M-&gt;io_start = START;
- M-&gt;io_size = SIZE;
+ M-&gt;io = DEFINE_RES_MEM(START, SIZE);

@@
struct intel_memory_region *M;
@@
- M-&gt;io_start
+ M-&gt;io.start

@@
struct intel_memory_region M;
@@
- M.io_start
+ M.io.start

@@
expression M;
@@
- M-&gt;io_size
+ resource_size(&amp;M-&gt;io)

@@
expression M;
@@
- M.io_size
+ resource_size(&amp;M.io)

Reviewed-by: Andrzej Hajda &lt;andrzej.hajda@intel.com&gt;
Acked-by: Nirmoy Das &lt;nirmoy.das@intel.com&gt;
Tested-by: Paz Zcharya &lt;pazz@chromium.org&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240202224340.30647-2-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915/display: split i915 specific code from intel_fbdev</title>
<updated>2023-12-01T15:26:23Z</updated>
<author>
<name>Jouni Högander</name>
</author>
<published>2023-11-15T09:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80d20fd99124800749d605c733911a8d9da78e2b'/>
<id>urn:sha1:80d20fd99124800749d605c733911a8d9da78e2b</id>
<content type='text'>
Split out code from intel_fbdev that can not be share between i915 and
xe. Create new i915 specific source/header file intel_fbdev_fb.[ch] which
contains this code.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Vinod Govindapillai &lt;vinod.govindapillai@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231115090719.3210079-2-jouni.hogander@intel.com
</content>
</entry>
</feed>
