tiancyin dc81177ef3 Fix screen corruption on secondary GPU
[why]
On RHEL9+, xorg-server.pc shows that the Xorg no longer depends on dri,
and dri.pc provides "/opt/amdgpu/include" path for pkg-config, this
cause pkg-config no longer output "-I/opt/amdgpu/include", consequently
the configure can't find gbm.h and HAVE_GBM_BO_USE_LINEAR is not
declared, that cause the corruption.

[how]
Since the gbm.pc also provides the "/opt/amdgpu/include" path, in module
dependence checking, GBM_CFLAGS get this path, so just explicitly add
GBM_CFLAGS into CPPFLAGS can fix this issue.

Signed-off-by: tiancyin <tianci.yin@amd.com>
2022-08-18 10:46:37 +00:00
2018-08-24 17:17:43 +02:00
2016-07-12 16:03:51 +09:00
2018-08-24 17:17:43 +02:00
2017-07-27 15:13:36 +09:00
2018-11-14 09:58:46 +01:00

xf86-video-amdgpu - Xorg driver for AMD Radeon GPUs using the amdgpu kernel driver

Questions regarding this software should be directed at the amd-gfx mailing list.

The main development code repository can be found at FreeDesktop Gitlab.

Please submit bug reports there and use merge requests for patch submission.

See the X.org wiki for further patch submission instructions and more information on the git code manager.

Description
No description provided
Readme 2.9 MiB
Languages
C 94.7%
M4 2.8%
Makefile 1.6%
Perl 0.8%