[PATCH 2/3] drm: Change limited M/N quirk to constant N quirk.

2018-09-10 Thread Lee, Shawn C
: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 +- drivers/gpu/drm/i915/intel_display.c | 26 +++--- drivers/gpu/drm/i915/intel_display.h | 2 +- drivers

[PATCH 1/3] drm: Add support for device_id based detection.

2018-09-10 Thread Lee, Shawn C
Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu

[PATCH 3/3] drm: add LG eDP panel to quirk database

2018-09-10 Thread Lee, Shawn C
this panel into quirk database and give particular N value when calculate M/N divider. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 ++ 1 file changed, 2

[PATCH 0/3] add LG panel to dpcd quirk database

2018-09-10 Thread Lee, Shawn C
issue. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Lee, Shawn C (3): drm: Add support for device_id based detection. drm: Change limited M/N quirk to constant N quirk. drm: add LG eDP panel to quirk database drivers

[PATCH v2 2/3] drm: Change limited M/N quirk to constant N quirk.

2018-09-10 Thread Lee, Shawn C
: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 +- drivers/gpu/drm/i915/intel_display.c | 28 +--- drivers/gpu/drm/i915/intel_display.h | 2

[PATCH v2 0/3] add LG panel to dpcd quirk database

2018-09-10 Thread Lee, Shawn C
issue. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Lee, Shawn C (3): drm: Add support for device_id based detection. drm: Change limited M/N quirk to constant N quirk. drm: add LG eDP panel to quirk database drivers

[PATCH v2 3/3] drm: add LG eDP panel to quirk database

2018-09-10 Thread Lee, Shawn C
this panel into quirk database and give particular N value when calculate M/N divider. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 ++ 1 file changed, 2

[PATCH v2 1/3] drm: Add support for device_id based detection.

2018-09-10 Thread Lee, Shawn C
Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu

RE: [PATCH v2 0/3] add LG panel to dpcd quirk database

2018-09-10 Thread Lee, Shawn C
that panel's tcon ask a particular value of N divider. Tcon needs this value for internal configuration. >> >> Cc: Jani Nikula >> Cc: Cooper Chiou >> Cc: Matt Atwood >> Cc: Maarten Lankhorst >> Cc: Dhinakaran Pandiyan >> Cc: Clint Taylor >> >>

[PATCH v3 3/3] drm: add LG eDP panel to quirk database

2018-09-11 Thread Lee, Shawn C
this panel into quirk database and give particular N value when calculate M/N divider. v2: no update v3: add lost commit messages back for version 2 Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C

[PATCH v3 2/3] drm: Change limited M/N quirk to constant N quirk.

2018-09-11 Thread Lee, Shawn C
for issue description and fix typo. v3: add lost commit messages back for version 2 Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 +- drivers/gpu/drm

[PATCH v3 0/3] add LG panel to dpcd quirk database

2018-09-11 Thread Lee, Shawn C
issue. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Lee, Shawn C (3): drm: Add support for device_id based detection. drm: Change limited M/N quirk to constant N quirk. drm: add LG eDP panel to quirk database drivers

[PATCH v3 1/3] drm: Add support for device_id based detection.

2018-09-11 Thread Lee, Shawn C
instead of hard coded '6' v3: add lost commit messages back for version 2 Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 15 ++- 1 file changed, 14

[PATCH v4 2/3] drm: Change limited M/N quirk to constant N quirk.

2018-09-11 Thread Lee, Shawn C
for issue description and fix typo. v3: add lost commit messages back for version 2 v4: send patch to both intel-gfx and dri-devel Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm

[PATCH v4 0/3] add LG panel to dpcd quirk database

2018-09-11 Thread Lee, Shawn C
issue. Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Lee, Shawn C (3): drm: Add support for device_id based detection. drm: Change limited M/N quirk to constant N quirk. drm: add LG eDP panel to quirk database drivers

[PATCH v4 1/3] drm: Add support for device_id based detection.

2018-09-11 Thread Lee, Shawn C
instead of hard coded '6' v3: add lost commit messages back for version 2 v4: send patch to both intel-gfx and dri-devel Cc: Jani Nikula Cc: Cooper Chiou Cc: Matt Atwood Cc: Maarten Lankhorst Cc: Dhinakaran Pandiyan Cc: Clint Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm

[PATCH v4 3/3] drm: add LG eDP panel to quirk database

2018-09-11 Thread Lee, Shawn C
Taylor Signed-off-by: Lee, Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index f3a7563eb8a1..67d683453f1c 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm

RE: [PATCH v3 0/3] add LG panel to dpcd quirk database

2018-09-11 Thread Lee, Shawn C
>have picked this up now, so we're missing CI results. > Thanks for reminding. I will commit as a new thread and send "to" intel-gfx as well. > >> >> Cc: Jani Nikula >> Cc: Cooper Chiou >> Cc: Matt Atwood >> Cc: Maarten Lankhorst >> Cc: D

[PATCH] drm/edid: Add 6 bpc quirk for BOE panel.

2018-10-28 Thread Lee, Shawn C
BOE panel (ID: 0x0771) that reports "DFP 1.x compliant TMDS". But it's 6bpc panel only instead of 8 bpc. Add panel ID to edid quirk list and set 6 bpc as default to work around this issue. Cc: Jani Nikula Cc: Maarten Lankhorst Cc: Gustavo Padovan Cc: Cooper Chiou Signed-off-by: Le

[PATCH] drm/edid: Add 6 bpc quirk for edp panel enabling.

2018-11-11 Thread Lee, Shawn C
BOE panel (ID: 0x0770) that reports "DFP 1.x compliant TMDS". But it's 6bpc panel only instead of 8 bpc. Add panel ID to edid quirk list and set 6 bpc as default to work around this issue. Cc: Jani Nikula Cc: Maarten Lankhorst Cc: Gustavo Padovan Cc: Cooper Chiou Signed-off-by: Le

RE: [PATCH] drm/edid: Add 6 bpc quirk for edp panel enabling.

2018-11-21 Thread Lee, Shawn C
We just got confirmation from BOE that they will modified EDID on this panel to fix issue. Please ignore this change. Thanks! >On Mon, 12 Nov 2018, "Lee, Shawn C" wrote: > >BOE panel (ID: 0x0770) that reports "DFP 1.x compliant TMDS". >But it's 6bpc panel only i

RE: [PATCH v2 1/3] drm: Add support for device_id based detection.

2018-09-11 Thread Lee, Shawn C
n implement some changes for branch/sink device that >> really need additional WA. >> >> Cc: Jani Nikula >> Cc: Cooper Chiou >> Cc: Matt Atwood >> Cc: Maarten Lankhorst >> Cc: Dhinakaran Pandiyan >> Cc: Clint Taylor >> Signed-off-by: Lee,

RE: [PATCH] i915: intel_dp_aux_backlight: Fix max backlight calculations

2019-06-26 Thread Lee, Shawn C
On Tue, 25 Jun 2019, Jani Nikula wrote: >On Mon, 17 Jun 2019, Furquan Shaikh wrote: >> Max backlight value for the panel was being calculated using byte >> count i.e. 0x if 2 bytes are supported for backlight brightness >> and 0xff if 1 byte is supported. However, EDP_PWMGEN_BIT_COUNT >>

[PATCH] drm/edid: Select DMT timing if EDID's display feature not support GTF.

2019-08-05 Thread Lee Shawn C
already over monitor's spec to cause black screen issue. "1920x1080" 120 368881 1920 2072 2288 2656 1080 1081 1084 1157 0x0 0x6 "1920x1080" 100 301992 1920 2072 2280 2640 1080 1081 1084 1144 0x0 0x6 Cc: Jani Nikula Cc: Maarten Lankhorst Cc: Adam Jackson Cc: Cooper Chiou Signed-of

RE: drm/edid: Select DMT timing if EDID's display feature not support GTF

