<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/ast/ast_post.c, branch linux-7.0.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-07-09T12:36:21+00:00</updated>
<entry>
<title>drm/ast: Split ast_set_def_ext_reg() by chip generation</title>
<updated>2025-07-09T12:36:21+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b1ce4ab06f70fa1dea6b4b6a372aa43989c55897'/>
<id>urn:sha1:b1ce4ab06f70fa1dea6b4b6a372aa43989c55897</id>
<content type='text'>
Duplicate ast_set_def_ext_reg() for individual chip generations
and move call it into per-chip source files. Remove the original
code. AST2100 and AST2500 reuse the function from earlier chips.
AST2600 appears to be incorrect as it uses an older function. Keep
this behavior for now.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-9-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Move Gen2+ and Gen1 POST code to separate source files</title>
<updated>2025-07-09T12:36:18+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1be08550e6e72e8ab29e909db266130b59a47277'/>
<id>urn:sha1:1be08550e6e72e8ab29e909db266130b59a47277</id>
<content type='text'>
Move POST code for Gen2+ and Gen1 to separate source files and
hide it in ast_2100_post() ans ast_2000_post(). With P2A
configuration, the POST logic for these chip generations has
been mingled in ast_init_dram_reg(). Hence, handle all generations
in a single change. The split simplifies both cases. Also move
the DRAM init tables for each Gen into the respective source
file. No changes to the overall logic.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-6-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Move Gen4+ POST code to separate source file</title>
<updated>2025-07-09T12:36:17+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0f336e9cffeef3c0655aca400a4574e0a140deeb'/>
<id>urn:sha1:0f336e9cffeef3c0655aca400a4574e0a140deeb</id>
<content type='text'>
Move POST code for Gen4+ to separate source file and hide it in
ast_2300_post(). With P2A configuration, it performs a full board
POST and enables the transmitter chip; otherwise it only enables the
transmitter chip.

Also fix coding style in several places. No changes to the overall
logic.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-5-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Move Gen6+ POST code to separate source file</title>
<updated>2025-07-09T12:36:14+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3c1ec4e8cbd6ff45d9eb7c9ba6675dfdce90ee8a'/>
<id>urn:sha1:3c1ec4e8cbd6ff45d9eb7c9ba6675dfdce90ee8a</id>
<content type='text'>
Move POST code for Gen6+ to separate source file and hide it in
ast_2500_post(). With P2A configuration, it performs a full board
POST; otherwise it enables the transmitter chip. No changes to the
overall logic.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-4-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Move Gen7+ POST code to separate source file</title>
<updated>2025-07-09T12:36:13+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f67fb980e19d86664da8d04c6e10f7c2b35de404'/>
<id>urn:sha1:f67fb980e19d86664da8d04c6e10f7c2b35de404</id>
<content type='text'>
Move POST code for Gen7+ to separate source file and hide it in
ast_2600_post(). There's not much going on here except for enabling
the DP transmitter chip.

v2:
- simplify logic (Jocelyn)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Declare helpers for POST in header</title>
<updated>2025-07-09T12:36:12+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-07-06T16:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=26ef96ee165d3cf4b3182a1fd9b01ee96c078c21'/>
<id>urn:sha1:26ef96ee165d3cf4b3182a1fd9b01ee96c078c21</id>
<content type='text'>
Provide POST helpers in header file before splitting up the AST
POST code.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20250706162816.211552-2-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Replace AST_VIDMEM_SIZE_ with Linux SZ_ constants</title>
<updated>2025-03-12T07:38:09+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-03-05T16:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2b7970e9a632b1e45ccf52b620079ab9ea5cad1a'/>
<id>urn:sha1:2b7970e9a632b1e45ccf52b620079ab9ea5cad1a</id>
<content type='text'>
Ast's AST_VIDMEM_SIZE_ constants enumerate supported video-memory
sizes from 8 MiB to 128 MiB. Replace them with Linux' SZ_ constants
of the same value. When expanded, the literal values remain the same.

The size constant for 128 MiB is unused and the default size is not
necessary. Remove both of them.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250305163207.267650-2-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Align naming in widescreen detection code to manual</title>
<updated>2025-02-03T13:01:04+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-01-31T09:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fdebbb2cec9d53aa6b83847d3762c7783514273a'/>
<id>urn:sha1:fdebbb2cec9d53aa6b83847d3762c7783514273a</id>
<content type='text'>
Rename variables and register constants to align with the programming
manual. Add new constants where necessary.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250131092257.115596-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Initialize ASTDP in ast_post_gpu()</title>
<updated>2025-01-22T12:52:49+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-01-17T10:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1c6220a3950bd8e60126f5ea234f3f7bd86321b1'/>
<id>urn:sha1:1c6220a3950bd8e60126f5ea234f3f7bd86321b1</id>
<content type='text'>
Remove the call to ast_dp_launch() from ast_detect_tx_chip() and
perform it unconditionally in ast_post_gpu().

Also add error handling: the detection code apparently used
ast_dp_launch() to test for a working ASTDP, falling back to VGA on
errors. As the VBIOS reports ASTDP, silently ignoring errors is
questionable behavior. With the refactoring, failing to initialize
the ASTDP will also fail probing the driver.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250117103450.28692-5-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Refactor ast_post_gpu() by Gen</title>
<updated>2025-01-22T12:52:48+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2025-01-17T10:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b40e209130bff435c8dcd17660cb4614ae62a3fb'/>
<id>urn:sha1:b40e209130bff435c8dcd17660cb4614ae62a3fb</id>
<content type='text'>
Reorganize ast_post_gpu() so that it first branches by Gen and then
by config mode and TX chip. This will later make it possible to split
up the function by Gen.

The helper ast_init_3rdtx() only handles Gen4 and Gen5, so leave it
out from the other Gens.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250117103450.28692-4-tzimmermann@suse.de
</content>
</entry>
</feed>
