diff options
author | John Keeping <john@metanate.com> | 2019-07-03 11:51:11 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-08-08 00:23:15 +0200 |
commit | cc8f12996e24b102a086a253055ecc58c437c31d (patch) | |
tree | 1bdd1220807a75388ca7c6433cb1c579f02020d3 | |
parent | Revert "drm/gem: Rename drm_gem_dumb_map_offset() to drm_gem_map_offset()" (diff) | |
download | linux-cc8f12996e24b102a086a253055ecc58c437c31d.tar.xz linux-cc8f12996e24b102a086a253055ecc58c437c31d.zip |
drm/rockchip: fix VOP_WIN_GET macro
Commit 9a61c54b9bff ("drm/rockchip: vop: group vop registers") seems to
have unintentionally changed the defintion of this macro. Since it is
unused, this was not spotted but any attempt to use it results in
compilation errors.
Revert to the previous definition.
Fixes: 9a61c54b9bff ("drm/rockchip: vop: group vop registers")
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703095111.29117-1-john@metanate.com
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 7a30533d5c34..2f821c58007c 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -82,7 +82,7 @@ vop_get_intr_type(vop, &vop->data->intr->name, type) #define VOP_WIN_GET(vop, win, name) \ - vop_read_reg(vop, win->offset, win->phy->name) + vop_read_reg(vop, win->base, &win->phy->name) #define VOP_WIN_HAS_REG(win, name) \ (!!(win->phy->name.mask)) |