diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-11-15 15:19:55 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-12-08 14:47:42 +0100 |
commit | 4f054fcf4779a70888a397aa2e5a662e72e9b9e8 (patch) | |
tree | ed3097f6ec2f8fb064b383a588a926fb037a62f0 /drivers/gpu/drm/tve200/tve200_drm.h | |
parent | 50b45f2137243712e8d7e0c3abcc700827fed0db (diff) | |
download | linux-4f054fcf4779a70888a397aa2e5a662e72e9b9e8.tar.gz |
drm/tve200: Use drm_fb_cma_fbdev_init/fini()
Use drm_fb_cma_fbdev_init() and drm_fb_cma_fbdev_fini() which relies on
the fact that drm_device holds a pointer to the drm_fb_helper structure.
This means that the driver doesn't have to keep track of that.
Also use the drm_fb_helper functions directly.
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171115142001.45358-17-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/tve200/tve200_drm.h')
-rw-r--r-- | drivers/gpu/drm/tve200/tve200_drm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_drm.h b/drivers/gpu/drm/tve200/tve200_drm.h index 628b79324c48..5c270055bd58 100644 --- a/drivers/gpu/drm/tve200/tve200_drm.h +++ b/drivers/gpu/drm/tve200/tve200_drm.h @@ -103,7 +103,6 @@ struct tve200_drm_dev_private { struct drm_panel *panel; struct drm_bridge *bridge; struct drm_simple_display_pipe pipe; - struct drm_fbdev_cma *fbdev; void *regs; struct clk *pclk; |