mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-25 03:22:39 +00:00
drm/vc4: Make normalize_zpos conditional on using fkms
Eric's view was that there was no point in having zpos support on vc4 as all the planes had the same functionality. Can be later squashed into (and fixes): drm/vc4: Add firmware-kms mode Signed-off-by: Dom Cobley <popcornmix@gmail.com>
This commit is contained in:
@@ -923,7 +923,8 @@ int vc4_kms_load(struct drm_device *dev)
|
||||
dev->mode_config.preferred_depth = 24;
|
||||
dev->mode_config.async_page_flip = true;
|
||||
dev->mode_config.allow_fb_modifiers = true;
|
||||
dev->mode_config.normalize_zpos = true;
|
||||
if (vc4->firmware_kms)
|
||||
dev->mode_config.normalize_zpos = true;
|
||||
|
||||
ret = vc4_ctm_obj_init(vc4);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user