diff options
author | Hans de Goede <[email protected]> | 2022-04-18 17:09:36 +0200 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2022-04-25 07:05:03 +0300 |
commit | ed911c9f9dcb26849fa688225f002ef2f2c50cf4 (patch) | |
tree | 7d4dbc031fdaad7f204c93d1a3a63c9842f010c2 /lib/mpi/mpi-sub-ui.c | |
parent | af2d861d4cd2a4da5137f795ee3509e6f944a25b (diff) |
drm/i915: Fix DISP_POS_Y and DISP_HEIGHT defines
Commit 428cb15d5b00 ("drm/i915: Clean up pre-skl primary plane registers")
introduced DISP_POS_Y and DISP_HEIGHT defines but accidentally set these
their masks to REG_GENMASK(31, 0) instead of REG_GENMASK(31, 16).
This breaks the primary display pane on at least pineview machines, fix
the mask to fix the primary display pane only showing black.
Tested on an Acer One AO532h with an Intel N450 SoC.
Fixes: 428cb15d5b00 ("drm/i915: Clean up pre-skl primary plane registers")
Cc: José Roberto de Souza <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: José Roberto de Souza <[email protected]>
(cherry picked from commit 681f8a5c6e372dbfd2a313ace417e7749543de1d)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions