mirror of
https://github.com/gnif/vendor-reset
synced 2024-11-04 18:00:17 +00:00
[amd] common: remove useless dependency on DRM
This commit is contained in:
parent
01074a6010
commit
331f44820e
@ -20,7 +20,7 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*/
|
||||
#include <drm/drm_print.h>
|
||||
//#include <drm/drm_print.h>
|
||||
|
||||
#include "atomfirmware.h"
|
||||
#include "amdgpu_atomfirmware.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/types.h>
|
||||
#include <drm/drm_print.h>
|
||||
//#include <drm/drm_print.h>
|
||||
/*
|
||||
* BIOS.
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <drm/drm_print.h>
|
||||
//#include <drm/drm_print.h>
|
||||
#include "common.h"
|
||||
#include "amdgpu_device.h"
|
||||
#include "amdgpu_discovery.h"
|
||||
|
@ -23,6 +23,12 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include <linux/kernel.h>
|
||||
#include "vendor-reset-dev.h"
|
||||
|
||||
/* these are to remove the dependency on DRM */
|
||||
#define DRM_INFO(fmt, args...) pr_info("vendor-reset-drm: " fmt, ##args)
|
||||
#define DRM_ERROR(fmt, args...) pr_err("vendor-reset-drm: " fmt, ##args)
|
||||
#define DRM_DEBUG(fmt, args...) pr_debug("vendor-reset-drm: " fmt, ##args)
|
||||
|
||||
|
||||
#define RREG32(reg) \
|
||||
({ \
|
||||
u32 __out; \
|
||||
|
Loading…
Reference in New Issue
Block a user