Bug 106178 - Feature request: HDCP support for graphics platforms earlier than Haswell
Summary: Feature request: HDCP support for graphics platforms earlier than Haswell
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: lowest enhancement
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-22 17:11 UTC by samalexander
Modified: 2018-09-10 15:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features: display/Other


Attachments

Description samalexander 2018-04-22 17:11:10 UTC
Could the new HDCP support in the Linux i915 driver be extended to include Ivy Bridge?

I am looking at the is_hdcp_supported() function in drivers/gpu/drm/i915/intel_hdcp.c as an indication of what is currently supported:

bool is_hdcp_supported(struct drm_i915_private *dev_priv, enum port port)
{
        /* PORT E doesn't have HDCP, and PORT F is disabled */
        return ((INTEL_GEN(dev_priv) >= 8 || IS_HASWELL(dev_priv)) &&
                !IS_CHERRYVIEW(dev_priv) && port < PORT_E);
}

where the platforms are listed in drivers/gpu/drm/i915/intel_device_info.h:

enum intel_platform {
        INTEL_PLATFORM_UNINITIALIZED = 0,
        /* gen2 */
        INTEL_I830,
        INTEL_I845G,
        INTEL_I85X,
        INTEL_I865G,
        /* gen3 */
        INTEL_I915G,
        INTEL_I915GM,
        INTEL_I945G,
        INTEL_I945GM,
        INTEL_G33,
        INTEL_PINEVIEW,
        /* gen4 */
        INTEL_I965G,
        INTEL_I965GM,
        INTEL_G45,
        INTEL_GM45,
        /* gen5 */
        INTEL_IRONLAKE,
        /* gen6 */
        INTEL_SANDYBRIDGE,
        /* gen7 */
        INTEL_IVYBRIDGE,                                                          
        INTEL_VALLEYVIEW,                                                         
        INTEL_HASWELL,                                                            
        /* gen8 */                                                                
        INTEL_BROADWELL,                                                          
        INTEL_CHERRYVIEW,                                                         
        /* gen9 */                                                                
        INTEL_SKYLAKE,                                                            
        INTEL_BROXTON,                                                            
        INTEL_KABYLAKE,                                                           
        INTEL_GEMINILAKE,                                                         
        INTEL_COFFEELAKE,                                                         
        /* gen10 */                                                               
        INTEL_CANNONLAKE,
        /* gen11 */
        INTEL_ICELAKE,
        INTEL_MAX_PLATFORMS
};
Comment 1 Jose Roberto de Souza 2018-05-21 21:11:38 UTC
There is no hardware support for HDCP before Haswell.
Comment 2 Ville Syrjala 2018-05-25 17:18:57 UTC
(In reply to Jose Roberto de Souza from comment #1)
> There is no hardware support for HDCP before Haswell.

Eh? At least all the display engine HDCP bits have been there since the introduction of native HDMI on g4x. And going back further, even SDVO HDMI has some HDCP stuff in the spec.

Not knowing anything about HDCP I can't tell what else would be needed besides poking at the display engine.
Comment 3 Jani Nikula 2018-05-30 11:57:00 UTC
Regardless of hardware support, I don't expect us to put in the effort to enable HDCP on old platforms, especially if there's any non-trivial difference in the hardware. Lowest priority, i.e. we're not working on it, but might consider patches. Borderline WONTFIX.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.