2019-10-07 Thread Lee, Shawn C
On Tue, Aug 19, 2019, Ville Syrjälä wrote: >On Tue, Aug 06, 2019 at 07:30:21PM +0800, Lee Shawn C wrote: >> Refer to EDID 1.3 spec, display FEATURE (byte 18h) bit #0 said >> "If this bit is set to 1, the display supports timings based on the >> GTF standard using de

[PATCH v2] drm/edid: Select DMT timing if EDID's display feature not support GTF

2019-10-06 Thread Lee Shawn C
ankhorst Cc: Ville Syrjälä Cc: Adam Jackson Cc: Cooper Chiou Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 5aee0ebc200e..26eb04820b52 100644 --- a/dri

RE: [PATCH] drm/i915: customize DPCD brightness control for specific panel

2019-10-06 Thread Lee, Shawn C
On Fri, 04 Oct 2019, Jani Nikula wrote: >On Fri, 04 Oct 2019, Adam Jackson wrote: >> On Sat, 2019-10-05 at 05:58 +0800, Lee Shawn C wrote: >>> This panel (manufacturer is SDC, product ID is 0x4141) used >>> manufacturer defined DPCD register to control brightness t

RE: RE: [PATCH] drm/i915: customize DPCD brightness control for specific panel

2019-10-07 Thread Lee, Shawn C
On Mon, 07 Oct 2019, "Jani Nikula" mailto:jani.nik...@intel.com>> wrote: >On Mon, 07 Oct 2019, "Lee, Shawn C" >mailto:shawn.c@intel.com>> wrote: >> On Fri, 04 Oct 2019, Jani Nikula >> mailto:jani.nik...@intel.com>> wrote: >

RE: [PATCH] drm/i915: customize DPCD brightness control for specific panel

2019-10-07 Thread Lee, Shawn C
On Mon, 07 Oct 2019, "Jani Nikula" wrote: >On Mon, 07 Oct 2019, "Lee, Shawn C" wrote: >> On Fri, 04 Oct 2019, Jani Nikula wrote: >>>On Fri, 04 Oct 2019, Adam Jackson wrote: >>>> On Sat, 2019-10-05 at 05:58 +0800, Lee Shawn C wrote: >>&

[PATCH v2] drm/i915: customize DPCD brightness control for specific panel

2019-10-09 Thread Lee Shawn C
V2: To check sink OUI instead of EDID quirk. According to TCON's capability to decide to enable this method for brightness control. Cc: Jani Nikula Cc: Adam Jackson Cc: Maarten Lankhorst Cc: Gustavo Padovan Cc: Cooper Chiou Signed-off-by: Lee Shawn C --- drivers/gpu/drm

RE: [PATCH] drm/i915: customize DPCD brightness control for specific panel

2019-10-09 Thread Lee, Shawn C
On Tue, 08 Oct 2019, Jani Nikula wrote: >On Mon, 07 Oct 2019, Adam Jackson wrote: >> On Mon, 2019-10-07 at 12:08 +0300, Jani Nikula wrote: >> >>> The problem with the EDID quirks is that exposing the quirks sticks out >>> like a sore thumb. Thus far all of it has been contained in drm_edid.c >>>

[PATCH] drm/i915: customize DPCD brightness control for specific panel

2019-10-04 Thread Lee Shawn C
Cc: Jani Nikula Cc: Maarten Lankhorst Cc: Gustavo Padovan Cc: Cooper Chiou Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c| 6 +- drivers/gpu/drm/i915/display/intel_dp.c | 7 + .../drm/i915/display/intel_dp_aux_backlight.c | 143

RE: [PATCH] drm/edid: temporary workaround to pass HDMI 2.0 compliance HF1-13

2020-02-17 Thread Lee, Shawn C
On Tue, Feb 18, Ville Syrjälä wrote: >On Tue, Feb 18, 2020 at 01:41:39AM +0800, Lee Shawn C wrote: >> Test case HF1-13 for HDMI 2.0 compliance would ask DUT to downgrade >> output resolution to 720x480 or 720x576 (lower than 3.4Gbps). >> And check scrambling feature

