/****************************************************************************** * Guest OS interface to ARM Xen. * * Stefano Stabellini , Citrix, 2012 */ #ifndef _ASM_ARM_XEN_INTERFACE_H #define _ASM_ARM_XEN_INTERFACE_H #include #define uint64_aligned_t uint64_t __attribute__((aligned(8))) #define __DEFINE_GUEST_HANDLE(name, type) \ typedef struct { union { type *p; uint64_aligned_t q; }; } \ __guest_handle_ ## name #define DEFINE_GUEST_HANDLE_STRUCT(name) \ __DEFINE_GUEST_HANDLE(name, struct name) #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) #define GUEST_HANDLE(name) __guest_handle_ ## name #define set_xen_guest_handle(hnd, val) \ do { \ if (sizeof(hnd) == 8) \ *(uint64_t *)&(hnd) = 0; \ (hnd).p = val; \ } while (0) #define __HYPERVISOR_platform_op_raw __HYPERVISOR_platform_op #ifndef __ASSEMBLY__ /* Explicitly size integers that represent pfns in the interface with * Xen so that we can have one ABI that works for 32 and 64 bit guests. * Note that this means that the xen_pfn_t type may be capable of * representing pfn's which the guest cannot represent in its own pfn * type. However since pfn space is controlled by the guest this is * fine since it simply wouldn't be able to create any sure pfns in * the first place. */ typedef uint64_t xen_pfn_t; #define PRI_xen_pfn "llx" typedef uint64_t xen_ulong_t; #define PRI_xen_ulong "llx" typedef int64_t xen_long_t; #define PRI_xen_long "llx" /* Guest handles for primitive C types. */ __DEFINE_GUEST_HANDLE(uchar, unsigned char); __DEFINE_GUEST_HANDLE(uint, unsigned int); DEFINE_GUEST_HANDLE(char); DEFINE_GUEST_HANDLE(int); DEFINE_GUEST_HANDLE(void); DEFINE_GUEST_HANDLE(uint64_t); DEFINE_GUEST_HANDLE(uint32_t); DEFINE_GUEST_HANDLE(xen_pfn_t); DEFINE_GUEST_HANDLE(xen_ulong_t); /* Maximum number of virtual CPUs in multi-processor guests. */ #define MAX_VIRT_CPUS 1 struct arch_vcpu_info { }; struct arch_shared_info { }; /* TODO: Move pvclock definitions some place arch independent */ struct pvclock_vcpu_time_info { u32 version; u32 pad0; u64 tsc_timestamp; u64 system_time; u32 tsc_to_system_mul; s8 tsc_shift; u8 flags; u8 pad[2]; } __attribute__((__packed__)); /* 32 bytes */ /* It is OK to have a 12 bytes struct with no padding because it is packed */ struct pvclock_wall_clock { u32 version; u32 sec; u32 nsec; u32 sec_hi; } __attribute__((__packed__)); #endif #endif /* _ASM_ARM_XEN_INTERFACE_H */ ch'/>
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-07-18 13:15:14 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-18 14:33:09 +0200
commitc71d4d58981bed3366769ef5cf1f20e588fe16d0 (patch)
tree37d91fa66bc6328313e32b881d5d0fa0d2dffbf9 /Documentation/fb
parentaeddda06c1a704bb97c8a7bfe7a472120193bd56 (diff)
drm/i915: Treat eDP as always connected, again
eDP should be treated as connected even if doesn't have an EDID. In that case we'll use the timings from the VBT. That used to be the case until commit f21a21983ef1 ("drm/i915: Splitting intel_dp_detect") broke things by considering even eDP disconnected if we fail to get an EDID for it. Fix things up again by treating eDP as always connected. Cc: Shubhangi Shrivastava <shubhangi.shrivastava@intel.com> Cc: Nathan D Ciobanu <nathan.d.ciobanu@intel.com> Cc: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com> Cc: Ander Conselvan de Oliveira <conselvan2@gmail.com> Cc: Larry Finger <larry.finger@lwfinger.net> Reported-by: Larry Finger <larry.finger@lwfinger.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96675 Cc: drm-intel-fixes@lists.freedesktop.org Fixes: f21a21983ef1 ("drm/i915: Splitting intel_dp_detect") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Tested-by: Larry Finger <larry.finger@lwfinger.net> Link: http://patchwork.freedesktop.org/patch/msgid/1468836914-16537-1-git-send-email-ville.syrjala@linux.intel.com (cherry picked from commit 1b7f2c8b0773d5ccbef43ef38a13ad33136c9679) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/fb')