]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/bios: parse compression parameters block
authorJani Nikula <jani.nikula@intel.com>
Tue, 10 Dec 2019 10:50:46 +0000 (12:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2019 05:39:41 +0000 (07:39 +0200)
commit6e0d46e91efd4440e00a1c5380bf9a2f933529b8
tree0ccfcd6997299477ce1eccb3d0b9cf75f220254b
parentd1dad6f43334f8ea93b76953cef0703f8bf9d42e
drm/i915/bios: parse compression parameters block

Check for child devices that specify compression, and store the device
specific compression parameters in the display device data struct for
later use. Warn if compression is requested but not available.

Use fairly rigid checks for compression data for starters. These can be
made more dynamic later.

Log about DSC presence in DDI port parse, though this is not universal
across platforms or port types (DSI).

v2: amended debug logging

Bspec: 29885
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/357d685ba047faf2285138c2f7014a8dee9a12b7.1575974743.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_vbt_defs.h