]> Git Repo - linux.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915/skl: Assume no scaling is available when things are not as expected
authorTvrtko Ursulin <[email protected]>
Tue, 20 Oct 2015 16:17:07 +0000 (17:17 +0100)
committerDaniel Vetter <[email protected]>
Wed, 21 Oct 2015 06:45:15 +0000 (08:45 +0200)
commit54bf1ce633f6649b1f3682c25712b9e42acb174b
treef6d6af4d4c4cdac4651f5c119545aa8a8f3679a9
parentc73666f394fca498978f71e66062eb3e3f2c7951
drm/i915/skl: Assume no scaling is available when things are not as expected

Cdclk < crtc_clock is not allowed and suggests a different problem
elsewhere in the code.

It is more robust and safe to assume no scaling is possible in
this case with no other downsides since it will also WARN_ON_ONCE
so that this definitely gets noticed.

Call it an assert to help new platform bring-up in simulation.

v2: Better commit msg and use WARN_ON_ONCE to signify the unexpectedness.

v3: Move zero crtc_clock check under the warn. (Ville)

Signed-off-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c
This page took 0.052843 seconds and 4 git commands to generate.