<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/display/dc/dml/Makefile, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-10-01T06:24:45Z</updated>
<entry>
<title>drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines</title>
<updated>2019-10-01T06:24:45Z</updated>
<author>
<name>Nick Desaulniers</name>
</author>
<published>2019-07-22T22:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7e7ba5757ec4dc3cd85b2390a2719a03fc82fa8'/>
<id>urn:sha1:a7e7ba5757ec4dc3cd85b2390a2719a03fc82fa8</id>
<content type='text'>
commit 0f0727d971f6fdf8f1077180d495ddb9928f0c8b upstream.

arch/x86/Makefile disables SSE and SSE2 for the whole kernel.  The
AMDGPU drivers modified in this patch re-enable SSE but not SSE2.  Turn
on SSE2 to support emitting double precision floating point instructions
rather than calls to non-existent (usually available from gcc_s or
compiler_rt) floating point helper routines for Clang.

This was originally landed in:
commit 10117450735c ("drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines")
but reverted in:
commit 193392ed9f69 ("Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines"")
due to bugreports from GCC builds. Add guards to only do so for Clang.

Link: https://bugs.freedesktop.org/show_bug.cgi?id=109487
Link: https://github.com/ClangBuiltLinux/linux/issues/327

Suggested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Suggested-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.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/amd/display: Properly guard display_mode_vba with DCN2</title>
<updated>2019-06-22T14:34:09Z</updated>
<author>
<name>Leo Li</name>
</author>
<published>2019-03-26T01:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=776c1f569f94e39a1776c22f29137661f294ff03'/>
<id>urn:sha1:776c1f569f94e39a1776c22f29137661f294ff03</id>
<content type='text'>
[Why]

display_mode_vba is for DCN2 and up. When building for upstream (DCN1
enabled only), there will be a build error, since display_mode_vba.c/h
is stripped out.

Note that building DCN1 only with internal dal-dev is still fine, since
display_mode_vba.h is not stripped out internally - only in upstream.
The make directives therefore stll work, and so will any #include's.

[How]

Since subsequent generations require DCN2 enabled anyways, guard the
makefile directive for display_mode_vba.o with DCN2. Guard any includes
with DCN2. In addition, guard the entire contents of display_mode_vba.h
with DCN2, to simulate the file being stripped out in upstream.

A forward declaration for 'struct display_mode_lib' also needs to be
added in display_mode_lib.h. Previously, display_mode_vba.h contained
the forward declaration, and display_mode_lib.h in turn included it.
This won't work if mode_vba.h is stripped out, requring mode_lib.h to do
so itself.

Signed-off-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add DCN2 changes to DML</title>
<updated>2019-06-21T23:59:34Z</updated>
<author>
<name>Harry Wentland</name>
</author>
<published>2019-02-22T14:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=728c06986a4f386c7ec5e5170716e30b610c6d32'/>
<id>urn:sha1:728c06986a4f386c7ec5e5170716e30b610c6d32</id>
<content type='text'>
Update DML (Display Mode Lib) to support DCN2

Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: remove soc_bounding_box.c</title>
<updated>2018-07-05T21:38:43Z</updated>
<author>
<name>Dmytro Laktyushkin</name>
</author>
<published>2018-06-05T11:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf28c2e205b1c37e412cb6785a34f10de944bae1'/>
<id>urn:sha1:bf28c2e205b1c37e412cb6785a34f10de944bae1</id>
<content type='text'>
Signed-off-by: Dmytro Laktyushkin &lt;Dmytro.Laktyushkin@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Remove unused CFLAGS entry in DML Makefile</title>
<updated>2018-02-19T19:19:54Z</updated>
<author>
<name>Harry Wentland</name>
</author>
<published>2018-02-08T21:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe649fb90727bb6717a7a45537922e68058edba1'/>
<id>urn:sha1:fe649fb90727bb6717a7a45537922e68058edba1</id>
<content type='text'>
Missed that with a previous change that removed unused files.

Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>amdgpu/dc/dml: Support clang option for stack alignment</title>
<updated>2018-02-19T19:19:51Z</updated>
<author>
<name>Matthias Kaehlcke</name>
</author>
<published>2018-02-08T20:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4769278e5c7fd2be445e4a34f834d40475fcb0ce'/>
<id>urn:sha1:4769278e5c7fd2be445e4a34f834d40475fcb0ce</id>
<content type='text'>
DML uses the compiler option -mpreferred-stack-boundary=4 to configure
a stack alignment of 16 bytes. Clang uses the option -mstack-alignment
instead, which expects as parameter the alignment in bytes, and not a
power of two like -mpreferred-stack-boundary.

Probe for both compiler options and use the correct one, similar to
what is done in arch/x86/Makefile.

Reported-by: Guenter Roeck &lt;groeck@chromium.org&gt;
Signed-off-by: Matthias Kaehlcke &lt;mka@chromium.org&gt;
Reviewed-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>amdgpu/dc/dml: Consolidate redundant CFLAGS</title>
<updated>2018-02-19T19:19:50Z</updated>
<author>
<name>Matthias Kaehlcke</name>
</author>
<published>2018-02-08T20:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4007e92bebebb65b8a1798e6bc9e21def9a1eab9'/>
<id>urn:sha1:4007e92bebebb65b8a1798e6bc9e21def9a1eab9</id>
<content type='text'>
Use a variable for common CFLAGS instead of specifying the same flags
for every source file.

Signed-off-by: Matthias Kaehlcke &lt;mka@chromium.org&gt;
Reviewed-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: dc: Remove unused display_mode_vba.c</title>
<updated>2018-02-19T19:18:32Z</updated>
<author>
<name>Harry Wentland</name>
</author>
<published>2018-01-18T14:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a27267e01ffa377e854645548b0bb11a5051c36c'/>
<id>urn:sha1:a27267e01ffa377e854645548b0bb11a5051c36c</id>
<content type='text'>
We're currently not using this.

v2: More files and includes to remove.

Signed-off-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add license to Makefiles</title>
<updated>2017-12-04T16:47:55Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2017-12-01T02:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2874a3c8c0c3b251d288a6149a80b9fd1c2f019'/>
<id>urn:sha1:e2874a3c8c0c3b251d288a6149a80b9fd1c2f019</id>
<content type='text'>
Was missing license text.

Acked-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Acked-by: Felix Kuehling &lt;Felix.Kuehling@amd.com&gt;
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: drop display_pipe_clocks.c.</title>
<updated>2017-10-21T20:50:58Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2017-09-28T00:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2126732fdaaa4101b186a76b4df52f575b5df4e5'/>
<id>urn:sha1:2126732fdaaa4101b186a76b4df52f575b5df4e5</id>
<content type='text'>
This code isn't used at all in the kernel tree, perhaps it can wait to
be imported when it is. It also does a lot of floating point calcs,
so probably good to drop it until it's needed and we can ensure
proper fpu accessors.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
