mirror of https://gitee.com/openkylin/linux.git
drm/i915: DSPFW registers need an offset on VLV
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8f6d8ee9f6
commit
90f7da3fb5
|
@ -2749,7 +2749,7 @@
|
||||||
#define DSPARB_BEND_SHIFT 9 /* on 855 */
|
#define DSPARB_BEND_SHIFT 9 /* on 855 */
|
||||||
#define DSPARB_AEND_SHIFT 0
|
#define DSPARB_AEND_SHIFT 0
|
||||||
|
|
||||||
#define DSPFW1 0x70034
|
#define DSPFW1 (dev_priv->info->display_mmio_offset + 0x70034)
|
||||||
#define DSPFW_SR_SHIFT 23
|
#define DSPFW_SR_SHIFT 23
|
||||||
#define DSPFW_SR_MASK (0x1ff<<23)
|
#define DSPFW_SR_MASK (0x1ff<<23)
|
||||||
#define DSPFW_CURSORB_SHIFT 16
|
#define DSPFW_CURSORB_SHIFT 16
|
||||||
|
@ -2757,11 +2757,11 @@
|
||||||
#define DSPFW_PLANEB_SHIFT 8
|
#define DSPFW_PLANEB_SHIFT 8
|
||||||
#define DSPFW_PLANEB_MASK (0x7f<<8)
|
#define DSPFW_PLANEB_MASK (0x7f<<8)
|
||||||
#define DSPFW_PLANEA_MASK (0x7f)
|
#define DSPFW_PLANEA_MASK (0x7f)
|
||||||
#define DSPFW2 0x70038
|
#define DSPFW2 (dev_priv->info->display_mmio_offset + 0x70038)
|
||||||
#define DSPFW_CURSORA_MASK 0x00003f00
|
#define DSPFW_CURSORA_MASK 0x00003f00
|
||||||
#define DSPFW_CURSORA_SHIFT 8
|
#define DSPFW_CURSORA_SHIFT 8
|
||||||
#define DSPFW_PLANEC_MASK (0x7f)
|
#define DSPFW_PLANEC_MASK (0x7f)
|
||||||
#define DSPFW3 0x7003c
|
#define DSPFW3 (dev_priv->info->display_mmio_offset + 0x7003c)
|
||||||
#define DSPFW_HPLL_SR_EN (1<<31)
|
#define DSPFW_HPLL_SR_EN (1<<31)
|
||||||
#define DSPFW_CURSOR_SR_SHIFT 24
|
#define DSPFW_CURSOR_SR_SHIFT 24
|
||||||
#define PINEVIEW_SELF_REFRESH_EN (1<<30)
|
#define PINEVIEW_SELF_REFRESH_EN (1<<30)
|
||||||
|
|
Loading…
Reference in New Issue