drm/amd/display: Update modifier list for gfx10_3
Subsystems (3)
PATCH 1/2 drm/amd/display: Update modifier list for gfx10_3
[Why]
Current list only includes modifiers where DCC_MAX_COMPRESSED_BLOCK is set to AMD_FMT_MOD_DCC_BLOCK_128B, while AMD_FMT_MOD_DCC_BLOCK_64B is also supported and used by userspace.
[How]
Add AMD_FMT_MOD_DCC_BLOCK_64B to modifiers with DCC supported.
--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +23 -0
@@ -4535,6 +4535,17 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,int pipe_xor_bits =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pipes);int pkrs =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pkrs); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | +AMD_FMT_MOD_SET (TILE_VERSION ,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS ) | +AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | +AMD_FMT_MOD_SET (DCC_MAX_COMPRESSED_BLOCK ,AMD_FMT_MOD_DCC_BLOCK_64B )); + add_modifier(mods, size, capacity, AMD_FMT_MOD | AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
@@ -4546,6 +4557,18 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B)); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | +AMD_FMT_MOD_SET (TILE_VERSION ,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS ) | +AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_RETILE ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | +AMD_FMT_MOD_SET (DCC_MAX_COMPRESSED_BLOCK ,AMD_FMT_MOD_DCC_BLOCK_64B )); + add_modifier(mods, size, capacity, AMD_FMT_MOD | AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/2 Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
This reverts commit bc3e72b3c3f20ab1583a8464e64f1a68169a28c5.
The regression caused by the original patch has been cleared, thus introduce back the change.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 13 +++++++++++++ .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 18 +++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +13 -0
@@ -908,6 +908,19 @@ int amdgpu_display_gem_fb_verify_and_init( &amdgpu_fb_funcs);if (ret) goto err; +/* Verify that the modifier is supported. */ +if (!drm_any_plane_has_format (dev, mode_cmd->pixel_format, + mode_cmd->modifier[0 ])) { +struct drm_format_name_buf format_name; +drm_dbg_kms (dev, +"unsupported pixel format %s / modifier 0x%llx\n" , +drm_get_format_name (mode_cmd->pixel_format, + &format_name), + mode_cmd->modifier[0 ]); + + ret = -EINVAL ; + goto err; + } ret =amdgpu_display_framebuffer_init (dev, rfb, mode_cmd, obj);if (ret)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +15 -3
@@ -4306,6 +4306,7 @@ static bool dm_plane_format_mod_supported(struct drm_plane *plane, {struct amdgpu_device *adev =drm_to_adev (plane->dev);const struct drm_format_info *info =drm_format_info (format); +int i;enum dm_micro_swizzle microtile =modifier_gfx9_swizzle_mode (modifier) &3 ;
@@ -4313,11 +4314,22 @@ static bool dm_plane_format_mod_supported(struct drm_plane *plane,return false;/* -* We always have to allow this modifier, because core DRM still -* checks LINEAR support if userspace does not provide modifers. +* We always have to allow these modifiers: +* 1. Core DRM checks for LINEAR support if userspace does not provide modifiers. +* 2. Not passing any modifiers is the same as explicitly passing INVALID. */ -if (modifier ==DRM_FORMAT_MOD_LINEAR ) +if (modifier ==DRM_FORMAT_MOD_LINEAR || + modifier ==DRM_FORMAT_MOD_INVALID ) {return true; + } + +/* Check that the modifier is on the list of the plane's supported modifiers. */ +for (i =0 ; i < plane->modifier_count; i++) { +if (modifier == plane->modifiers[i]) +break ; + } +if (i == plane->modifier_count) +return false;/* * The arbitrary tiling support for multiplane formats has not been hooked
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
looks like a safe reland to me. lgtm.
Quoted 75 lines · Qingqing Zhuo
This reverts commit
bc3e72b3c3f20ab1583a8464e64f1a68169a28c5.The regression caused by the original patch has been cleared, thus introduce back the change.
Signed-off-by Qingqing Zhuo <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 13 +++++++++++++ .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 18 +++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +13
-0@@ -908,6 +908,19 @@ int amdgpu_display_gem_fb_verify_and_init( &amdgpu_fb_funcs);if (ret) goto err; +/* Verify that the modifier is supported. */ +if (!drm_any_plane_has_format (dev, mode_cmd->pixel_format, + mode_cmd->modifier[0 ])) { +struct drm_format_name_buf format_name; +drm_dbg_kms (dev, +"unsupported pixel format %s / modifier 0x%llx\n" , +drm_get_format_name (mode_cmd->pixel_format, + &format_name), + mode_cmd->modifier[0 ]); + + ret = -EINVAL ; + goto err; + } ret =amdgpu_display_framebuffer_init (dev, rfb, mode_cmd, obj);if (ret)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +15
-4@@ -4306,6 +4306,7 @@ static bool dm_plane_format_mod_supported(struct drm_plane *plane, {struct amdgpu_device *adev =drm_to_adev (plane->dev);const struct drm_format_info *info =drm_format_info (format); +int i;enum dm_micro_swizzle microtile =modifier_gfx9_swizzle_mode (modifier) &3 ;@@ -4313,11 +4314,22 @@ static bool dm_plane_format_mod_supported(struct drm_plane *plane,return false;/* -* We always have to allow this modifier, because core DRM still -* checks LINEAR support if userspace does not provide modifers. +* We always have to allow these modifiers: +* 1. Core DRM checks for LINEAR support if userspace does not provide modifiers. +* 2. Not passing any modifiers is the same as explicitly passing INVALID. */ -if (modifier ==DRM_FORMAT_MOD_LINEAR ) +if (modifier ==DRM_FORMAT_MOD_LINEAR || + modifier ==DRM_FORMAT_MOD_INVALID ) {return true; + } + +/* Check that the modifier is on the list of the plane's supported modifiers. */ +for (i =0 ; i < plane->modifier_count; i++) { +if (modifier == plane->modifiers[i]) +break ; + } +if (i == plane->modifier_count) +return false;/* * The arbitrary tiling support for multiplane formats has not been hooked --
Quoted 2 lines
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
In reply to Qingqing ZhuoI using amd 3400g running with android-x86, this patch is a bad commit when i use android-x86 on amdgpu.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
Quoted 2 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit when i use android-x86 on amdgpu.
Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing
2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 16 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
Quoted 3 lines
I using amd 3400g running with android-x86, this patch is a bad commit when i use android-x86 on amdgpu.
Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 21 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 16 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
Quoted 3 lines
I using amd 3400g running with android-x86, this patch is a bad commit when i use android-x86 on amdgpu.
Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0
normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105]
[ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3
2021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 27 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 22 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 17 lines
Quoted 3 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit when i use android-x86 on amdgpu.
Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.
2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 54 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe0
normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
Quoted 32 lines
3
2021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 28 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 23 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 18 lines
Quoted 4 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.
Quoted 95 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 86 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe0
normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe3
2021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 28 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 23 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 18 lines
Quoted 4 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x1
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMD
Radeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_marker GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 16384 05-10 16:23:35.439 1686 1686 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] non_desktop set to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] hdmi_21 sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB 0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode: NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode: NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 1641 0x68 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 1641 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 1641 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 1080 0x40 0x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 1641 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected
05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] non_desktop set to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] hdmi_21 sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB 0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension DRI_Core version 2 05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_IMAGE_DRIVER version 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extension DRI_ConfigOptions version 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI_TexBuffer version 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI2_Flush version 4 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI_IMAGE version 18 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI_RENDERER_QUERY version 1 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI_CONFIG_QUERY version 2 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI2_Fence version 2 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI2_Interop version 1 05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extension DRI_NoError version 1 05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extension DRI2_Blob version 1 05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extension DRI_IMAGE version 18 05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extension DRI2_BufferDamage version 1 05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extension DRI_Robustness version 1 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
2021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 6 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.
Quoted 107 lines
Quoted 105 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 96 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end forpipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end forpipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 29 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 23 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 18 lines
Quoted 4 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing? Please provide your dmesg output.
Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer
2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 291 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS= 16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion 2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion 18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion 18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :
Quoted 130 lines
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 124 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 116 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 107 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 30 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 24 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 19 lines
Quoted 4 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
A userspace problem was due to the modifier used when you're creating a buffer but this check renders it as invalid modifier. Review patch 1 of this series and it will give you a good idea of a userspace bug that was caught using the check in this patch and fixed now.
An easy way to figure out what exactly went wrong so to debug the kernel code and check which check returns false for the modifier check. That will tell you exactly what you are missing wrt the modifier.
Quoted 429 lines · On Mon, May 10, 2021 at 12:45 PM youling 257 <[email protected]> wrote:
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 421 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS= 16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion 2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion 18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion 18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 124 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 116 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 107 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 30 lines
It would be very helpful if you could enable drm.debug=0x4 and then take the dmesg to figure out what modifier was rejected
Quoted 24 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 19 lines
Quoted 4 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
error dmesg,
05-10 16:59:27.004 0 0 I init : Service 'bootanim' (pid
1912) exited with status 0
05-10 16:59:27.016 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.016 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.016 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)
05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.023 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105]
05-10 16:59:27.023 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.024 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)
05-10 16:59:27.040 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.040 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.041 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4) 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108]
normal dmesg,
5-10 17:00:51.837 0 0 I init : Service 'bootanim' (pid
1922) exited with status 0
05-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 17:00:51.857 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 17:00:51.858 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106]
2021-05-11 0:50 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 10 lines
A userspace problem was due to the modifier used when you're creating a buffer but this check renders it as invalid modifier. Review patch 1 of this series and it will give you a good idea of a userspace bug that was caught using the check in this patch and fixed now.
An easy way to figure out what exactly went wrong so to debug the kernel code and check which check returns false for the modifier check. That will tell you exactly what you are missing wrt the modifier.
Quoted 442 lines
Quoted 440 lines · On Mon, May 10, 2021 at 12:45 PM youling 257 <[email protected]> wrote:
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 432 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS= 16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion
2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion
1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 131 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 122 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 113 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 33 lines
It would be very helpful if you could enable drm.debug=0x4 and then
take the dmesg to figure out what modifier was rejectedQuoted 26 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 21 lines
Quoted 5 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad
commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
05-10 17:18:46.509 0 0 I : [drm] amdgpu kernel
modesetting enabled.
05-10 17:18:46.510 0 0 I amdgpu : Topology: Add APU node [0x0:0x0] 05-10 17:18:46.510 0 0 D : checking generic (e0000000 fa0000) vs hw (e0000000 10000000) 05-10 17:18:46.510 0 0 I fb0 : switching to amdgpudrmfb from EFI VGA 05-10 17:18:46.510 0 0 I Console : switching to colour dummy
device 80x25
05-10 17:18:46.510 0 0 I amdgpu 0000: 0b:00.0: vgaarb:
deactivate vga console
05-10 17:18:46.510 0 0 I : [drm] initializing kernel
modesetting (RAVEN 0x1002:0x15D8 0x1002:0x15D8 0xC8).
05-10 17:18:46.510 0 0 I amdgpu 0000: 0b:00.0: amdgpu: Trusted
Memory Zone (TMZ) feature enabled
05-10 17:18:46.510 0 0 I : [drm] register mmio base: 0xFC900000 05-10 17:18:46.510 0 0 I : [drm] register mmio size: 524288 05-10 17:18:46.510 0 0 I : [drm] add ip block number 0
<soc15_common>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 1
<gmc_v9_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 2
<vega10_ih>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 3 <psp> 05-10 17:18:46.510 0 0 I : [drm] add ip block number 4
<gfx_v9_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 5
<sdma_v4_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 6
<powerplay>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 7 <dm> 05-10 17:18:46.510 0 0 I : [drm] add ip block number 8 <vcn_v1_0> 05-10 17:18:46.533 0 0 I : [drm] BIOS signature incorrect 0 0 05-10 17:18:46.533 0 0 I amdgpu 0000: 0b:00.0: amdgpu: Fetched VBIOS from ROM BAR 05-10 17:18:46.533 0 0 I amdgpu : ATOM BIOS: 113-PICASSO-115 05-10 17:18:46.534 0 0 I : [drm] VCN decode is enabled
in VM mode
05-10 17:18:46.534 0 0 I : [drm] VCN encode is enabled
in VM mode
05-10 17:18:46.534 0 0 I : [drm] JPEG decode is
enabled in VM mode
05-10 17:18:46.534 0 0 I : [drm] vm size is 262144 GB,
4 levels, block size is 9-bit, fragment size is 9-bit
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: VRAM:
64M 0x000000F400000000 - 0x000000F403FFFFFF (64M used)
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: GART:
1024M 0x0000000000000000 - 0x000000003FFFFFFF
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: AGP:
267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
05-10 17:18:46.534 0 0 I : [drm] Detected VRAM RAM=64M, BAR=64M 05-10 17:18:46.534 0 0 I : [drm] RAM width 64bits DDR4 05-10 17:18:46.534 0 0 I [drm] amdgpu: 64M of VRAM memory ready 05-10 17:18:46.534 0 0 I [drm] amdgpu: 3072M of GTT memory ready. 05-10 17:18:46.534 0 0 I [drm] GART: num cpu pages 262144, num gpu pages 262144 05-10 17:18:46.534 0 0 I : [drm] PCIE GART of 1024M enabled. 05-10 17:18:46.534 0 0 I : [drm] PTB located at 0x000000F400FA0000 05-10 17:18:46.536 0 0 I amdgpu : hwmgr_sw_init smu backed is smu10_smu 05-10 17:18:46.536 0 0 D [drm:dm_sw_init [amdgpu]] dm: DMCU firmware not found 05-10 17:18:46.537 0 0 I : [drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 1 05-10 17:18:46.537 0 0 I : [drm] PSP loading VCN firmware 05-10 17:18:46.558 0 0 I : [drm] reserve 0x400000 from
0xf403c00000 for PSP TMR
05-10 17:18:46.567 0 0 I iwlwifi 0000: 07:00.0: base HW
address: e0:d4:e8:48:f5:67
05-10 17:18:46.615 0 0 I amdgpu 0000: 0b:00.0: amdgpu: RAS:
optional ras ta ucode is not available
05-10 17:18:46.620 0 0 I amdgpu 0000: 0b:00.0: amdgpu: RAP:
optional rap ta ucode is not available
05-10 17:18:46.620 0 0 I amdgpu 0000: 0b:00.0: amdgpu:
SECUREDISPLAY: securedisplay ta ucode is not available
05-10 17:18:46.622 0 0 I : [drm] kiq ring mec 2 pipe 1 q 0 05-10 17:18:46.622 0 0 D : [drm:amdgpu_dm_irq_init
[amdgpu]] DM_IRQ
05-10 17:18:46.622 0 0 D :
[drm:dal_firmware_parser_init_cmd_tbl [amdgpu]] Don't have set_crtc_timing for v1
05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: values for F clock 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 400000 in kHz, 3099 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 933000 in kHz, 3574 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 1200000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 1333000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: values for DCF clock 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 300000 in kHz, 3099 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 600000 in kHz, 3574 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 626000 in kHz, 4250 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 654000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - number of connectors: 4
05-10 17:18:46.624 0 0 D [drm:dc_create [amdgpu]] DC:create_links: connectors_num: physical:4, virtual:0
05-10 17:18:46.624 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 0,link_index: 0
05-10 17:18:46.624 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - link_id: 19
05-10 17:18:46.624 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - is_internal_display: 0
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio id: 3
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio en: 0
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
Connector[0] description:signal 32
05-10 17:18:46.625 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_line: 0
05-10 17:18:46.625 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_engine_id: 1
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - DP_IS_USB_C: 0
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 1
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - ddi_channel_mapping: 0x00E4
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - chip_caps: 0
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - dc_link_construct finished successfully.
05-10 17:18:46.627 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 1,link_index: 1
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - link_id: 12
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - is_internal_display: 0
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio id: 3
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio en: 1
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
Connector[1] description:signal 4
05-10 17:18:46.628 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_line: 1
05-10 17:18:46.628 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_engine_id: 1
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - DP_IS_USB_C: 0
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 2
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - ddi_channel_mapping: 0x00E4
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - chip_caps: 8
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - dc_link_construct finished successfully.
05-10 17:18:46.630 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 2,link_index: 2
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - link_id: 12
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - is_internal_display: 0
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio id: 3
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio en: 2
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
Connector[2] description:signal 4
05-10 17:18:46.631 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_line: 2
05-10 17:18:46.631 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_engine_id: 1
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - DP_IS_USB_C: 1
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 3
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - ddi_channel_mapping: 0x00E4
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - chip_caps: 256
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - dc_link_construct finished successfully.
05-10 17:18:46.632 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 3,link_index: 3
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - link_id: 12
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - is_internal_display: 0
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio id: 3
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - hpd_gpio en: 3
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
Connector[3] description:signal 4
05-10 17:18:46.633 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_line: 3
05-10 17:18:46.633 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table - i2c_engine_id: 1
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - DP_IS_USB_C: 1
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 4
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - ddi_channel_mapping: 0x00E4
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - chip_caps: 264
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - dc_link_construct finished successfully.
05-10 17:18:46.634 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - end
05-10 17:18:46.634 0 0 D : [drm:dc_create [amdgpu]]
Display Core initialized
05-10 17:18:46.635 0 0 I : [drm] Display Core
initialized with v3.2.132!
05-10 17:18:46.666 0 0 D :
[drm:dm_helpers_dp_read_dpcd [amdgpu]] Failed to find connector for link!
05-10 17:18:46.679 0 0 D : [drm:mpc1_assert_idle_mpcc
[amdgpu]] REG_WAIT taking a while: 5ms in mpc1_assert_idle_mpcc line:108
05-10 17:18:46.679 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 0
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 0
05-10 17:18:46.680 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 1
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 1
05-10 17:18:46.680 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 2
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 2
05-10 17:18:46.681 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 3
05-10 17:18:46.681 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 3
05-10 17:18:46.681 0 0 D : [drm:drm_connector_init]
cmdline mode for connector DP-1 2560x1600@60Hz
05-10 17:18:46.681 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=0, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.681 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-1 2560x1600@60Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]non_desktop set to 0
05-10 17:18:46.706 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]hdmi_21 sink detected. parsing edid
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
CEA VCDB 0xff
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]non_desktop set to 0
05-10 17:18:46.706 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]hdmi_21 sink detected. parsing edid
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
CEA VCDB 0xff
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]
HDMI: [Block 0]
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]
HDMI: [Block 1]
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]dc_link_detect_helper: manufacturer_id = 1863, product_id = 101, serial_number = 1010101, manufacture_week = 20, manufacture_year = 29, display_name = HDMI, speaker_flag = 1, audio_mode_count = 1
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]dc_link_detect_helper: mode number = 0, format_code = 1, channel_count = 2, sample_rate = 7, sample_size = 7
05-10 17:18:46.707 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=1, dc_sink_in=00000000e79abeb2 is now Connected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.707 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-2 2560x1600@60Hz
05-10 17:18:46.707 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=2, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.707 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-3 2560x1600@60Hz
05-10 17:18:46.708 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=3, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000c614992a for: dal_src=78, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 000000009e2a0026 for: dal_src=79, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000acf6dfe7 for: dal_src=80, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000696d7950 for: dal_src=81, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000ce7f5912 for: dal_src=72, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000a96b7920 for: dal_src=73, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000de906a3f for: dal_src=74, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 0000000071d9647b for: dal_src=75, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000d8d507bc for: dal_src=26, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 0000000056c37432 for: dal_src=27, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000c1abaf1d for: dal_src=28, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 000000004c8a831f for: dal_src=29, irq context=1
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000ba66a8e0 for: dal_src=1, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 000000009a8dde8f for: dal_src=7, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 00000000b049c0cd for: dal_src=2, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 0000000010e5f25b for: dal_src=3, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]] DM_IRQ: added irq handler: 000000003e0c16ec for: dal_src=4, irq context=0
05-10 17:18:46.721 0 0 I : [drm] VCN decode and encode
initialized successfully(under SPG Mode).
05-10 17:18:46.722 0 0 I : kfd kfd: amdgpu: Allocated
3969056 bytes on gart
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: error
getting iommu info. is the iommu enabled?
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: Error
initializing iommuv2
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: device
1002:15d8 NOT added due to errors
05-10 17:18:46.722 0 0 I amdgpu 0000: 0b:00.0: amdgpu: SE 1,
SH per SE 1, CU per SH 11, active_cu_number 11
05-10 17:18:46.722 0 0 D : [drm:drm_client_modeset_probe] 05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1]
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1] status updated from unknown to disconnected
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1] disconnected
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1]
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1] status updated from unknown to connected
05-10 17:18:46.722 0 0 D : [drm:drm_add_edid_modes]
ELD monitor HDMI
05-10 17:18:46.722 0 0 D [drm:drm_add_edid_modes] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 17:18:46.722 0 0 D : [drm:drm_add_edid_modes]
ELD size 28, SAD count 1
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]non_desktop set to 0
05-10 17:18:46.722 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]hdmi_21 sink detected. parsing edid
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]
CEA VCDB 0xff
05-10 17:18:46.722 0 0 D :
[drm:drm_for_each_detailed_block.part.0] stereo mode not supported
05-10 17:18:46.722 0 0 D :
[drm:drm_for_each_detailed_block.part.0] stereo mode not supported
05-10 17:18:46.722 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 17:18:46.722 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 1641 0x68 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 1641 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 1641 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 1080 0x40 0x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 1641 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2]
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2] status updated from unknown to disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3]
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3] status updated from unknown to disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3] disconnected
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 78 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 85 enabled? yes
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 90 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 94 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] Not using firmware configuration
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] looking for cmdline mode on connector 85
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] found mode 2560x1600
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] picking CRTCs for 16384x16384 config
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] desired mode 2560x1600 set on crtc 67 (0,0)
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 1 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 2 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 3 primary plane
05-10 17:18:46.729 0 0 I : [drm] fb mappable at 0xDD26A000 05-10 17:18:46.729 0 0 I : [drm] vram apper at 0xDC000000 05-10 17:18:46.729 0 0 I : [drm] size 16384000 05-10 17:18:46.729 0 0 I : [drm] fb depth is 24 05-10 17:18:46.729 0 0 I : [drm] pitch is 10240 05-10 17:18:46.729 0 0 I fbcon : amdgpudrmfb (fb0) is primary device 05-10 17:18:46.729 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D [drm:dc_commit_state [amdgpu]]dc_commit_state: 1 streams
05-10 17:18:46.731 0 0 D : [drm:dc_stream_log
[amdgpu]] core_stream 0x000000008f34ae37: src: 0, 0, 2560, 1600; dst:
0, 0, 2560, 1600, colorSpace:6
05-10 17:18:46.731 0 0 D [drm:dc_stream_log [amdgpu]]
pix_clk_khz: 267810, h_total: 2720, v_total: 1641, pixelencoder:3, displaycolorDepth:2 05-10 17:18:46.731 0 0 D [drm:dc_commit_state [amdgpu]] link: 1 05-10 17:18:46.732 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 0
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 0
05-10 17:18:46.732 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 1
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 1
05-10 17:18:46.732 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 2
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 2
05-10 17:18:46.733 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 3
05-10 17:18:46.733 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 3
05-10 17:18:46.753 0 0 D : [drm:drm_dp_dpcd_access]
AMDGPU DM aux hw bus 0: Too many retries, giving up. First error: -5
05-10 17:18:46.759 0 0 D : [drm:optc1_disable_crtc
[amdgpu]] REG_WAIT taking a while: 1ms in optc1_disable_crtc line:544
05-10 17:18:46.761 0 0 D :
[drm:write_i2c_retimer_setting [amdgpu]] retimer write toslave_address = 0x5d, offset = 0xa, reg_val= 0x13, i2c_success = 0
05-10 17:18:46.761 0 0 D :
[drm:write_i2c_retimer_setting [amdgpu]] Set retimer failed
05-10 17:18:46.764 0 0 D : [drm:mod_hdcp_add_display
[amdgpu]] [Link 0] > HDCP_INITIALIZED
05-10 17:18:46.765 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.765 0 0 D : [drm:dc_commit_state
[amdgpu]] {2560x1600, 2720x1641@267810Khz}
05-10 17:18:46.778 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.779 0 0 I Console : switching to colour frame
buffer device 320x100
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D : [drm:event_mall_stutter
[amdgpu]] Allow idle optimizations (MALL): 0
05-10 17:18:46.780 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.802 0 0 I amdgpu 0000: 0b:00.0: [drm] fb0:
amdgpudrmfb frame buffer device
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
gfx uses VM inv eng 0 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.0.0 uses VM inv eng 1 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.1.0 uses VM inv eng 4 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.2.0 uses VM inv eng 5 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.3.0 uses VM inv eng 6 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.0.1 uses VM inv eng 7 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.1.1 uses VM inv eng 8 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.2.1 uses VM inv eng 9 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.3.1 uses VM inv eng 10 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
kiq_2.1.0 uses VM inv eng 11 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
sdma0 uses VM inv eng 0 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_dec uses VM inv eng 1 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_enc0 uses VM inv eng 4 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_enc1 uses VM inv eng 5 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringjpeg_dec uses VM inv eng 6 on hub 1
05-10 17:18:46.812 0 0 I : [drm] Initialized amdgpu
3.41.0 20150101 for 0000:0b:00.0 on minor 0
05-10 17:18:46.831 0 0 I modprobe: /sbin/modprobe
hdaudio:v1002AA01r00100700a01
05-10 17:18:46.832 0 0 I snd_hda_intel 0000: 0b:00.1: bound
0000:0b:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=0 ret=0 en=0
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=1 ret=28 en=1
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=2 ret=0 en=0
2021-05-11 1:05 GMT+08:00, youling 257 <[email protected]>:
Quoted 56 lines
error dmesg,
05-10 16:59:27.004 0 0 I init : Service 'bootanim' (pid
1912) exited with status 0
05-10 16:59:27.016 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.016 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.016 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.023 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105]05-10 16:59:27.023 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.024 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)
05-10 16:59:27.040 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.040 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-2205-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.041 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4) 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108]normal dmesg,
5-10 17:00:51.837 0 0 I init : Service 'bootanim' (pid
1922) exited with status 005-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 17:00:51.857 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 17:00:51.858 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106]
Quoted 467 lines
2021-05-11 0:50 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 465 lines
A userspace problem was due to the modifier used when you're creating a buffer but this check renders it as invalid modifier. Review patch 1 of this series and it will give you a good idea of a userspace bug that was caught using the check in this patch and fixed now.
An easy way to figure out what exactly went wrong so to debug the kernel code and check which check returns false for the modifier check. That will tell you exactly what you are missing wrt the modifier.Quoted 452 lines · On Mon, May 10, 2021 at 12:45 PM youling 257 <[email protected]> wrote:
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 444 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS=
16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion
2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion
1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 142 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 133 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 124 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
3[ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
3[ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 35 lines
It would be very helpful if you could enable drm.debug=0x4 and then
take the dmesg to figure out what modifier was rejectedQuoted 27 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher
<[email protected]>:Quoted 21 lines
Quoted 5 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad
commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
Hi
I'm seeing the following warning when building agd5f's tree with clang 14:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4940:6:
warning: unused variable 'i' [-Wunused-variable]
int i;
^1 warning generated.
Which points to this revert
Quoted 1,256 lines · On Mon, 10 May 2021 at 18:43, youling 257 <[email protected]> wrote:
05-10 17:18:46.509 0 0 I : [drm] amdgpu kernel
modesetting enabled.05-10 17:18:46.510 0 0 I amdgpu : Topology: Add APU node [0x0:0x0] 05-10 17:18:46.510 0 0 D : checking generic (e0000000 fa0000) vs hw (e0000000 10000000) 05-10 17:18:46.510 0 0 I fb0 : switching to amdgpudrmfb from EFI VGA 05-10 17:18:46.510 0 0 I Console : switching to colour dummydevice 80x25
05-10 17:18:46.510 0 0 I amdgpu 0000: 0b:00.0: vgaarb:
deactivate vga console
05-10 17:18:46.510 0 0 I : [drm] initializing kernel
modesetting (RAVEN 0x1002:0x15D8 0x1002:0x15D80xC8).
05-10 17:18:46.510 0 0 I amdgpu 0000: 0b:00.0: amdgpu: Trusted
Memory Zone (TMZ) feature enabled05-10 17:18:46.510 0 0 I : [drm] register mmio base: 0xFC900000 05-10 17:18:46.510 0 0 I : [drm] register mmio size: 524288 05-10 17:18:46.510 0 0 I : [drm] add ip block number 0<
soc15_common>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 1
<gmc_v9_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 2
<vega10_ih>05-10 17:18:46.510 0 0 I : [drm] add ip block number 3 <psp> 05-10 17:18:46.510 0 0 I : [drm] add ip block number 4<
gfx_v9_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 5
<sdma_v4_0>
05-10 17:18:46.510 0 0 I : [drm] add ip block number 6
<powerplay>05-10 17:18:46.510 0 0 I : [drm] add ip block number 7 <dm> 05-10 17:18:46.510 0 0 I : [drm] add ip block number 8 <vcn_v1_0> 05-10 17:18:46.533 0 0 I : [drm] BIOS signature incorrect 0 0 05-10 17:18:46.533 0 0 I amdgpu 0000: 0b:00.0: amdgpu: Fetched VBIOS from ROM BAR 05-10 17:18:46.533 0 0 I amdgpu : ATOM BIOS: 113-PICASSO-115 05-10 17:18:46.534 0 0 I : [drm] VCN decode is enabledin VM mode
05-10 17:18:46.534 0 0 I : [drm] VCN encode is enabled
in VM mode
05-10 17:18:46.534 0 0 I : [drm] JPEG decode is
enabled in VM mode
05-10 17:18:46.534 0 0 I : [drm] vm size is 262144 GB,
4 levels, block size is 9-bit, fragment size is 9-bit
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: VRAM:
64M0x000000F400000000-0x000000F403FFFFFF(64M used)
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: GART:
1024M0x0000000000000000-0x000000003FFFFFFF
05-10 17:18:46.534 0 0 I amdgpu 0000: 0b:00.0: amdgpu: AGP:
267419648M0x000000F800000000-0x0000FFFFFFFFFFFF05-10 17:18:46.534 0 0 I : [drm] Detected VRAM RAM=64M, BAR=64M 05-10 17:18:46.534 0 0 I : [drm] RAM width 64bits DDR4 05-10 17:18:46.534 0 0 I [drm] amdgpu: 64M of VRAM memory ready 05-10 17:18:46.534 0 0 I [drm] amdgpu: 3072M of GTT memory ready. 05-10 17:18:46.534 0 0 I [drm] GART: num cpu pages 262144, num gpu pages 262144 05-10 17:18:46.534 0 0 I : [drm] PCIE GART of 1024M enabled. 05-10 17:18:46.534 0 0 I : [drm] PTB located at 0x000000F400FA0000 05-10 17:18:46.536 0 0 I amdgpu : hwmgr_sw_init smu backed is smu10_smu 05-10 17:18:46.536 0 0 D [drm:dm_sw_init [amdgpu]] dm: DMCU firmware not found 05-10 17:18:46.537 0 0 I : [drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 1 05-10 17:18:46.537 0 0 I : [drm] PSP loading VCN firmware 05-10 17:18:46.558 0 0 I : [drm] reserve 0x400000 from
0xf403c00000for PSP TMR
05-10 17:18:46.567 0 0 I iwlwifi 0000: 07:00.0: base HW
address: e0:d4:e8:48:f5:67
05-10 17:18:46.615 0 0 I amdgpu 0000: 0b:00.0: amdgpu: RAS:
optional ras ta ucode is not available
05-10 17:18:46.620 0 0 I amdgpu 0000: 0b:00.0: amdgpu: RAP:
optional rap ta ucode is not available
05-10 17:18:46.620 0 0 I amdgpu 0000: 0b:00.0: amdgpu:
SECUREDISPLAY: securedisplay ta ucode is not available05-10 17:18:46.622 0 0 I : [drm] kiq ring mec 2 pipe 1 q 0 05-10 17:18:46.622 0 0 D : [drm:amdgpu_dm_irq_init[amdgpu]]
DM_IRQ
05-10 17:18:46.622 0 0 D :
[drm:dal_firmware_parser_init_cmd_tbl [amdgpu]] Don't haveset_crtc_timingfor v105-10 17:18:46.623 0 0 I [drm] DM_PPLIB: values for F clock 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 400000 in kHz, 3099 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 933000 in kHz, 3574 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 1200000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 1333000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: values for DCF clock 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 300000 in kHz, 3099 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 600000 in kHz, 3574 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 626000 in kHz, 4250 in mV 05-10 17:18:46.623 0 0 I [drm] DM_PPLIB: 654000 in kHz, 4399 in mV 05-10 17:18:46.623 0 0 D : [drm:dc_create [amdgpu]]BIOS object table - number of connectors: 4
05-10 17:18:46.624 0 0 D [drm:dc_create [amdgpu]] DC:create_links:connectors_num: physical:4, virtual:0
05-10 17:18:46.624 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 0,link_index: 0
05-10 17:18:46.624 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -link_id: 19
05-10 17:18:46.624 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -is_internal_display: 0
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioid: 3
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioen: 0
05-10 17:18:46.625 0 0 D : [drm:link_create [amdgpu]]
Connector[0] description:signal 32
05-10 17:18:46.625 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_line: 0
05-10 17:18:46.625 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_engine_id: 1
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -DP_IS_USB_C: 0
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 1
05-10 17:18:46.626 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -ddi_channel_mapping:0x00E4
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -chip_caps: 0
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -dc_link_constructfinished successfully.
05-10 17:18:46.627 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 1,link_index: 1
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -link_id: 12
05-10 17:18:46.627 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -is_internal_display: 0
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioid: 3
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioen: 1
05-10 17:18:46.628 0 0 D : [drm:link_create [amdgpu]]
Connector[1] description:signal 4
05-10 17:18:46.628 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_line: 1
05-10 17:18:46.628 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_engine_id: 1
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -DP_IS_USB_C: 0
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 2
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -ddi_channel_mapping:0x00E4
05-10 17:18:46.629 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -chip_caps: 8
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -dc_link_constructfinished successfully.
05-10 17:18:46.630 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 2,link_index: 2
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -link_id: 12
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -is_internal_display: 0
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioid: 3
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioen: 2
05-10 17:18:46.630 0 0 D : [drm:link_create [amdgpu]]
Connector[2] description:signal 4
05-10 17:18:46.631 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_line: 2
05-10 17:18:46.631 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_engine_id: 1
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -DP_IS_USB_C: 1
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.631 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 3
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -ddi_channel_mapping:0x00E4
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -chip_caps: 256
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -dc_link_constructfinished successfully.
05-10 17:18:46.632 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - printing link object info for connector number: 3,link_index: 3
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -link_id: 12
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -is_internal_display: 0
05-10 17:18:46.632 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioid: 3
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -hpd_gpioen: 3
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
Connector[3] description:signal 4
05-10 17:18:46.633 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_line: 3
05-10 17:18:46.633 0 0 D : [drm:dal_ddc_service_create
[amdgpu]] BIOS object table -i2c_engine_id: 1
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -DP_IS_USB_C: 1
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.acpi_device: 0
05-10 17:18:46.633 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.device_type: 3
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table - device_tag.dev_id.enum_id: 4
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -ddi_channel_mapping:0x00E4
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -chip_caps: 264
05-10 17:18:46.634 0 0 D : [drm:link_create [amdgpu]]
BIOS object table -dc_link_constructfinished successfully.
05-10 17:18:46.634 0 0 D : [drm:dc_create [amdgpu]]
BIOS object table - end
05-10 17:18:46.634 0 0 D : [drm:dc_create [amdgpu]]
Display Core initialized
05-10 17:18:46.635 0 0 I : [drm] Display Core
initialized with v3.2.132!
05-10 17:18:46.666 0 0 D :
[drm:dm_helpers_dp_read_dpcd [amdgpu]] Failed to find connector for link!
05-10 17:18:46.679 0 0 D : [drm:mpc1_assert_idle_mpcc
[amdgpu]]REG_WAITtaking a while: 5ms inmpc1_assert_idle_mpccline:108
05-10 17:18:46.679 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 0
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 0
05-10 17:18:46.680 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 1
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 1
05-10 17:18:46.680 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 2
05-10 17:18:46.680 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 2
05-10 17:18:46.681 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 3
05-10 17:18:46.681 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 3
05-10 17:18:46.681 0 0 D : [drm:drm_connector_init]
cmdline mode for connector DP-1 2560x1600@60Hz
05-10 17:18:46.681 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=0, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.681 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-1 2560x1600@60Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]non_desktopset to 0
05-10 17:18:46.706 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]hdmi_21sink detected. parsing edid
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
CEA VCDB0xff
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]non_desktopset to 0
05-10 17:18:46.706 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]hdmi_21sink detected. parsing edid
05-10 17:18:46.706 0 0 D : [drm:drm_add_display_info]
CEA VCDB0xff
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]
HDMI: [Block 0]
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]
HDMI: [Block 1]
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]dc_link_detect_helper:manufacturer_id= 1863,product_id= 101,serial_number= 1010101,manufacture_week= 20,manufacture_year= 29,display_name= HDMI,speaker_flag= 1,audio_mode_count= 1
05-10 17:18:46.707 0 0 D [drm:dc_link_detect_helper [amdgpu]]dc_link_detect_helper: mode number = 0,format_code= 1,channel_count= 2,sample_rate= 7,sample_size= 7
05-10 17:18:46.707 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=1, dc_sink_in=00000000e79abeb2 is now Connected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.707 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-2 2560x1600@60Hz
05-10 17:18:46.707 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=2, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.707 0 0 D : [drm:drm_connector_init]
cmdline mode for connector HDMI-A-3 2560x1600@60Hz
05-10 17:18:46.708 0 0 D : [drm:dc_link_detect_helper
[amdgpu]] link=3, dc_sink_in=0000000000000000 is now Disconnected prev_sink=0000000000000000 dpcd same=1 edid same=0
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000c614992afor: dal_src=78, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:000000009e2a0026for: dal_src=79, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000acf6dfe7for: dal_src=80, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000696d7950for: dal_src=81, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000ce7f5912for: dal_src=72, irq context=1
05-10 17:18:46.708 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000a96b7920for: dal_src=73, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000de906a3ffor: dal_src=74, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:0000000071d9647bfor: dal_src=75, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000d8d507bcfor: dal_src=26, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:0000000056c37432for: dal_src=27, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000c1abaf1dfor: dal_src=28, irq context=1
05-10 17:18:46.709 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:000000004c8a831ffor: dal_src=29, irq context=1
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000ba66a8e0for: dal_src=1, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:000000009a8dde8ffor: dal_src=7, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:00000000b049c0cdfor: dal_src=2, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:0000000010e5f25bfor: dal_src=3, irq context=0
05-10 17:18:46.710 0 0 D [drm:amdgpu_dm_irq_register_interrupt
[amdgpu]]DM_IRQ: added irq handler:000000003e0c16ecfor: dal_src=4, irq context=0
05-10 17:18:46.721 0 0 I : [drm] VCN decode and encode
initialized successfully(under SPG Mode).
05-10 17:18:46.722 0 0 I : kfd kfd: amdgpu: Allocated
3969056 bytes on gart
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: error
getting iommu info. is the iommu enabled?
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: Error
initializing iommuv2
05-10 17:18:46.722 0 0 E : kfd kfd: amdgpu: device
1002:15d8 NOT added due to errors
05-10 17:18:46.722 0 0 I amdgpu 0000: 0b:00.0: amdgpu: SE 1,
SH per SE 1, CU per SH 11,active_cu_number1105-10 17:18:46.722 0 0 D : [drm:drm_client_modeset_probe] 05-10 17:18:46.722 0 0 D[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1]
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1] status updated from unknown to disconnected
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 78:DP-1] disconnected
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1]
05-10 17:18:46.722 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1] status updated from unknown to connected
05-10 17:18:46.722 0 0 D : [drm:drm_add_edid_modes]
ELD monitor HDMI
05-10 17:18:46.722 0 0 D [drm:drm_add_edid_modes] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 17:18:46.722 0 0 D : [drm:drm_add_edid_modes]
ELD size 28, SAD count 1
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]
Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]non_desktopset to 0
05-10 17:18:46.722 0 0 D [drm:drm_add_display_info] HDMI: DVI
dual 0, max TMDS clock 320000 kHz
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]hdmi_21sink detected. parsing edid
05-10 17:18:46.722 0 0 D : [drm:drm_add_display_info]
CEA VCDB0xff
05-10 17:18:46.722 0 0 D :
[drm:drm_for_each_detailed_block.part.0] stereo mode not supported
05-10 17:18:46.722 0 0 D :
[drm:drm_for_each_detailed_block.part.0] stereo mode not supported
05-10 17:18:46.722 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 17:18:46.722 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 17:18:46.723 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 17:18:46.724 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.725 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.726 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 17:18:46.727 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_prune_invalid] Not using 1920x1080i mode:NO_INTERLACE
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_prune_invalid] Not using 1920x1080i mode:NO_INTERLACE
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 17:18:46.727 0 0 D :
[drm:drm_mode_debug_printmodeline] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2]
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2] status updated from unknown to disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3]
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3] status updated from unknown to disconnected
05-10 17:18:46.727 0 0 D
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR: 94:HDMI-A-3] disconnected
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 78 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 85 enabled? yes
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 90 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] connector 94 enabled? no
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] Not using firmware configuration
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] looking for cmdline mode on connector 85
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] found mode 2560x1600
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] picking CRTCs for 16384x16384 config
05-10 17:18:46.727 0 0 D :
[drm:drm_client_modeset_probe] desired mode 2560x1600 set on crtc 67 (0,0)
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 1 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 2 primary plane
05-10 17:18:46.727 0 0 D amdgpu 0000: 0b:00.0:
[drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 3 primary plane05-10 17:18:46.729 0 0 I : [drm] fb mappable at 0xDD26A000 05-10 17:18:46.729 0 0 I : [drm] vram apper at 0xDC000000 05-10 17:18:46.729 0 0 I : [drm] size 16384000 05-10 17:18:46.729 0 0 I : [drm] fb depth is 24 05-10 17:18:46.729 0 0 I : [drm] pitch is 10240 05-10 17:18:46.729 0 0 I fbcon : amdgpudrmfb (fb0) is primary device 05-10 17:18:46.729 0 0 D : [drm:create_stream_for_sink[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.730 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.731 0 0 D [drm:dc_commit_state [amdgpu]]dc_commit_state: 1 streams
05-10 17:18:46.731 0 0 D : [drm:dc_stream_log
[amdgpu]]core_stream0x000000008f34ae37: src: 0, 0, 2560, 1600; dst:
0, 0, 2560, 1600, colorSpace:6
05-10 17:18:46.731 0 0 D [drm:dc_stream_log [amdgpu]]pix_clk_khz: 267810, h_total: 2720, v_total: 1641, pixelencoder:3, displaycolorDepth:2 05-10 17:18:46.731 0 0 D [drm:dc_commit_state [amdgpu]] link: 1 05-10 17:18:46.732 0 0 D :[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 0
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 0
05-10 17:18:46.732 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 1
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 1
05-10 17:18:46.732 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 2
05-10 17:18:46.732 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 2
05-10 17:18:46.733 0 0 D :
[drm:dcn10_plane_atomic_disable [amdgpu]] Power gated front end 3
05-10 17:18:46.733 0 0 D : [drm:dcn10_init_pipes
[amdgpu]] Power down front end 3
05-10 17:18:46.753 0 0 D : [drm:drm_dp_dpcd_access]
AMDGPU DM aux hw bus 0: Too many retries, giving up. First error: -5
05-10 17:18:46.759 0 0 D : [drm:optc1_disable_crtc
[amdgpu]]REG_WAITtaking a while: 1ms inoptc1_disable_crtcline:544
05-10 17:18:46.761 0 0 D :
[drm:write_i2c_retimer_setting [amdgpu]] retimer write toslave_address=0x5d, offset =0xa, reg_val=0x13,i2c_success= 0
05-10 17:18:46.761 0 0 D :
[drm:write_i2c_retimer_setting [amdgpu]] Set retimer failed
05-10 17:18:46.764 0 0 D : [drm:mod_hdcp_add_display
[amdgpu]] [Link 0] >HDCP_INITIALIZED
05-10 17:18:46.765 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.765 0 0 D : [drm:dc_commit_state
[amdgpu]] {2560x1600, 2720x1641@267810Khz}
05-10 17:18:46.778 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.779 0 0 I Console : switching to colour frame
buffer device 320x100
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.779 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D :
[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 17:18:46.780 0 0 D : [drm:event_mall_stutter
[amdgpu]] Allow idle optimizations (MALL): 0
05-10 17:18:46.780 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 0
05-10 17:18:46.802 0 0 I amdgpu 0000: 0b:00.0: [drm] fb0:
amdgpudrmfb frame buffer device
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
gfx uses VM inv eng 0 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.0.0 uses VM inv eng 1 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.1.0 uses VM inv eng 4 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.2.0 uses VM inv eng 5 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.3.0 uses VM inv eng 6 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.0.1 uses VM inv eng 7 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.1.1 uses VM inv eng 8 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.2.1 uses VM inv eng 9 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
comp_1.3.1 uses VM inv eng 10 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
kiq_2.1.0 uses VM inv eng 11 on hub 0
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ring
sdma0 uses VM inv eng 0 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_decuses VM inv eng 1 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_enc0uses VM inv eng 4 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringvcn_enc1uses VM inv eng 5 on hub 1
05-10 17:18:46.807 0 0 I amdgpu 0000: 0b:00.0: amdgpu: ringjpeg_decuses VM inv eng 6 on hub 1
05-10 17:18:46.812 0 0 I : [drm] Initialized amdgpu
3.41.0 20150101 for 0000:0b:00.0 on minor 0
05-10 17:18:46.831 0 0 I modprobe:/sbin/modprobe
hdaudio:v1002AA01r00100700a01
05-10 17:18:46.832 0 0 Isnd_hda_intel0000: 0b:00.1: bound
0000:0b:00.0 (opsamdgpu_dm_audio_component_bind_ops[amdgpu])
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=0 ret=0 en=0
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=1 ret=28 en=1
05-10 17:18:46.833 0 0 D :
[drm:amdgpu_dm_audio_component_get_eld [amdgpu]] Get ELD : idx=2 ret=0 en=02021-05-11 1:05 GMT+08:00, youling 257 <[email protected]>:
Quoted 56 lines
error dmesg,
05-10 16:59:27.004 0 0 I init : Service 'bootanim' (pid
1912) exited with status 0
05-10 16:59:27.016 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.016 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.016 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.009 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.023 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.016 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105]05-10 16:59:27.023 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-22
05-10 16:59:27.024 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4)
05-10 16:59:27.040 1684 1684 E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
05-10 16:59:27.040 1684 1684 E hwc-drm-two: Failed to apply the frame composition ret=-2205-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.032 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.033 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.041 1684 1684 E HWComposer: commit: present failed for display 0: BadParameter (4) 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 107] 05-10 16:59:27.049 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 108]normal dmesg,
5-10 17:00:51.837 0 0 I init : Service 'bootanim' (pid
1922) exited with status 005-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 17:00:51.850 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 105] 05-10 17:00:51.857 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 17:00:51.858 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 17:00:51.876 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 106]Quoted 467 lines
2021-05-11 0:50 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 465 lines
A userspace problem was due to the modifier used when you're creating a buffer but this check renders it as invalid modifier. Review patch 1 of this series and it will give you a good idea of a userspace bug that was caught using the check in this patch and fixed now.
An easy way to figure out what exactly went wrong so to debug the kernel code and check which check returns false for the modifier check. That will tell you exactly what you are missing wrt the modifier.Quoted 452 lines · On Mon, May 10, 2021 at 12:45 PM youling 257 <[email protected]> wrote:
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 444 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS=
16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion
2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion
1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 142 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 133 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 124 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
3[ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
3[ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
0[ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated frontend
for
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 35 lines
It would be very helpful if you could enable drm.debug=0x4 and then
take the dmesg to figure out what modifier was rejectedQuoted 27 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher
<[email protected]>:Quoted 21 lines
Quoted 5 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad
commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
In reply to Mark Yacoub2021-05-11 0:50 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 9 lines
A userspace problem was due to the modifier used when you're creating a buffer but this check renders it as invalid modifier. Review patch 1 of this series and it will give you a good idea of a userspace bug that was caught using the check in this patch and fixed now.
An easy way to figure out what exactly went wrong so to debug the kernel code and check which check returns false for the modifier check. That will tell you exactly what you are missing wrt the modifier.
I can't find which check returns false for the modifier check.
Quoted 433 lines · On Mon, May 10, 2021 at 12:45 PM youling 257 <[email protected]> wrote:
Quoted 431 lines
I use androidx86 nougat on amdgpu, these porting to androidx86 nougat.
https://github.com/youling257/mesa
https://github.com/youling257/llvm
https://github.com/youling257/minigbm
https://github.com/youling257/drm_hwcomposer2021-05-11 0:32 GMT+08:00, youling 257 <[email protected]>:
Quoted 423 lines
what userspace problem?
05-10 16:23:35.438 1686 1686 I SurfaceFlinger: OpenGL ES
informations: format=0x105-10 16:23:35.438 1686 1686 I SurfaceFlinger: vendor : AMD 05-10 16:23:35.438 1686 1686 I SurfaceFlinger: renderer : AMDRadeon(TM) Vega 11 Graphics (RAVEN, DRM 3.41.0, 5.13.0-rc1-android-x86_64+, LLVM 12.0)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: version : OpenGL ES
3.2 Mesa 21.1.0 (git-1a53901057)
05-10 16:23:35.439 1686 1686 I SurfaceFlinger: extensions:GL_EXT_debug_markerGL_EXT_blend_minmaxGL_EXT_multi_draw_arraysGL_EXT_texture_filter_anisotropicGL_EXT_texture_compression_s3tcGL_EXT_texture_compression_dxt1GL_EXT_texture_compression_rgtcGL_EXT_texture_format_BGRA8888GL_OES_compressed_ETC1_RGB8_textureGL_OES_depth24GL_OES_element_index_uintGL_OES_fbo_render_mipmapGL_OES_mapbufferGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_stencil8GL_OES_texture_3DGL_OES_texture_floatGL_OES_texture_float_linearGL_OES_texture_half_floatGL_OES_texture_half_float_linearGL_OES_texture_npotGL_OES_vertex_half_floatGL_EXT_draw_instancedGL_EXT_texture_sRGB_decodeGL_OES_EGL_imageGL_OES_depth_textureGL_AMD_performance_monitorGL_OES_packed_depth_stencilGL_EXT_texture_type_2_10_10_10_REVGL_NV_conditional_renderGL_OES_get_program_binaryGL_APPLE_texture_max_levelGL_EXT_discard_framebufferGL_EXT_read_format_bgraGL_EXT_frag_depthGL_NV_fbo_color_attachmentsGL_OES_EGL_image_externalGL_OES_EGL_syncGL_OES_vertex_array_objectGL_OES_viewp
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_TEXTURE_SIZE= 16384
05-10 16:23:35.439 1686 1686 I SurfaceFlinger:GL_MAX_VIEWPORT_DIMS= 16384
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1]
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 78:DP-1] disconnected
05-10 16:23:35.488 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.488 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.488 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.488 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.488 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.488 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:2560 height:1600
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1200
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.489 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1920 height:1080
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:1200
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1680 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1400 height:1050
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1600 height:900
05-10 16:23:35.490 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:1024
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1440 height:900
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:960
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:800
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.491 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1280 height:720
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:1024 height:768
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:800 height:600
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.492 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:640 height:480
05-10 16:23:35.493 0 0 D : [drm:create_stream_for_sink
[amdgpu]] Destination Rectangle x:0 y:0 width:720 height:400
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 11250x400x15
05-10 16:23:35.493 0 0 D : [drm:drm_mode_prune_invalid
[drm]] Not using 1920x1080i mode:NO_INTERLACE
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1] probed modes :
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "2560x1600": 60 267810 2560 2608 2640 2720 1600 1603 1608 16410x680x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1200": 60 267810 1920 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 11250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x1200": 60 267810 1600 2608 2640 2720 1200 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 10800x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 10660x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 9260x400x9
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 10000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x800": 60 267810 1280 2608 2640 2720 800 1603 1608 16410x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 7500x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 8000x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 8060x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 6250x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 6280x400x5
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 5000x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 5250x400xa
05-10 16:23:35.493 0 0 D :
[drm:drm_mode_debug_printmodeline [drm]] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 4490x400x6
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2]
05-10 16:23:35.493 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 90:HDMI-A-2] disconnected
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3]
05-10 16:23:35.494 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 94:HDMI-A-3] disconnected05-10 16:23:35.502 0 0 D
[drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR: 85:HDMI-A-1]
05-10 16:23:35.502 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD monitor HDMI
05-10 16:23:35.502 0 0 D [drm:drm_add_edid_modes [drm]] HDMI:
latency present 0 0, video latency 0 0, audio latency 0 0
05-10 16:23:35.503 0 0 D : [drm:drm_add_edid_modes
[drm]] ELD size 28, SAD count 1
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] Supported Monitor Refresh rate range is 48 Hz - 75 Hz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]non_desktopset to 0
05-10 16:23:35.503 0 0 D [drm:drm_add_display_info [drm]]
HDMI: DVI dual 0, max TMDS clock 320000 kHz
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]]hdmi_21sink detected. parsing edid
05-10 16:23:35.503 0 0 D : [drm:drm_add_display_info
[drm]] CEA VCDB0xff
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported
05-10 16:23:35.503 0 0 D :
[drm:drm_for_each_detailed_block.part.0 [drm]] stereo mode not supported05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extension
DRI_Coreversion
2
05-10 16:23:35.797 1920 2001 I EGL-MAIN: found extensionDRI_IMAGE_DRIVERversion 1
05-10 16:23:35.798 1920 2001 I EGL-MAIN: found extensionDRI_ConfigOptionsversion 2
05-10 16:23:35.798 1920 2001 D libdrm :
/vendor/etc/hwdata/amdgpu.ids version: 1.0.0
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_TexBufferversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Flushversion 4
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_RENDERER_QUERYversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_CONFIG_QUERYversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Fenceversion 2
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI2_Interopversion 1
05-10 16:23:35.802 1920 2001 I EGL-MAIN: found extensionDRI_NoErrorversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_Blobversion
1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_IMAGEversion
18
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI2_BufferDamageversion 1
05-10 16:23:35.803 1920 2001 I EGL-MAIN: found extensionDRI_Robustnessversion 105-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 104] 05-10 16:23:35.875 0 0 D : [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound 05-10 16:23:35.876 0 0 D : [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 05-10 16:23:35.891 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D [drm:drm_mode_addfb2 [drm]] [FB: 102] 05-10 16:23:35.892 0 0 D :[drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
05-10 16:23:35.893 0 0 D : [drm:dcn10_program_pipe
[amdgpu]] Un-gated front end for pipe 02021-05-10 23:18 GMT+08:00, Mark Yacoub <[email protected]>:
Quoted 123 lines
Like the previous time it was reverted, there is a chance it's a user space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above. This will give you the greatest hint on what the userspace is missing and needs to be fixed there.Quoted 115 lines · On Sun, May 9, 2021 at 10:09 PM youling 257 <[email protected]> wrote:
Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" is first bad commt. "drm/amd/display: Fix two cursor duplication when using overlay" is second bad commit.
they cause same problem, look the video.
i have to revert two patch for my androidx86 run on amdgpu.2021-05-10 5:42 GMT+08:00, youling 257 <[email protected]>:
Quoted 106 lines
error dmesg
[ 115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound [ 116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
0normal dmesg
3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105][ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104] [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106] [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 3 [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107] [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108] [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109] [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110] [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102] [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105] [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe 0 [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front endfor
pipe
32021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <[email protected]>:
Quoted 27 lines
It would be very helpful if you could enable drm.debug=0x4 and then
take the dmesg to figure out what modifier was rejectedQuoted 21 lines · On Sun, May 9, 2021 at 10:51 PM youling 257 <[email protected]> wrote:
look this video,
https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing2021-05-09 23:52 GMT+08:00, Alex Deucher <[email protected]>:
Quoted 16 lines
Quoted 5 lines · On Sun, May 9, 2021 at 11:42 AM youling257 <[email protected]> wrote:
I using amd 3400g running with android-x86, this patch is a bad
commit
when i use android-x86 on amdgpu.Can you provide more details? What sort of problem are you seeing?
Please provide your dmesg output.Alex
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 35 lines · Qingqing Zhuo
[Why]
Current list only includes modifiers whereDCC_MAX_COMPRESSED_BLOCKis set toAMD_FMT_MOD_DCC_BLOCK_128B, whileAMD_FMT_MOD_DCC_BLOCK_64Bis also supported and used by userspace.[How]
AddAMD_FMT_MOD_DCC_BLOCK_64Bto modifiers with DCC supported.Signed-off-by Qingqing Zhuo <[email protected]>--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3
-0@@ -4535,6 +4535,17 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,int pipe_xor_bits =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pipes);int pkrs =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pkrs); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | + AMD_FMT_MOD_SET(TILE_VERSION,
AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +7
-0+AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK,
Quoted 2 lines
AMD_FMT_MOD_DCC_BLOCK_64B));
Thanks for finding this issue. Looking at it it looks to me like the original entries are mistaken. Can we just change the DCC_MAX_COMPRESSED_BLOCK in the already existing DCC entries? Looks like Mesa always uses the AMD_FMT_MOD_DCC_BLOCK_64B anyway, and I don't think DCC_INDEPENDENT_64B=1 + DCC_MAX_COMPRESSED_BLOCK=AMD_FMT_MOD_DCC_BLOCK_128B makes sense.
+
Quoted 22 lines
add_modifier(mods, size, capacity,
AMD_FMT_MOD|
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X)| AMD_FMT_MOD_SET(TILE_VERSION,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3
-0@@ -4546,6 +4557,18 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev, AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) | AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B)); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | + AMD_FMT_MOD_SET(TILE_VERSION,
AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8
-0+AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_RETILE ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK,
Quoted 10 lines
AMD_FMT_MOD_DCC_BLOCK_64B));
+
add_modifier(mods, size, capacity,AMD_FMT_MOD|
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X)| AMD_FMT_MOD_SET(TILE_VERSION,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Public Use]
Inline.
From: Bas Nieuwenhuizen <[email protected]>
Sent: Thursday, April 15, 2021 7:26 AM
To: Zhuo, Qingqing <[email protected]>
Cc: amd-gfx mailing list <[email protected]>; Mark Yacoub <[email protected]>; Deucher, Alexander <[email protected]>; Wheeler, Daniel <[email protected]>; Siqueira, Rodrigo <[email protected]>; Kazlauskas, Nicholas <[email protected]>
Subject: Re: [PATCH 1/2] drm/amd/display: Update modifier list for gfx10_3
On Thu, Apr 15, 2021 at 1:35 AM Qingqing Zhuo <[email protected]<mailto:[email protected]>> wrote:
[Why]
Current list only includes modifiers where DCC_MAX_COMPRESSED_BLOCK
is set to AMD_FMT_MOD_DCC_BLOCK_128B, while AMD_FMT_MOD_DCC_BLOCK_64B
is also supported and used by userspace.
[How]
Add AMD_FMT_MOD_DCC_BLOCK_64B to modifiers with DCC supported.
--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +10 -0
@@ -4535,6 +4535,17 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,int pipe_xor_bits =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pipes);int pkrs =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pkrs); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | +AMD_FMT_MOD_SET (TILE_VERSION ,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS ) | +AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | +AMD_FMT_MOD_SET (DCC_MAX_COMPRESSED_BLOCK ,AMD_FMT_MOD_DCC_BLOCK_64B ));
Thanks for finding this issue. Looking at it it looks to me like the original entries are mistaken. Can we just change the DCC_MAX_COMPRESSED_BLOCK in the already existing DCC entries? Looks like Mesa always uses the AMD_FMT_MOD_DCC_BLOCK_64B anyway, and I don't think DCC_INDEPENDENT_64B=1 + DCC_MAX_COMPRESSED_BLOCK=AMD_FMT_MOD_DCC_BLOCK_128B makes sense.
Thanks for the suggestion. Will send out an updated version soon.
+
add_modifier(mods, size, capacity, AMD_FMT_MOD |
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
@@ -4546,6 +4557,18 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,
AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) |
AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B));+ add_modifier(mods, size, capacity, AMD_FMT_MOD |
+ AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | + AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) | + AMD_FMT_MOD_SET(PIPE_XOR_BITS, pipe_xor_bits) | + AMD_FMT_MOD_SET(PACKERS, pkrs) | + AMD_FMT_MOD_SET(DCC, 1) | + AMD_FMT_MOD_SET(DCC_RETILE, 1) | + AMD_FMT_MOD_SET(DCC_CONSTANT_ENCODE, 1) | + AMD_FMT_MOD_SET(DCC_INDEPENDENT_64B, 1) | + AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_64B));
+
add_modifier(mods, size, capacity, AMD_FMT_MOD |
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Btw please add a fixes tag so it gets directed to stable releases.
Thanks!
Quoted 103 lines · Qingqing
[AMD Public Use]
Inline.
*From:* Bas Nieuwenhuizen <[email protected]>
*Sent:* Thursday, April 15, 2021 7:26 AM
*To:* Zhuo, Qingqing <[email protected]>
*Cc:* amd-gfx mailing list <[email protected]>; Mark Yacoub < [email protected]>; Deucher, Alexander <[email protected]>; Wheeler, Daniel <[email protected]>; Siqueira, Rodrigo < [email protected]>; Kazlauskas, Nicholas < [email protected]>
*Subject:* Re: [PATCH 1/2] drm/amd/display: Update modifier list forgfx10_3On Thu, Apr 15, 2021 at 1:35 AM Qingqing Zhuo <[email protected]> wrote:
[Why]
Current list only includes modifiers whereDCC_MAX_COMPRESSED_BLOCKis set toAMD_FMT_MOD_DCC_BLOCK_128B, whileAMD_FMT_MOD_DCC_BLOCK_64Bis also supported and used by userspace.[How]
AddAMD_FMT_MOD_DCC_BLOCK_64Bto modifiers with DCC supported.Signed-off-by Qingqing Zhuo <[email protected]>--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3
-0@@ -4535,6 +4535,17 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,int pipe_xor_bits =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pipes);int pkrs =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pkrs); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | + AMD_FMT_MOD_SET(TILE_VERSION,
AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +7
-0+AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK,
AMD_FMT_MOD_DCC_BLOCK_64B));Thanks for finding this issue. Looking at it it looks to me like the original entries are mistaken. Can we just change the
DCC_MAX_COMPRESSED_BLOCKin the already existing DCC entries? Looks like Mesa always uses theAMD_FMT_MOD_DCC_BLOCK_64Banyway, and I don't think DCC_INDEPENDENT_64B=1 + DCC_MAX_COMPRESSED_BLOCK=AMD_FMT_MOD_DCC_BLOCK_128B makes sense.Thanks for the suggestion. Will send out an updated version soon.
+
add_modifier(mods, size, capacity,AMD_FMT_MOD|
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X)| AMD_FMT_MOD_SET(TILE_VERSION,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3
-0@@ -4546,6 +4557,18 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev, AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) | AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B)); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | + AMD_FMT_MOD_SET(TILE_VERSION,
AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8
-0+AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_RETILE ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK,
Quoted 10 lines
AMD_FMT_MOD_DCC_BLOCK_64B));
+
add_modifier(mods, size, capacity,AMD_FMT_MOD|
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X)| AMD_FMT_MOD_SET(TILE_VERSION,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Public Use]
Updated and sent. Your review would be appreciated!
Thanks,
Lillian
From: Bas Nieuwenhuizen <[email protected]>
Sent: Thursday, April 15, 2021 12:27 PM
To: Zhuo, Qingqing <[email protected]>
Cc: amd-gfx mailing list <[email protected]>; Mark Yacoub <[email protected]>; Deucher, Alexander <[email protected]>; Wheeler, Daniel <[email protected]>; Siqueira, Rodrigo <[email protected]>; Kazlauskas, Nicholas <[email protected]>
Subject: Re: [PATCH 1/2] drm/amd/display: Update modifier list for gfx10_3
Btw please add a fixes tag so it gets directed to stable releases.
Thanks!
On Thu, Apr 15, 2021, 6:06 PM Zhuo, Qingqing <[email protected]<mailto:[email protected]>> wrote:
[AMD Public Use]
Inline.
From: Bas Nieuwenhuizen <[email protected]<mailto:[email protected]>>
Sent: Thursday, April 15, 2021 7:26 AM
To: Zhuo, Qingqing <[email protected]<mailto:[email protected]>>
Cc: amd-gfx mailing list <[email protected]<mailto:[email protected]>>; Mark Yacoub <[email protected]<mailto:[email protected]>>; Deucher, Alexander <[email protected]<mailto:[email protected]>>; Wheeler, Daniel <[email protected]<mailto:[email protected]>>; Siqueira, Rodrigo <[email protected]<mailto:[email protected]>>; Kazlauskas, Nicholas <[email protected]<mailto:[email protected]>>
Subject: Re: [PATCH 1/2] drm/amd/display: Update modifier list for gfx10_3
On Thu, Apr 15, 2021 at 1:35 AM Qingqing Zhuo <[email protected]<mailto:[email protected]>> wrote:
[Why]
Current list only includes modifiers where DCC_MAX_COMPRESSED_BLOCK
is set to AMD_FMT_MOD_DCC_BLOCK_128B, while AMD_FMT_MOD_DCC_BLOCK_64B
is also supported and used by userspace.
[How]
Add AMD_FMT_MOD_DCC_BLOCK_64B to modifiers with DCC supported.
--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +10 -0
@@ -4535,6 +4535,17 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,int pipe_xor_bits =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pipes);int pkrs =ilog2 (adev->gfx.config.gb_addr_config_fields.num_pkrs); +add_modifier (mods, size, capacity,AMD_FMT_MOD | +AMD_FMT_MOD_SET (TILE ,AMD_FMT_MOD_TILE_GFX9_64K_R_X ) | +AMD_FMT_MOD_SET (TILE_VERSION ,AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS ) | +AMD_FMT_MOD_SET (PIPE_XOR_BITS , pipe_xor_bits) | +AMD_FMT_MOD_SET (PACKERS , pkrs) | +AMD_FMT_MOD_SET (DCC ,1 ) | +AMD_FMT_MOD_SET (DCC_CONSTANT_ENCODE ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_64B ,1 ) | +AMD_FMT_MOD_SET (DCC_INDEPENDENT_128B ,1 ) | +AMD_FMT_MOD_SET (DCC_MAX_COMPRESSED_BLOCK ,AMD_FMT_MOD_DCC_BLOCK_64B ));
Thanks for finding this issue. Looking at it it looks to me like the original entries are mistaken. Can we just change the DCC_MAX_COMPRESSED_BLOCK in the already existing DCC entries? Looks like Mesa always uses the AMD_FMT_MOD_DCC_BLOCK_64B anyway, and I don't think DCC_INDEPENDENT_64B=1 + DCC_MAX_COMPRESSED_BLOCK=AMD_FMT_MOD_DCC_BLOCK_128B makes sense.
Thanks for the suggestion. Will send out an updated version soon.
+
add_modifier(mods, size, capacity, AMD_FMT_MOD |
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
@@ -4546,6 +4557,18 @@ add_gfx10_3_modifiers(const struct amdgpu_device *adev,
AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) |
AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_128B));+ add_modifier(mods, size, capacity, AMD_FMT_MOD |
+ AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | + AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) | + AMD_FMT_MOD_SET(PIPE_XOR_BITS, pipe_xor_bits) | + AMD_FMT_MOD_SET(PACKERS, pkrs) | + AMD_FMT_MOD_SET(DCC, 1) | + AMD_FMT_MOD_SET(DCC_RETILE, 1) | + AMD_FMT_MOD_SET(DCC_CONSTANT_ENCODE, 1) | + AMD_FMT_MOD_SET(DCC_INDEPENDENT_64B, 1) | + AMD_FMT_MOD_SET(DCC_INDEPENDENT_128B, 1) | + AMD_FMT_MOD_SET(DCC_MAX_COMPRESSED_BLOCK, AMD_FMT_MOD_DCC_BLOCK_64B));
+
add_modifier(mods, size, capacity, AMD_FMT_MOD |
AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_R_X) | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) |
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx