InterviewLegend

Design a Frame Buffer Pipeline

Frequently asked
Alex Chen24 min readAdded 135 real interview reports

A Senior Engineer candidate on Qualcomm's Display team reported this in 2024, as a dedicated one-hour question inside a two-hour design round. In their example, the old frame is an "A" and the new one is a "V", and a screenshot taken mid-scan catches pieces of both. They offered three fixes, each with its own costs, and the talk went deep on how the writer and the reader stay in sync, much like the classic reader-writer problem.

The panel draws the screen one line at a time, top to bottom, from whatever bytes sit in memory at that instant. A CRT does this with an electron beam. A phone panel in video mode does the same thing with a stream of pixels. If the SoC overwrites the buffer while the panel is halfway down, the top half of the screen shows the old frame and the bottom half shows the new one. Display engineers call that seam a tear. Timing is what makes this hard. The panel is a hardware reader on a fixed clock, with no way to pause or retry, and it waits for nobody. Every choice below follows from that.

The Qualcomm angle
Snapdragon chips drive the screens of a large share of Android phones, and this prompt came from Qualcomm's Display team. Assume the person across the table knows vsync timing and register latching cold. Ask how the panel signals the end of a frame before you design anything.

QualcommPremium lesson · System design round

The Qualcomm design, worked end to end.

  1. Requirements and scopeSystem design · Frequently asked
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 6 deep divesWith the tradeoffs
Get the Qualcomm questions

$49 a year · all 107 companies · instant access

135 Qualcomm interview reports · guide updated

Qualcomm interview guide

Know what Qualcomm asks before you walk in.

29 coding · 4 system design · 15 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Qualcomm interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.