drm/edid: rename macro for CEA extended-tag
Subsystems (2)
PATCH 1/1 drm/edid: rename macro for CEA extended-tag
CEA-861-F introduces extended tag codes for EDID extension blocks, which indicates the actual type of the data block. The code for using exteded tag is 0x7, whereas in the existing code, the corresponding macro is named as "VIDEO_CAPABILITY_BLOCK"
This patch renames the macro and usages from "VIDEO_CAPABILITY_BLOCK" to "CEA_EXTENDED_TAG"
--- drivers/gpu/drm/drm_edid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_edid.c +2 -2
@@ -2566,7 +2566,7 @@ add_detailed_modes(struct drm_connector *connector, struct edid *edid,#define VIDEO_BLOCK 0x02#define VENDOR_BLOCK 0x03#define SPEAKER_BLOCK 0x04 -#define VIDEO_CAPABILITY_BLOCK 0x07 +#define CEA_EXTENDED_TAG 0x07#define EDID_BASIC_AUDIO (1 << 6)#define EDID_CEA_YCRCB444 (1 << 5)#define EDID_CEA_YCRCB422 (1 << 4)
@@ -3793,7 +3793,7 @@ bool drm_rgb_quant_range_selectable(struct edid *edid)return false;for_each_cea_db (edid_ext, i, start, end) { -if (cea_db_tag (&edid_ext[i]) ==VIDEO_CAPABILITY_BLOCK && +if (cea_db_tag (&edid_ext[i]) ==CEA_EXTENDED_TAG &&cea_db_payload_len (&edid_ext[i]) ==2 ) {DRM_DEBUG_KMS ("CEA VCDB 0x%02x\n" , edid_ext[i +2 ]);return edid_ext[i +2 ] &EDID_CEA_VCDB_QS ;
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 28 lines · Shashank Sharma
CEA-861-F introduces extended tag codes for EDID extension blocks, which indicates the actual type of the data block. The code for using exteded tag is
0x7, whereas in the existing code, the corresponding macro is named as "VIDEO_CAPABILITY_BLOCK"This patch renames the macro and usages from "
VIDEO_CAPABILITY_BLOCK" to "CEA_EXTENDED_TAG"Cc Ville Syrjala <[email protected]>Signed-off-by Shashank Sharma <[email protected]>--- drivers/gpu/drm/drm_edid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/drm_edid.c +1
-1@@ -2566,7 +2566,7 @@ add_detailed_modes(struct drm_connector *connector, struct edid *edid,#define VIDEO_BLOCK 0x02#define VENDOR_BLOCK 0x03#define SPEAKER_BLOCK 0x04 -#define VIDEO_CAPABILITY_BLOCK 0x07 +#define CEA_EXTENDED_TAG 0x07#define EDID_BASIC_AUDIO (1 << 6)#define EDID_CEA_YCRCB444 (1 << 5)#define EDID_CEA_YCRCB422 (1 << 4)
drivers/gpu/drm/drm_edid.c bool drm_rgb_quant_range_selectable(struct edid *edid) · line 3797
Quoted 6 lines
drivers/gpu/drm/drm_edid.c +1
-1@@ -3793,7 +3793,7 @@ bool drm_rgb_quant_range_selectable(struct edid *edid)return false;for_each_cea_db (edid_ext, i, start, end) { -if (cea_db_tag (&edid_ext[i]) ==VIDEO_CAPABILITY_BLOCK && +if (cea_db_tag (&edid_ext[i]) ==CEA_EXTENDED_TAG &&cea_db_payload_len (&edid_ext[i]) ==2 ) {
The video capability block should have a specific ext tag no? We should check for that.
Quoted 4 lines
drivers/gpu/drm/drm_edid.c +0
-0DRM_DEBUG_KMS ("CEA VCDB 0x%02x\n" , edid_ext[i +2 ]);return edid_ext[i +2 ] &EDID_CEA_VCDB_QS ;Signature · 1 line
2.7.4
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/edid: rename macro for CEA extended-tag
In reply to Shashank Sharma== Series Details ==
== Series Details ==
Series: drm/edid: rename macro for CEA extended-tag
URL : https://patchwork.freedesktop.org/series/26744/
State : failure
== Summary ==
Series 26744v1 drm/edid: rename macro for CEA extended-tag
https://patchwork.freedesktop.org/api/1.0/series/26744/revisions/1/mbox/
Test gem_exec_flush:
Subgroup basic-batch-kernel-default-uc:
pass -> FAIL (fi-snb-2600) fdo#100007
Test gem_exec_parallel:
Subgroup basic:
pass -> INCOMPLETE (fi-pnv-d510)
Test gem_exec_suspend:
Subgroup basic-s4-devices:
dmesg-warn -> PASS (fi-kbl-7560u) fdo#100125 +1fdo#100007 https://bugs.freedesktop.org/show_bug.cgi?id=100007
fdo#100125 https://bugs.freedesktop.org/show_bug.cgi?id=100125
fi-bdw-5557u total:279 pass:264 dwarn:0 dfail:0 fail:3 skip:11 time:439s fi-bdw-gvtdvm total:279 pass:257 dwarn:8 dfail:0 fail:0 skip:14 time:429s fi-blb-e6850 total:279 pass:224 dwarn:1 dfail:0 fail:0 skip:54 time:360s fi-bsw-n3050 total:279 pass:239 dwarn:0 dfail:0 fail:3 skip:36 time:516s fi-bxt-j4205 total:279 pass:256 dwarn:0 dfail:0 fail:3 skip:19 time:508s fi-byt-j1900 total:279 pass:250 dwarn:1 dfail:0 fail:3 skip:24 time:473s fi-byt-n2820 total:279 pass:246 dwarn:1 dfail:0 fail:3 skip:28 time:483s fi-glk-2a total:279 pass:256 dwarn:0 dfail:0 fail:3 skip:19 time:588s fi-hsw-4770 total:279 pass:259 dwarn:0 dfail:0 fail:3 skip:16 time:431s fi-hsw-4770r total:279 pass:259 dwarn:0 dfail:0 fail:3 skip:16 time:410s fi-ilk-650 total:279 pass:225 dwarn:0 dfail:0 fail:3 skip:50 time:412s fi-ivb-3520m total:279 pass:257 dwarn:0 dfail:0 fail:3 skip:18 time:488s fi-ivb-3770 total:279 pass:257 dwarn:0 dfail:0 fail:3 skip:18 time:474s fi-kbl-7500u total:279 pass:257 dwarn:0 dfail:0 fail:3 skip:18 time:457s fi-kbl-7560u total:279 pass:265 dwarn:0 dfail:0 fail:3 skip:10 time:560s fi-kbl-r total:279 pass:257 dwarn:0 dfail:0 fail:3 skip:18 time:567s fi-pnv-d510 total:68 pass:42 dwarn:0 dfail:0 fail:0 skip:25 fi-skl-6260u total:279 pass:265 dwarn:0 dfail:0 fail:3 skip:10 time:452s fi-skl-6700hq total:279 pass:219 dwarn:1 dfail:0 fail:33 skip:24 time:305s fi-skl-6700k total:279 pass:257 dwarn:0 dfail:0 fail:3 skip:18 time:460s fi-skl-6770hq total:279 pass:265 dwarn:0 dfail:0 fail:3 skip:10 time:469s fi-skl-gvtdvm total:279 pass:266 dwarn:0 dfail:0 fail:0 skip:13 time:435s fi-snb-2520m total:279 pass:247 dwarn:0 dfail:0 fail:3 skip:28 time:540s fi-snb-2600 total:279 pass:245 dwarn:0 dfail:0 fail:4 skip:29 time:406s
53a8e90f14a257e7241f8dac9f54f279dddce752 drm-tip: 2017y-07m-03d-12h-10m-14s UTC integration manifest d977fcd drm/edid: rename macro for CEA extended-tag
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_5091/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx