mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 06:48:19 +02:00
radeon: make build without libdrm_radeon better
This commit is contained in:
parent
d513915d27
commit
c83d0bfe06
2 changed files with 5 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#include <stdint.h>
|
||||
#include "drm.h"
|
||||
#include "radeon_drm.h"
|
||||
#include "radeon_bo.h"
|
||||
#include "radeon_bocs_wrapper.h"
|
||||
|
||||
struct radeon_cs_reloc {
|
||||
struct radeon_bo *bo;
|
||||
|
|
|
|||
|
|
@ -1016,6 +1016,10 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
|
|||
return screen;
|
||||
}
|
||||
|
||||
#ifndef RADEON_PARAM_DEVICE_ID
|
||||
#define RADEON_PARAM_DEVICE_ID 17
|
||||
#endif
|
||||
|
||||
static radeonScreenPtr
|
||||
radeonCreateScreen2(__DRIscreenPrivate *sPriv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue