summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-05-08 22:19:40 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-13 14:13:22 +0200
commitd7f25f23d2e0c7898c95b2a6fd84f6358588de48 (patch)
tree2ebfcf2ab312fb17acdfd25ec42a063b99661e3d /arch/x86
parent7895a81dcfc23b9fa89a0f4f75af7abf7c6c71ed (diff)
downloadop-kernel-dev-d7f25f23d2e0c7898c95b2a6fd84f6358588de48.zip
op-kernel-dev-d7f25f23d2e0c7898c95b2a6fd84f6358588de48.tar.gz
drm/i915/chv: Implement stolen memory size detection
CHV uses the same bits as SNB/VLV to code the Graphics Mode Select field (GFX stolen memory size) with the addition of finer granularity modes: 4MB increments from 0x11 (8MB) to 0x1d. Values strictly above 0x1d are either reserved or not supported. v2: 4MB increments, not 8MB. 32MB has been omitted from the list of new values (Ville Syrjälä) v3: Also correctly interpret GGMS (GTT Graphics Memory Size) (Ville Syrjälä) v4: Don't assign a value that needs 20bits or more to a u16 (Rafael Barbalho) [vsyrjala: v5: Split the early quirks to another patch] Reviewed-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com> Tested-by: Rafael Barbalho <rafael.barbalho@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud