diff mbox series

[SRU,Eoan,linux-raspi2,1/1] UBUNTU: raspi2: [Config] CONFIG_DRM_V3D=m

Message ID 20191101064300.16073-2-hui.wang@canonical.com
State New
Headers show
Series CONFIG_DRM_V3D is disabled for linux-raspi2 of eoan | expand

Commit Message

Hui Wang Nov. 1, 2019, 6:43 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1850876

Users reported that we should enable the DRM_V3D, this driver could
work together with DRM_VC4, then greatly reduce the graphical
overhead of CPU since most of graphical works move to GPU.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 debian.raspi2/config/annotations          | 1 +
 debian.raspi2/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Juerg Haefliger Nov. 6, 2019, 4:43 p.m. UTC | #1
Subject should be:

UBUNTU: [Config] raspi2: CONFIG_DRM_V3D=m


> BugLink: https://bugs.launchpad.net/bugs/1850876
> 
> Users reported that we should enable the DRM_V3D, this driver could
> work together with DRM_VC4, then greatly reduce the graphical
> overhead of CPU since most of graphical works move to GPU.
> 
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Acked-by: Juerg Haefliger <juergh@canonical.com>


> ---
>  debian.raspi2/config/annotations          | 1 +
>  debian.raspi2/config/config.common.ubuntu | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.raspi2/config/annotations b/debian.raspi2/config/annotations
> index c22a50d878b9..f94a960ef4ff 100644
> --- a/debian.raspi2/config/annotations
> +++ b/debian.raspi2/config/annotations
> @@ -1542,6 +1542,7 @@ CONFIG_DRM_TEGRA                                policy<{'armhf-generic': 'm'}>
>  CONFIG_DRM_TEGRA_DEBUG                          policy<{'armhf-generic': 'n'}>
>  CONFIG_DRM_TEGRA_STAGING                        policy<{'armhf-generic': 'y'}>
>  CONFIG_DRM_STI                                  policy<{'armhf': 'n'}>
> +CONFIG_DRM_V3D                                  policy<{'arm64': 'm', 'armhf': 'm'}>note<LP:1850876>
>  CONFIG_DRM_VC4                                  policy<{'arm64': 'm'}>
>  CONFIG_DRM_ETNAVIV                              policy<{'armhf-generic': 'm'}>
>  CONFIG_DRM_ETNAVIV_REGISTER_LOGGING             policy<{'armhf-generic': 'n'}>
> diff --git a/debian.raspi2/config/config.common.ubuntu b/debian.raspi2/config/config.common.ubuntu
> index 964e030c398a..89cc11c7edce 100644
> --- a/debian.raspi2/config/config.common.ubuntu
> +++ b/debian.raspi2/config/config.common.ubuntu
> @@ -1836,7 +1836,7 @@ CONFIG_DRM_TOSHIBA_TC358767=m
>  CONFIG_DRM_TTM=m
>  CONFIG_DRM_TVE200=m
>  CONFIG_DRM_UDL=m
> -# CONFIG_DRM_V3D is not set
> +CONFIG_DRM_V3D=m
>  CONFIG_DRM_VC4=m
>  # CONFIG_DRM_VC4_HDMI_CEC is not set
>  CONFIG_DRM_VGEM=m
Connor Kuehl Nov. 6, 2019, 10:06 p.m. UTC | #2
On 10/31/19 11:43 PM, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1850876
> 
> Users reported that we should enable the DRM_V3D, this driver could
> work together with DRM_VC4, then greatly reduce the graphical
> overhead of CPU since most of graphical works move to GPU.
> 
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Acked-by: Connor Kuehl <connor.kuehl@canonical.com>

> ---
>   debian.raspi2/config/annotations          | 1 +
>   debian.raspi2/config/config.common.ubuntu | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.raspi2/config/annotations b/debian.raspi2/config/annotations
> index c22a50d878b9..f94a960ef4ff 100644
> --- a/debian.raspi2/config/annotations
> +++ b/debian.raspi2/config/annotations
> @@ -1542,6 +1542,7 @@ CONFIG_DRM_TEGRA                                policy<{'armhf-generic': 'm'}>
>   CONFIG_DRM_TEGRA_DEBUG                          policy<{'armhf-generic': 'n'}>
>   CONFIG_DRM_TEGRA_STAGING                        policy<{'armhf-generic': 'y'}>
>   CONFIG_DRM_STI                                  policy<{'armhf': 'n'}>
> +CONFIG_DRM_V3D                                  policy<{'arm64': 'm', 'armhf': 'm'}>note<LP:1850876>
>   CONFIG_DRM_VC4                                  policy<{'arm64': 'm'}>
>   CONFIG_DRM_ETNAVIV                              policy<{'armhf-generic': 'm'}>
>   CONFIG_DRM_ETNAVIV_REGISTER_LOGGING             policy<{'armhf-generic': 'n'}>
> diff --git a/debian.raspi2/config/config.common.ubuntu b/debian.raspi2/config/config.common.ubuntu
> index 964e030c398a..89cc11c7edce 100644
> --- a/debian.raspi2/config/config.common.ubuntu
> +++ b/debian.raspi2/config/config.common.ubuntu
> @@ -1836,7 +1836,7 @@ CONFIG_DRM_TOSHIBA_TC358767=m
>   CONFIG_DRM_TTM=m
>   CONFIG_DRM_TVE200=m
>   CONFIG_DRM_UDL=m
> -# CONFIG_DRM_V3D is not set
> +CONFIG_DRM_V3D=m
>   CONFIG_DRM_VC4=m
>   # CONFIG_DRM_VC4_HDMI_CEC is not set
>   CONFIG_DRM_VGEM=m
>
Hui Wang Nov. 7, 2019, 1:51 a.m. UTC | #3
On 2019/11/7 上午12:43, Juerg Haefliger wrote:
> Subject should be:
>
> UBUNTU: [Config] raspi2: CONFIG_DRM_V3D=m

OK, got it. thx.


>
>
>> BugLink: https://bugs.launchpad.net/bugs/1850876
>>
>> Users reported that we should enable the DRM_V3D, this driver could
>> work together with DRM_VC4, then greatly reduce the graphical
>> overhead of CPU since most of graphical works move to GPU.
>>
>> Signed-off-by: Hui Wang <hui.wang@canonical.com>
> Acked-by: Juerg Haefliger <juergh@canonical.com>
>
>
>> ---
>>   debian.raspi2/config/annotations          | 1 +
>>   debian.raspi2/config/config.common.ubuntu | 2 +-
>>   2 files changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/debian.raspi2/config/annotations b/debian.raspi2/config/annotations
>> index c22a50d878b9..f94a960ef4ff 100644
>> --- a/debian.raspi2/config/annotations
>> +++ b/debian.raspi2/config/annotations
>> @@ -1542,6 +1542,7 @@ CONFIG_DRM_TEGRA                                policy<{'armhf-generic': 'm'}>
>>   CONFIG_DRM_TEGRA_DEBUG                          policy<{'armhf-generic': 'n'}>
>>   CONFIG_DRM_TEGRA_STAGING                        policy<{'armhf-generic': 'y'}>
>>   CONFIG_DRM_STI                                  policy<{'armhf': 'n'}>
>> +CONFIG_DRM_V3D                                  policy<{'arm64': 'm', 'armhf': 'm'}>note<LP:1850876>
>>   CONFIG_DRM_VC4                                  policy<{'arm64': 'm'}>
>>   CONFIG_DRM_ETNAVIV                              policy<{'armhf-generic': 'm'}>
>>   CONFIG_DRM_ETNAVIV_REGISTER_LOGGING             policy<{'armhf-generic': 'n'}>
>> diff --git a/debian.raspi2/config/config.common.ubuntu b/debian.raspi2/config/config.common.ubuntu
>> index 964e030c398a..89cc11c7edce 100644
>> --- a/debian.raspi2/config/config.common.ubuntu
>> +++ b/debian.raspi2/config/config.common.ubuntu
>> @@ -1836,7 +1836,7 @@ CONFIG_DRM_TOSHIBA_TC358767=m
>>   CONFIG_DRM_TTM=m
>>   CONFIG_DRM_TVE200=m
>>   CONFIG_DRM_UDL=m
>> -# CONFIG_DRM_V3D is not set
>> +CONFIG_DRM_V3D=m
>>   CONFIG_DRM_VC4=m
>>   # CONFIG_DRM_VC4_HDMI_CEC is not set
>>   CONFIG_DRM_VGEM=m
diff mbox series

Patch

diff --git a/debian.raspi2/config/annotations b/debian.raspi2/config/annotations
index c22a50d878b9..f94a960ef4ff 100644
--- a/debian.raspi2/config/annotations
+++ b/debian.raspi2/config/annotations
@@ -1542,6 +1542,7 @@  CONFIG_DRM_TEGRA                                policy<{'armhf-generic': 'm'}>
 CONFIG_DRM_TEGRA_DEBUG                          policy<{'armhf-generic': 'n'}>
 CONFIG_DRM_TEGRA_STAGING                        policy<{'armhf-generic': 'y'}>
 CONFIG_DRM_STI                                  policy<{'armhf': 'n'}>
+CONFIG_DRM_V3D                                  policy<{'arm64': 'm', 'armhf': 'm'}>note<LP:1850876>
 CONFIG_DRM_VC4                                  policy<{'arm64': 'm'}>
 CONFIG_DRM_ETNAVIV                              policy<{'armhf-generic': 'm'}>
 CONFIG_DRM_ETNAVIV_REGISTER_LOGGING             policy<{'armhf-generic': 'n'}>
diff --git a/debian.raspi2/config/config.common.ubuntu b/debian.raspi2/config/config.common.ubuntu
index 964e030c398a..89cc11c7edce 100644
--- a/debian.raspi2/config/config.common.ubuntu
+++ b/debian.raspi2/config/config.common.ubuntu
@@ -1836,7 +1836,7 @@  CONFIG_DRM_TOSHIBA_TC358767=m
 CONFIG_DRM_TTM=m
 CONFIG_DRM_TVE200=m
 CONFIG_DRM_UDL=m
-# CONFIG_DRM_V3D is not set
+CONFIG_DRM_V3D=m
 CONFIG_DRM_VC4=m
 # CONFIG_DRM_VC4_HDMI_CEC is not set
 CONFIG_DRM_VGEM=m