OSDN Git Service

drm/i915: Bump skl+ wm blocks to 11 bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 20:50:55 +0000 (22:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Feb 2019 13:13:05 +0000 (15:13 +0200)
commitc7e716b8617e5f468d6f8623532b9cc2cc7d3d0d
tree91c739ae5bc89ef874a583c13f9beb9dcd01ff93
parent26a11deea685b41a43edb513194718aa1f461c9a
drm/i915: Bump skl+ wm blocks to 11 bits

On icl the plane watermark blocks field is 11 bits. Bump our define to
match so that readout won't ignore the extra bit. We can safely do this
for older platforms too since the unused bits are hardwired to zero.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205205056.30081-1-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/i915_reg.h