[PATCH] drm/edid: temporary workaround to pass HDMI 2.0 compliance HF1-13

2020-02-17 Thread Lee Shawn C
enabled scrambling rely on this info. Then HF1-13 would not get pass because DUT have to disable scrambling to run this case. Cc: Jani Nikula Cc: Ville Syrjälä Cc: Clint Taylor Cc: Cooper Chiou Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 13 ++--- 1 file changed, 10

[PATCH] drm/edid: Add 10 bpc quirk for HP z27x monitor

2020-01-12 Thread Lee Shawn C
Found EDID byte 14 value was 0x80 that report unknown color depth. Based on monitor's spec to add it into quirk list. Cc: Jani Nikula Cc: Ville Syrjälä Cc: Cooper Chiou Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCH] drm/edid: Parse multiple CEA ext block

2020-11-16 Thread Lee Shawn C
Cc: Khaled Almahallawy Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 130 + 1 file changed, 74 insertions(+), 56 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 74f5a3197214..1cbccf6a9d3e 100644 --- a/drive

[PATCH] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee Shawn C
liam Tseng Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index 24bbc710c825..2b4d1f498ce3 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/d

RE: [PATCH] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee, Shawn C
On Wed, July 7, 2021, 3:05 p.m., Simon Ser wrote: >> + DP_LINK_STATUS_SIZE + 2); > >Suggestion: use sizeof(full_link_stat) here instead to avoid this getting >out-of-sync with the real array size? > I will update v2 patch later. Thanks for comment! Best

[PATCH v2] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee Shawn C
Lyude Paul Cc: Simon Ser Cc: Cooper Chiou Cc: William Tseng Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_dp_helper.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index 24bbc710c825..4f

RE: [PATCH v2] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee, Shawn C
On Wed, 07 Jul 2021, 4:14 p.m, Jani Nikula wrote: >On Wed, 07 Jul 2021, Lee Shawn C wrote: >> Refer to DP link CTS 1.2/1.4 spec, the following test case request >> source read DPCD 200h - 205h to get latest link status from sink. >> >> (4.3.2.4) Handling of IRQ HPD

RE: [PATCH v2] drm/dp: follow DP link CTS spec to read link status back

2021-07-12 Thread Lee, Shawn C
On Wed, 08 Jul 2021, Lee Shawn C wrote: >On Wed, 07 Jul 2021, 4:14 p.m, Jani Nikula wrote: >>On Wed, 07 Jul 2021, Lee Shawn C wrote: >>> Refer to DP link CTS 1.2/1.4 spec, the following test case request >>> source read DPCD 200h - 205h to get latest link status

RE: [PATCH v2] drm/dp: follow DP link CTS spec to read link status back

2021-08-19 Thread Lee, Shawn C
On Wed, 08 Jul 2021, Lee Shawn C wrote: >On Wed, 07 Jul 2021, 4:14 p.m, Jani Nikula wrote: >>On Wed, 07 Jul 2021, Lee Shawn C wrote: >>> Refer to DP link CTS 1.2/1.4 spec, the following test case request >>> source read DPCD 200h - 205h to get latest link status

