From: John Keeping <hidden> Date: 2016-01-21 13:54:09
If DRM_FBDEV_EMULATION is not selected in the config then we should not
setup a framebuffer console.
Signed-off-by: John Keeping <redacted>
---
drivers/gpu/drm/rockchip/Makefile | 3 ++-
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
@@ -2,8 +2,9 @@# Makefile for the drm device driver. This driver provides support for the# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.-rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.orockchip_drm_fbdev.o\+rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.o\rockchip_drm_gem.orockchip_drm_vop.o+rockchipdrm-$(CONFIG_DRM_FBDEV_EMULATION)+=rockchip_drm_fbdev.oobj-$(CONFIG_ROCKCHIP_DW_HDMI)+=dw_hdmi-rockchip.oobj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI)+=dw-mipi-dsi.o
From: Daniel Vetter <hidden> Date: 2016-01-21 16:52:50
On Thu, Jan 21, 2016 at 01:53:46PM +0000, John Keeping wrote:
If DRM_FBDEV_EMULATION is not selected in the config then we should not
setup a framebuffer console.
It should just magically work, and this patch here just removes a bit more
dead code in the rockchip driver itself that's not needed in case fbdev
emulation is disabled.
Can you please double-check this is the case and then resend with a
clarified commit message?
Thanks, Daniel
@@ -2,8 +2,9 @@# Makefile for the drm device driver. This driver provides support for the# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.-rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.orockchip_drm_fbdev.o\+rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.o\rockchip_drm_gem.orockchip_drm_vop.o+rockchipdrm-$(CONFIG_DRM_FBDEV_EMULATION)+=rockchip_drm_fbdev.oobj-$(CONFIG_ROCKCHIP_DW_HDMI)+=dw_hdmi-rockchip.oobj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI)+=dw-mipi-dsi.o
--
2.7.0.226.gfe986fe
_______________________________________________
dri-devel mailing list
dri-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
From: John Keeping <hidden> Date: 2016-01-21 18:20:15
If DRM_FBDEV_EMULATION is not selected in the config then we can save a
bit of space by not including the framebuffer code.
Signed-off-by: John Keeping <redacted>
---
On Thu, 21 Jan 2016 17:52:51 +0100, Daniel Vetter wrote:
On Thu, Jan 21, 2016 at 01:53:46PM +0000, John Keeping wrote:
quoted
If DRM_FBDEV_EMULATION is not selected in the config then we should not
setup a framebuffer console.
It should just magically work, and this patch here just removes a bit more
dead code in the rockchip driver itself that's not needed in case fbdev
emulation is disabled.
Can you please double-check this is the case and then resend with a
clarified commit message?
You're right, it does work without this change, so this is just to save
a bit of space when we don't need this feature.
v2:
- change commit message to clarify that this is only to remove some dead
code
drivers/gpu/drm/rockchip/Makefile | 3 ++-
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
@@ -2,8 +2,9 @@# Makefile for the drm device driver. This driver provides support for the# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.-rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.orockchip_drm_fbdev.o\+rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.o\rockchip_drm_gem.orockchip_drm_vop.o+rockchipdrm-$(CONFIG_DRM_FBDEV_EMULATION)+=rockchip_drm_fbdev.oobj-$(CONFIG_ROCKCHIP_DW_HDMI)+=dw_hdmi-rockchip.oobj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI)+=dw-mipi-dsi.o
If DRM_FBDEV_EMULATION is not selected in the config then we can save a
bit of space by not including the framebuffer code.
Signed-off-by: John Keeping <redacted>
---
On Thu, 21 Jan 2016 17:52:51 +0100, Daniel Vetter wrote:
quoted
On Thu, Jan 21, 2016 at 01:53:46PM +0000, John Keeping wrote:
quoted
If DRM_FBDEV_EMULATION is not selected in the config then we should not
setup a framebuffer console.
It should just magically work, and this patch here just removes a bit more
dead code in the rockchip driver itself that's not needed in case fbdev
emulation is disabled.
Can you please double-check this is the case and then resend with a
clarified commit message?
You're right, it does work without this change, so this is just to save
a bit of space when we don't need this feature.
v2:
- change commit message to clarify that this is only to remove some dead
code
drivers/gpu/drm/rockchip/Makefile | 3 ++-
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
@@ -2,8 +2,9 @@ # Makefile for the drm device driver. This driver provides support for the # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.-rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.orockchip_drm_fbdev.o\+rockchipdrm-y:=rockchip_drm_drv.orockchip_drm_fb.o\rockchip_drm_gem.orockchip_drm_vop.o+rockchipdrm-$(CONFIG_DRM_FBDEV_EMULATION)+=rockchip_drm_fbdev.oobj-$(CONFIG_ROCKCHIP_DW_HDMI)+=dw_hdmi-rockchip.oobj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI)+=dw-mipi-dsi.o