[linux-yocto] [PATCH 1/2] DRM: Restore synth_clock and clock_index fields in drm_display_mode
Darren Hart
dvhart at linux.intel.com
Tue Mar 11 16:54:51 PDT 2014
These two fields:
clock_index
synth_clock
Have been removed from the upstream DRM subsystem as they were unused.
EMGD is still making use of them, so add them back. This is really just
one final bandaid to keep the EMGD driver limping along through
3.10-LTSI.
Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
include/drm/drm_crtc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index b3cdbf6..bf5b46b 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -156,6 +156,10 @@ struct drm_display_mode {
int height_mm;
/* Actual mode we give to hw */
+ /* EMGD still uses these two */
+ int clock_index; /* this is used for VESA/VGA mode number */
+ int synth_clock; /* perhaps this should be crtc_clock ? */
+ /* END EMGD */
int crtc_clock; /* in KHz */
int crtc_hdisplay;
int crtc_hblank_start;
--
1.7.9.5
More information about the linux-yocto
mailing list