diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-20 09:23:10 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:50:53 +1000 |
commit | 8944d8b37ac9eecfff5706e9a11d5fcb3df64dbb (patch) | |
tree | 2949f256d612b1e4e28ef0bfea02c2105d5a2883 /drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | |
parent | 6d6e11e2844015a5f6c3d0373966fd4a459add8b (diff) | |
download | linux-8944d8b37ac9eecfff5706e9a11d5fcb3df64dbb.tar.gz |
drm/nouveau/kms/nv50-: convert wndw image_clr() to new push macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/ovly507e.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c b/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c index e182f376900f..1460dc529420 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c +++ b/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c @@ -54,19 +54,6 @@ ovly507e_scale_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) } } -void -ovly507e_image_clr(struct nv50_wndw *wndw) -{ - u32 *push; - if ((push = evo_wait(&wndw->wndw, 4))) { - evo_mthd(push, 0x0084, 1); - evo_data(push, 0x00000000); - evo_mthd(push, 0x00c0, 1); - evo_data(push, 0x00000000); - evo_kick(push, &wndw->wndw); - } -} - static int ovly507e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) { @@ -127,7 +114,7 @@ ovly507e = { .ntfy_reset = base507c_ntfy_reset, .ntfy_wait_begun = base507c_ntfy_wait_begun, .image_set = ovly507e_image_set, - .image_clr = ovly507e_image_clr, + .image_clr = base507c_image_clr, .scale_set = ovly507e_scale_set, .update = ovly507e_update, }; |