]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/skl: Register definitions and macros for SKL Watermark regs
authorPradeep Bhat <pradeep.bhat@intel.com>
Tue, 4 Nov 2014 17:06:39 +0000 (17:06 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:03 +0000 (18:42 +0100)
commitfae1267df8a14140544204c65258867d72f287bb
tree3f6ca1e3c8aca254f9953b534871b43cd3a57c73
parent2af30a5c40bff540f13106961662d000b1bc8cd7
drm/i915/skl: Register definitions and macros for SKL Watermark regs

This patch defines SKL specific PLANE_WM Watermark registers. It also
defines macros to get the addresses of different LP levels within a pipe.

v2: Reworked the register definitions and associated macros to make it more
    generic and be able to use for_each_pipe in values computation.
    Incorporated Damien's review comments and indentation.

v3: Added default values for lines and blocks. Provided mask for blocks.

v4: Prefix intermedidate (internal-only) macros with _ (Ville)

v5: Remove the lines and block defaults value (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v4)
Signed-off-by: Pradeep Bhat <pradeep.bhat@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h