drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h
So they can be used from other files. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190618081648.17297-2-boris.brezillon@collabora.com
This commit is contained in:

committed by
Rob Herring

parent
eb69c8a4bf
commit
dd082cef99
@@ -17,9 +17,6 @@
|
||||
#include "panfrost_gpu.h"
|
||||
#include "panfrost_regs.h"
|
||||
|
||||
#define gpu_write(dev, reg, data) writel(data, dev->iomem + reg)
|
||||
#define gpu_read(dev, reg) readl(dev->iomem + reg)
|
||||
|
||||
static irqreturn_t panfrost_gpu_irq_handler(int irq, void *data)
|
||||
{
|
||||
struct panfrost_device *pfdev = data;
|
||||
|
Reference in New Issue
Block a user