Skip to content

Commit

Permalink
drm/i915: allow high-bpc modes on DP
Browse files Browse the repository at this point in the history
Totally untested due to lack of screens supporting more than 8bpc. But
now we should have closed all holes in our bpp handling, so this
should be safe. The last missing piece was 10bpc support for g4x/vlv,
since we directly use the pipe bpp to feed the display link (and
anyway, only the cpt has any means to have a pipe bpp != the display
link bpp).

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed Apr 29, 2013
1 parent ff9ce46 commit 52541e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,

/* Walk through all bpp values. Luckily they're all nicely spaced with 2
* bpc in between. */
bpp = min_t(int, 8*3, pipe_config->pipe_bpp);
bpp = pipe_config->pipe_bpp;

/*
* eDP panels are really fickle, try to enfore the bpp the firmware
Expand Down

0 comments on commit 52541e3

Please sign in to comment.