Update MAX_EDID value in exynos
Subsystems (3)
PATCH 1/1 Update MAX_EDID value in exynos
From: Shirish Shankarappa <[email protected]>
The value of MAX_EDID is now valid only for 2
block EDID data which is 256, but to support
4 block EDID (E-DDC) this needs to be 512.
Based on drm-next branch
Shirish Shankarappa (1):
drm/exynos: Update the MAX_EDID value for E-DDC
drivers/gpu/drm/exynos/exynos_drm_connector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
PATCH 1/1 drm/exynos: Update the MAX_EDID value for E-DDC
From: Shirish Shankarappa <[email protected]>
The value of MAX_EDID is now valid only for 2
block EDID data which is 256, but to support
4 block EDID (E-DDC) this needs to be 512.
--- drivers/gpu/drm/exynos/exynos_drm_connector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_connector.c +1 -1
@@ -32,7 +32,7 @@#include "exynos_drm_drv.h" #include "exynos_drm_encoder.h" -#define MAX_EDID 256 +#define MAX_EDID 512#define to_exynos_connector (x) container_of(x, struct exynos_drm_connector,\ drm_connector)
Signature · 1 line
1.7.0.4
Re: [PATCH] drm/exynos: Update the MAX_EDID value for E-DDC
Quoted 16 lines · Shirish S
From: Shirish Shankarappa <[email protected]>
The value of
MAX_EDIDis now valid only for 2
block EDID data which is 256, but to support
4 block EDID (E-DDC) this needs to be 512.Signed-off-by Shirish Shankarappa <[email protected]>--- drivers/gpu/drm/exynos/exynos_drm_connector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/exynos/exynos_drm_connector.c +0
-0
drivers/gpu/drm/exynos/exynos_drm_connector.c line 37
Quoted 7 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c +1
-1@@ -32,7 +32,7 @@#include "exynos_drm_drv.h" #include "exynos_drm_encoder.h" -#define MAX_EDID 256 +#define MAX_EDID 512#define to_exynos_connector (x) container_of(x, struct exynos_drm_connector,\ drm_connector)
Shouldn't this be in a common drm/edid header to begin with? -Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48
김승우
maintainerRe: [PATCH] drm/exynos: Update the MAX_EDID value for E-DDC
Hi Daniel,
Quoted 20 lines · Daniel Vetter
Quoted 19 lines · Shirish S
From: Shirish Shankarappa <[email protected]>
The value of
MAX_EDIDis now valid only for 2
block EDID data which is 256, but to support
4 block EDID (E-DDC) this needs to be 512.Signed-off-by Shirish Shankarappa <[email protected]>--- drivers/gpu/drm/exynos/exynos_drm_connector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/exynos/exynos_drm_connector.c +0
-0@@ -32,7 +32,7 @@#include "exynos_drm_drv.h" #include "exynos_drm_encoder.h"
Quoted 6 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c line 37
Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c +1
-1-#define MAX_EDID 256 +#define MAX_EDID 512#define to_exynos_connector (x) container_of(x, struct exynos_drm_connector,\ drm_connector)Shouldn't this be in a common drm/edid header to begin with?
This value is not real maximum length of EDID and it is only used for memory allocation by exynos connector. Actually, this allocation is unnecessary because edid is already allocated by drm_get_edid().
So, I have plan to remove this allocation and the definition once Jani Nikula's patches for removing raw_edid related memory leaks are applied.
Quoted 2 lines
-Daniel
Thanks and Regards,
- Seung-Woo Kim
Signature · 8 lines
Seung-Woo Kim Samsung Software R&D Center -- _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH] drm/exynos: Update the MAX_EDID value for E-DDC
Hello,
Quoted 32 lines · 김승우
Hi Daniel,
Quoted 7 lines · Daniel Vetter
Quoted 6 lines · Shirish S
From: Shirish Shankarappa <[email protected]>
The value of
MAX_EDIDis now valid only for 2
block EDID data which is 256, but to support
4 block EDID (E-DDC) this needs to be 512.Quoted 6 lines
Review
Quoted 6 lines
Signed-off-by Shirish Shankarappa <[email protected]>--- drivers/gpu/drm/exynos/exynos_drm_connector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/exynos/exynos_drm_connector.cQuoted 10 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c line 36
Quoted 10 lines
index d956819..69d02b5 100644
drivers/gpu/drm/exynos/exynos_drm_connector.c +1
-1@@ -32,7 +32,7 @@#include "exynos_drm_drv.h" #include "exynos_drm_encoder.h" -#define MAX_EDID 256 +#define MAX_EDID 512#define to_exynos_connector (x) container_of(x, structexynos_drm_connector,\
Quoted 3 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c line 37
Quoted 1 line
drivers/gpu/drm/exynos/exynos_drm_connector.c +0
-0drm_connector)Shouldn't this be in a common drm/edid header to begin with?
Quoted 8 lines
This value is not real maximum length of EDID and it is only used for memory allocation by exynos connector. Actually, this allocation is unnecessary because edid is already allocated by
drm_get_edid().So, I have plan to remove this allocation and the definition once Jani Nikula's patches for removing
raw_edidrelated memory leaks are applied.I was not aware of your plans to remove it, anyways for verifying the
patch for 4 block EDID data,
this modification is required,hence i thought of posting this patch.
Quoted 7 lines
Quoted 2 lines
-Daniel
Thanks and Regards,
- Seung-Woo Kim
Quoted 6 lines
--
Seung-Woo Kim
Samsung Software R&D Center
--Thanks& Regards,
Shirish S
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel