* [PATCH RESEND] drm/edid: add #defines for ELD versions
@ 2015-04-13 7:57 Jani Nikula
2015-04-13 10:15 ` Ville Syrjälä
0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2015-04-13 7:57 UTC (permalink / raw)
To: dri-devel; +Cc: jani.nikula
Add ELD versions according to HDA Specification v1.0a.
2 indicates version 2, which supports CEA_Ver 861D or below. Maximum
Baseline ELD size of 80 bytes (15 SAD count).
31 indicates an ELD that has been partially populated through
implementation specific mean of default programming before an external
graphics driver is loaded. Only the field that is called out as "canned"
field will be populated, and audio driver should ignore the non "canned"
field.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
include/drm/drm_edid.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 87d85e81d3a7..799050198323 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -215,6 +215,8 @@ struct detailed_timing {
#define DRM_ELD_VER 0
# define DRM_ELD_VER_SHIFT 3
# define DRM_ELD_VER_MASK (0x1f << 3)
+# define DRM_ELD_VER_CEA861D (2 << 3) /* supports 861D or below */
+# define DRM_ELD_VER_CANNED (0x1f << 3)
#define DRM_ELD_BASELINE_ELD_LEN 2 /* in dwords! */
--
2.1.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] drm/edid: add #defines for ELD versions
2015-04-13 7:57 [PATCH RESEND] drm/edid: add #defines for ELD versions Jani Nikula
@ 2015-04-13 10:15 ` Ville Syrjälä
2015-04-13 13:00 ` Daniel Vetter
0 siblings, 1 reply; 3+ messages in thread
From: Ville Syrjälä @ 2015-04-13 10:15 UTC (permalink / raw)
To: Jani Nikula; +Cc: dri-devel
On Mon, Apr 13, 2015 at 10:57:14AM +0300, Jani Nikula wrote:
> Add ELD versions according to HDA Specification v1.0a.
>
> 2 indicates version 2, which supports CEA_Ver 861D or below. Maximum
> Baseline ELD size of 80 bytes (15 SAD count).
>
> 31 indicates an ELD that has been partially populated through
> implementation specific mean of default programming before an external
> graphics driver is loaded. Only the field that is called out as "canned"
> field will be populated, and audio driver should ignore the non "canned"
> field.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Matches the spec.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> include/drm/drm_edid.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
> index 87d85e81d3a7..799050198323 100644
> --- a/include/drm/drm_edid.h
> +++ b/include/drm/drm_edid.h
> @@ -215,6 +215,8 @@ struct detailed_timing {
> #define DRM_ELD_VER 0
> # define DRM_ELD_VER_SHIFT 3
> # define DRM_ELD_VER_MASK (0x1f << 3)
> +# define DRM_ELD_VER_CEA861D (2 << 3) /* supports 861D or below */
> +# define DRM_ELD_VER_CANNED (0x1f << 3)
>
> #define DRM_ELD_BASELINE_ELD_LEN 2 /* in dwords! */
>
> --
> 2.1.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Ville Syrjälä
Intel OTC
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] drm/edid: add #defines for ELD versions
2015-04-13 10:15 ` Ville Syrjälä
@ 2015-04-13 13:00 ` Daniel Vetter
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2015-04-13 13:00 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: Jani Nikula, dri-devel
On Mon, Apr 13, 2015 at 01:15:49PM +0300, Ville Syrjälä wrote:
> On Mon, Apr 13, 2015 at 10:57:14AM +0300, Jani Nikula wrote:
> > Add ELD versions according to HDA Specification v1.0a.
> >
> > 2 indicates version 2, which supports CEA_Ver 861D or below. Maximum
> > Baseline ELD size of 80 bytes (15 SAD count).
> >
> > 31 indicates an ELD that has been partially populated through
> > implementation specific mean of default programming before an external
> > graphics driver is loaded. Only the field that is called out as "canned"
> > field will be populated, and audio driver should ignore the non "canned"
> > field.
> >
> > Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Matches the spec.
>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Merged to topic/drm-misc, will send a pull request for 4.1 still to Dave
tomorrow or so.
Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-13 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 7:57 [PATCH RESEND] drm/edid: add #defines for ELD versions Jani Nikula
2015-04-13 10:15 ` Ville Syrjälä
2015-04-13 13:00 ` Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.