RE: [PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-23 Thread Lee, Shawn C
On Thursday, December 23, 2021 1:02 PM, Ville Syrjälä wrote: >On Sun, Dec 12, 2021 at 11:33:31PM +0800, Lee Shawn C wrote: >> According to CEA-861-F chapter 7.5.4. It says "The VSDB shall contain >> the >> 3 bytes of the IEEE OUI as well as any additional payload bytes

[PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-12 Thread Lee Shawn C
d. Because of they only have three bytes payload (OUI only) in VSDB. Cc: Ville Syrjälä Cc: Adam Jackson Cc: Dave Airlie Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_ed

RE: [PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-13 Thread Lee, Shawn C
On Monday, December 13, 2021 8:31 PM, Ville Syrjälä wrote: >On Sun, Dec 12, 2021 at 11:33:31PM +0800, Lee Shawn C wrote: >> According to CEA-861-F chapter 7.5.4. It says "The VSDB shall contain >> the >> 3 bytes of the IEEE OUI as well as any additional payload bytes

RE: [PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-13 Thread Lee, Shawn C
On Monday, December 13, 2021 at 02:36 p.m, Ville Syrjälä wrote: >On Mon, Dec 13, 2021 at 02:09:33PM +0000, Lee, Shawn C wrote: >> >> On Monday, December 13, 2021 at 12:45 p.m, Ville Syrjälä wrote: >> >On Mon, Dec 13, 2021 at 12:42:22PM +, Lee, Shawn C wrote: >>

RE: [PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-13 Thread Lee, Shawn C
On Monday, December 13, 2021 at 12:45 p.m, Ville Syrjälä wrote: >On Mon, Dec 13, 2021 at 12:42:22PM +0000, Lee, Shawn C wrote: >> >> On Monday, December 13, 2021 8:31 PM, Ville Syrjälä wrote: >> >On Sun, Dec 12, 2021 at 11:33:31PM +0800, Lee Shawn C wrote: >> >

[v7 1/5] drm/edid: seek for available CEA and DisplayID block from specific EDID block index

2022-03-13 Thread Lee Shawn C
different parameters to store CEA and DisplayID block index. configure DisplayID extansion block index before search available DisplayID block. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: Drew Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v7 2/5] drm/edid: parse multiple CEA extension block

2022-03-13 Thread Lee Shawn C
rew Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 78c415aa6889..9fa84881fbba 100644 --- a/drivers/

[v7 3/5] drm/edid: read HF-EEODB ext block

2022-03-13 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: Drew Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 1 + 3 files c

[v7 5/5] drm/edid: check for HF-SCDB block

2022-03-13 Thread Lee Shawn C
Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 5de85ba20bdf..351a729bddb6 100644 --- a/drivers/gpu/drm/drm_edid.c

[v7 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-13 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: Drew Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers

[v7 0/5] enhanced edid driver compatibility

2022-03-13 Thread Lee Shawn C
data information was found in DispalyID block. v7: using different parameters to store CEA and DisplayID block index. configure DisplayID extansion block index before search available DisplayID block. Lee Shawn C (5): drm/edid: seek for available CEA and DisplayID block from specific

[v8 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-17 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers

[v8 2/5] drm/edid: parse multiple CEA extension block

2022-03-17 Thread Lee Shawn C
rom drm_find_cea_extension(). If drvier got the same cea pointer then exit this routine. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: Drew Davenport Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 34 +- 1 file changed,

[v8 3/5] drm/edid: read HF-EEODB ext block

2022-03-17 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 74 insert

[v8 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-17 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v8 5/5] drm/edid: check for HF-SCDB block

2022-03-17 Thread Lee Shawn C
Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 40c192587f0a..64d13ba0f701 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm

[v8 0/5] enhanced edid driver compatibility

2022-03-17 Thread Lee Shawn C
drm_find_cea_extension(). If drvier got the same cea pointer then exit this routine. Lee Shawn C (5): drm/edid: seek for available CEA block from specific EDID block index drm/edid: parse multiple CEA extension block drm/edid: read HF-EEODB ext block drm/edid: parse HF-EEODB CEA extension block drm

[v6 0/5] enhanced edid driver compatibility

2022-03-10 Thread Lee Shawn C
data information was found in DispalyID block. Lee Shawn C (5): drm/edid: seek for available CEA block from specific EDID block index drm/edid: parse multiple CEA extension block drm/edid: read HF-EEODB ext block drm/edid: parse HF-EEODB CEA extension block drm/edid: check for HF

[v6 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-10 Thread Lee Shawn C
Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 43 +++--- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 561f53831e29

[v6 3/5] drm/edid: read HF-EEODB ext block

2022-03-10 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 74 insert

[v6 2/5] drm/edid: parse multiple CEA extension block

2022-03-10 Thread Lee Shawn C
tel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index e267d31d5c87..7717bf86c07d 100644 --- a/drivers/gpu/drm/drm_edid.c ++

[v6 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-10 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v6 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee Shawn C
Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index eac6ce336507..159e01be6f68 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm

RE: [v7 3/5] drm/edid: read HF-EEODB ext block

2022-03-15 Thread Lee, Shawn C
On Tuesday, March 15, 2022 7:03 PM, Nikula, Jani wrote: >On Sun, 13 Mar 2022, Lee Shawn C wrote: >> According to HDMI 2.1 spec. >> >> "The HDMI Forum EDID Extension Override Data Block (HF-EEODB) is >> utilized by Sink Devices to provide an alternate method t

RE: [v7 1/5] drm/edid: seek for available CEA and DisplayID block from specific EDID block index

2022-03-15 Thread Lee, Shawn C
On Tuesday, March 15, 2022 8:33 PM, Nikula, Jani wrote: >On Mon, 14 Mar 2022, Drew Davenport wrote: >> On Mon, Mar 14, 2022 at 10:40:47AM +0200, Jani Nikula wrote: >>> On Sun, 13 Mar 2022, Lee Shawn C wrote: >>> > drm_find_cea_extension() always look for a to

[v5 2/5] drm/edid: parse multiple CEA extension block

2022-03-10 Thread Lee Shawn C
tel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 1251226d9284..7b672166fab4 100644 --- a/drivers/gpu/drm/drm_edid.c ++

[v5 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-10 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers

[v5 3/5] drm/edid: read HF-EEODB ext block

2022-03-10 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 74 insert

[v5 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee Shawn C
Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 1da1239c21cb..f1d5180ee5a9 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm

[v5 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-10 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C --- drivers/gpu/drm

RE: [v4 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee, Shawn C
On Thursday, March 10, 2022 6:50 PM, Ville Syrjälä wrote: >On Wed, Mar 02, 2022 at 05:35:11PM +0800, Lee Shawn C wrote: >> Find HF-SCDB information in CEA extensions block. And retrieve >> Max_TMDS_Character_Rate that support by sink device. >> >> Cc: Jani Nikula

[v5 0/5] enhanced edid driver compatibility

2022-03-10 Thread Lee Shawn C
Support to parse multiple CEA extension blocks and HF-EEODB to extend drm edid driver's capability. v4: add one more patch to support HF-SCDB v5: HF-SCDB and HF-VSDBS carry the same SCDS data. Reuse drm_parse_hdmi_forum_vsdb() to parse this packet. Lee Shawn C (5): drm/edid: seek

RE: [v6 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-12 Thread Lee, Shawn C
On Saturday, March 12, 2022 7:41 AM, Drew Davenport wrote: >On Fri, Mar 11, 2022 at 09:22:14AM +0800, Lee Shawn C wrote: >> drm_find_cea_extension() always look for a top level CEA block. Pass >> ext_index from caller then this function to search next available CEA >> ext

[PATCH 2/3] drm/edid: read HF-EEODB ext block

2022-02-24 Thread Lee Shawn C
Support to read HF_EEODB block that request by HDMI 2.1 specification. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 5 ++- drivers/gpu/drm/drm_edid.c | 76 ++--- include/drm/drm_edid.h

[PATCH 1/3] drm/edid: parse multiple CEA extension block

2022-02-24 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 110 - 1 file changed, 60 insertions(+), 50 deleti

[PATCH 0/3] enhanced edid driver compatibility

2022-02-24 Thread Lee Shawn C
Support to parse multiple CEA extension blocks and HF-EEODB to extend drm edid driver's capability. Lee Shawn C (3): drm/edid: parse multiple CEA extension block drm/edid: read HF-EEODB ext block drm/edid: parse HF-EEODB CEA extension block drivers/gpu/drm/drm_connector.c | 5

[PATCH 3/3] drm/edid: parse HF-EEODB CEA extension block

2022-02-24 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 5

[v2 1/4] drm/edid: seek for available CEA block from specific EDID block index

2022-02-28 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v2 2/4] drm/edid: parse multiple CEA extension block

2022-02-28 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: split prvious patch to two. And do CEA block parsing in this one. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c |

[v2 3/4] drm/edid: read HF-EEODB ext block

2022-02-28 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 79 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 82 insertions(+), 7 deletion

[v2 4/4] drm/edid: parse HF-EEODB CEA extension block

2022-02-28 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 5

[v2 0/4] enhanced edid driver compatibility

2022-02-28 Thread Lee Shawn C
Support to parse multiple CEA extension blocks and HF-EEODB to extend drm edid driver's capability. Lee Shawn C (4): drm/edid: seek for available CEA block from specific EDID block index drm/edid: parse multiple CEA extension block drm/edid: read HF-EEODB ext block drm/edid: parse HF

[PATCH 1/3] drm/edid: parse multiple CEA extension block

2022-02-21 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 75 +++--- 1 file changed, 45 insertions(+), 30 deleti

[PATCH 2/3] drm/edid: read HF-EEODB ext block

2022-02-21 Thread Lee Shawn C
Support to read HF_EEODB block that request by HDMI 2.1 specification. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 5 ++- drivers/gpu/drm/drm_edid.c | 76 ++--- include/drm/drm_edid.h

[PATCH 3/3] drm/edid: parse HF-EEODB CEA extension block

2022-02-21 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 2

RE: [PATCH 1/3] drm/edid: parse multiple CEA extension block

2022-02-22 Thread Lee, Shawn C
On Tue, Feb 22, 2022 at 03:28:17PM +0800, Ville Syrjälä wrote: >On Tue, Feb 22, 2022 at 02:38:17PM +0800, Lee Shawn C wrote: >> Try to find and parse more CEA ext blocks if edid->extensions is >> greater than one. >> >> Cc: Jani Nikula >> Cc: Ville Syrja

[v2 3/3] drm/edid: parse HF-EEODB CEA extension block

2022-02-22 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 5 - drivers/gpu/drm/drm_edid.c | 34

[v2 2/3] drm/edid: read HF-EEODB ext block

2022-02-22 Thread Lee Shawn C
Support to read HF_EEODB block that request by HDMI 2.1 specification. Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 5 ++- drivers/gpu/drm/drm_edid.c | 76 ++--- include/drm/drm_edid.h | 2 + 3 files changed, 77 insertions(+), 6

[v2 1/3] drm/edid: parse multiple CEA extension block

2022-02-22 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: add ext_index and look for available CEA block from ext_index in drm_find_cea_extension(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/

[v3 3/4] drm/edid: read HF-EEODB ext block

2022-03-02 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 74 insertions(+), 7 deletion

[v3 4/4] drm/edid: parse HF-EEODB CEA extension block

2022-03-02 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 5

[v3 1/4] drm/edid: seek for available CEA block from specific EDID block index

2022-03-02 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v3 2/4] drm/edid: parse multiple CEA extension block

2022-03-02 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: split prvious patch to two. And do CEA block parsing in this one. v3: simplify this patch based on previous change. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shaw

[v4 5/5] drm/edid: check for HF-SCDB block

2022-03-02 Thread Lee Shawn C
Find HF-SCDB information in CEA extensions block. And retrieve Max_TMDS_Character_Rate that support by sink device. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_edid.c | 36 1 file changed, 36

[v4 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-02 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_displayid.c | 5

[v4 3/5] drm/edid: read HF-EEODB ext block

2022-03-02 Thread Lee Shawn C
unt(). Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm/drm_connector.c | 8 +++- drivers/gpu/drm/drm_edid.c | 71 +++-- include/drm/drm_edid.h | 2 +- 3 files changed, 74 insertions(+), 7 deletion

[v4 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-02 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shawn C --- drivers/gpu/drm

[v4 2/5] drm/edid: parse multiple CEA extension block

2022-03-02 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: split prvious patch to two. And do CEA block parsing in this one. v3: simplify this patch based on previous change. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Signed-off-by: Lee Shaw

  1   2   >