Re: [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'

2020-12-15 Thread Mauro Rossi
of this translation unit >int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base) >^ >static >1 warning generated. > > vim +/dce60_get_dp_ref_freq_khz +83 > drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c > > 2428ad5c6ece1a6 Mauro Ross

[PATCH] xf86drm: add drmOpenByFB

2020-05-23 Thread Mauro Rossi
OpenByFB is introduced to overcome GPU driver loading order issue on a device with multiple GPUs, e.g. Intel iGPU and Nvidia dGPU where the first drmfb kernel module loaded will become device file /dev/dri/card0 and the second will become /dev/dri/card1 The use case is to prefer Intel iGPU over

[PATCH] drm/edid: fix building error

2020-02-03 Thread Mauro Rossi
7)->vtotal != 312 || cea_mode_for_vic(28)->vtotal != 312 make[4]: *** [~/pie-x86_kernel/kernel/scripts/Makefile.build:265: drivers/gpu/drm/drm_edid.o] Error 1 Fixes: 7befe62 ("drm/edid: Abstract away cea_edid_modes[]") Signed-off-by: Mauro Rossi --- drivers/gpu/drm/drm_edid.c | 2 +-

Re: [PATCH] libdrm: Convert to Android.mk to Android.bp

2019-09-25 Thread Mauro Rossi
On Wed, Sep 25, 2019 at 6:17 PM John Stultz wrote: > On Wed, Sep 25, 2019 at 3:39 AM Eric Engestrom > wrote: > > > > On Tuesday, 2019-09-24 23:09:08 -0700, John Stultz wrote: > > > On Tue, Sep 24, 2019 at 4:30 PM John Stultz > wrote: > > > > On Tue, Sep 24, 2019 at 3:24 PM Rob Herring wrote:

Re: [PATCH] libdrm: Convert to Android.mk to Android.bp

2019-09-25 Thread Mauro Rossi
Hello On Wed, Sep 25, 2019 at 12:39 PM Eric Engestrom wrote: > On Tuesday, 2019-09-24 23:09:08 -0700, John Stultz wrote: > > On Tue, Sep 24, 2019 at 4:30 PM John Stultz > wrote: > > > On Tue, Sep 24, 2019 at 3:24 PM Rob Herring wrote: > > > > Trying to maintain something that works across

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-04-26 Thread Mauro Rossi
Here is patch using include which should suffice for the purpose. Cheers Mauro On Mon, Apr 22, 2019 at 11:46 AM Mauro Rossi wrote: > > Hi Emil, Chih-Wei, > > what about the series of latest three patches we have in oreo-x86 branch? > > [oreo-x86 branch] > http://git.osdn.n

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-04-22 Thread Mauro Rossi
uro Mauro On Wed, Apr 17, 2019 at 7:50 PM Emil Velikov wrote: > > On Mon, 18 Mar 2019 at 13:32, Tapani Pälli wrote: > > On 3/18/19 3:25 PM, Robert Foss wrote: > > > Hey, > > > > > > On 3/18/19 2:11 PM, Mauro Rossi wrote: > > >> Hi, > > &

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-04-22 Thread Mauro Rossi
: > > > > On 3/18/19 3:25 PM, Robert Foss wrote: > > Hey, > > > > On 3/18/19 2:11 PM, Mauro Rossi wrote: > >> Hi, > >> > >> On Mon, Mar 18, 2019 at 10:58 AM Robert Foss > >> wrote: > >>> > >>> Hey Mauro, > >>

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-03-18 Thread Mauro Rossi
Hi, On Mon, Mar 18, 2019 at 10:58 AM Robert Foss wrote: > > Hey Mauro, > > On 3/18/19 9:38 AM, Mauro Rossi wrote: > > Hi Robert, > > > > On Mon, Mar 18, 2019 at 9:21 AM Robert Foss > > wrote: > >> > >> On a

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-03-18 Thread Mauro Rossi
t libcutils probably can be replaced with liblog, > but I'm not 100% sure. > > > Rob. > > On 3/18/19 9:09 AM, Robert Foss wrote: > > This is probably a good idea! > > > > > > Reviewed-by: Robert Foss > > > > On 3/17/19 9:54 PM, Mauro Rossi wrote: > >

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-03-17 Thread Mauro Rossi
Hi, I used the option --subject-prefix="PATCH libdrm" but it did not go as expected. Anyway, the patch is for Android build of mesa/drm Mauro On Sun, Mar 17, 2019 at 9:50 PM Mauro Rossi wrote: > > Fixes the following building error: > > FAILED: > $(

[PATCH] android: libdrm_platform: add liblog shared dependency

2019-03-17 Thread Mauro Rossi
invocation) Signed-off-by: Mauro Rossi --- Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android.mk b/Android.mk index f2c78bc1..f832b24e 100644 --- a/Android.mk +++ b/Android.mk @@ -61,6 +61,9 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \ $(LOCAL_PATH) \ $(LOCAL_PATH

Re: [drm_hwc] PSA: drm_hwc submissions via gitlab

2018-05-05 Thread Mauro Rossi
e.h handle and it would make sense for minigbm to evolve accordingly, and I'd like to try them in oreo-x86 as a like-for-like replacement option for gbm_gralloc Thank for any info Mauro Rossi Il 04 mag 2018 14:48, "Robert Foss" <robert.f...@collabora.com> ha scritto: Heya, O

Re: [drm_hwc] PSA: drm_hwc submissions via gitlab

2018-05-05 Thread Mauro Rossi
Il 04 mag 2018 19:51, "Alistair Strachan" <astrac...@google.com> ha scritto: On Fri, May 4, 2018 at 10:35 AM Sean Paul <seanp...@chromium.org> wrote: > On Fri, May 04, 2018 at 05:19:50PM +, Mauro Rossi wrote: [snip] > > Another question is for Intel a

Re: [drm_hwcomposer] [PATCH] Take Connection state into account. (v2)

2018-01-31 Thread Mauro Rossi
Il 08/gen/2018 09:46 PM, "Sean Paul" <seanp...@chromium.org> ha scritto: On Mon, Jan 08, 2018 at 03:41:49PM -0500, Sean Paul wrote: > On Sat, Jan 06, 2018 at 12:59:58AM +0100, Mauro Rossi wrote: > > Porting of original commit 76fb87e675 of Jim Bish in android-ia maste

[drm_hwcomposer] [PATCH] Take Connection state into account. (v2)

2018-01-08 Thread Mauro Rossi
Porting of original commit 76fb87e675 of Jim Bish in android-ia master to fdo Original commit message: "There are various places where we should be really taking connection state into account before querying the properties or assuming it as primary. This patch fixes them." (v2) checks on

[drm_hwcomposer] [PATCH] Update external connectors list

2018-01-08 Thread Mauro Rossi
DVID, DVII and VGA are required by discrete and integrated GPUs --- drmconnector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drmconnector.cpp b/drmconnector.cpp index 247f56b..145518f 100644 --- a/drmconnector.cpp +++ b/drmconnector.cpp @@ -73,7 +73,9 @@ bool

Re: [drm_hwcomposer PATCH] Take Connection state into account. (v2)

2018-01-04 Thread Mauro Rossi
2018-01-03 12:16 GMT+01:00 Robert Foss <robert.f...@collabora.com>: > Hey Mauro, > > Thanks for the patch! It builds and looks good to me, but I have some > suggestions however. > > > On Wed, 2018-01-03 at 11:10 +0100, Mauro Rossi wrote: > > These cha

[drm_hwcomposer PATCH] Take Connection state into account. (v2)

2018-01-04 Thread Mauro Rossi
These changes avoid following logcat error on integrated and dedicated GPUs: ... 2245 2245 E hwc-drm-resources: Could not find a suitable encoder/crtc for display 2 ... 2245 2245 E hwc-drm-resources: Failed CreateDisplayPipe 56 with -19 ... 2245 2245 E hwcomposer-drm: Can't initialize Drm

Re: [PATCH] android: amdgpu: move asic id table to a separate file

2017-07-27 Thread Mauro Rossi
? I cannot see any in my inbox. > > OK. I re-submitted v2 patch to replace > /etc with /system/etc. > > 2017-07-27 1:36 GMT+08:00 Mauro Rossi <issor.or...@gmail.com>: >> This one has conceptual error and is to be dropped. >> >> The ones submitted by Chih-Wei

Re: [PATCH] android: amdgpu: move asic id table to a separate file

2017-07-24 Thread Mauro Rossi
Hi, after git-send I noticed that libdrm patches in drii-devel are prefixed by [ PATCH libdrm ] Please consider that this is a libdrm patch. Mauro 2017-07-22 11:01 GMT+02:00 Mauro Rossi <issor.or...@gmail.com>: > Changes in Android.mk makefile to avoid building errors in mesa > du

[PATCH] android: amdgpu: move asic id table to a separate file

2017-07-23 Thread Mauro Rossi
Changes in Android.mk makefile to avoid building errors in mesa due to missing LOCAL_CFLAGS variable definition for AMDGPU_ASIC_ID_TABLE and ASIC_ID_TABLE_NUM_ENTRIES Fixes: 7e6bf88cac ("amdgpu: move asic id table to a separate file") --- amdgpu/Android.mk | 8 1 file changed, 8

[PATCH 2/2] amdgpu: add Android build support

2015-08-18 Thread Mauro Rossi
--- amdgpu/Android.mk | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 amdgpu/Android.mk diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk new file mode 100644 index 000..469df1b --- /dev/null +++ b/amdgpu/Android.mk @@ -0,0 +1,18 @@ +LOCAL_PATH := $(call

[PATCH 1/2] amdgpu: add Makefile.sources

2015-08-18 Thread Mauro Rossi
--- amdgpu/Makefile.am | 18 -- amdgpu/Makefile.sources | 15 +++ 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 amdgpu/Makefile.sources diff --git a/amdgpu/Makefile.am b/amdgpu/Makefile.am index ed97803..37f7198 100644 ---